Module:Location map/data/Asia
This module is rated as ready for general use. It has reached a mature form and is thought to be relatively bug-free and ready for use wherever appropriate. It is ready to mention on help pages and other Wikipedia resources as an option for new users to learn. To reduce server load and bad output, it should be improved by sandbox testing rather than repeated trial-and-error editing. |
name | ທະວີບອາຊີ | ||
---|---|---|---|
x | (52.8948)*(cos($1*0.01745329252)*sin(($2-95.0)*0.01745329252))*(((1+sin($1*0.01745329252)*sin(50.0*0.01745329252)+cos($1*0.01745329252)*cos(50.0*0.01745329252)*cos(($2-95.0)*0.01745329252))*0.5)^-0.5)-(-50.0) | ||
y | (100+(-59.381))-(59.381)*(cos(50.0*0.01745329252)*sin($1*0.01745329252)-sin(50.0*0.01745329252)*cos($1*0.01745329252)*cos(($2-95.0)*0.01745329252))*(((1+sin($1*0.01745329252)*sin(50.0*0.01745329252)+cos($1*0.01745329252)*cos(50.0*0.01745329252)*cos(($2-95.0)*0.01745329252))*0.5)^-0.5) | ||
image | Asia laea location map.svg
| ||
image1 | Asia laea relief location map.jpg
| ||
Module:Location map/data/Asia ແມ່ນໂມດູລນິຍາມແຜນທີ່ແມ່ແບບ equirectangular projection ຂອງທະວີບອາຊີ ເພື່ອໃຊ້ກຳນົດຕຳແໜ່ງໃນແຜນທີ່ຄ່າເລີ່ມຕົ້ນ ຫຼື ແຜນທີ່ໃກ້ຄຽງດ້ວຍສັນຍະລັກ ຫຼື ຂໍ້ຄວາມໂດຍໃຊ້ຄ່າພິກັດເສັ້ນຂະໜານ ແລະ ເສັ້ນແວງ
ການໃຊ້ງານ
ເມື່ອກຳນົດຄ່າພາລາມິເຕີ "Asia" ລົງໃນແມ່ແບບຕ່າງໆ ດ້ານລຸ່ມ ຈະໃຊ້ຄ່ານິຍາມຈາກໂມດູລນີ້
- {{Location map | Asia | ...}}
- {{Location map many | Asia | ...}}
- {{Location map+ | Asia | ...}}
- {{Location map~ | Asia | ...}}
ຄ່ານິຍາມ
name = ທະວີບອາຊີ
- ຊື່ທີ່ໃຊ້ໃນຄຳອະທິບາຍແຜນທີ່ຄ່າເລີ່ມຕົ້ນ (default map)
image = Asia laea location map.svg
- ຮູບພາບແຜນທີ່ຄ່າເລີ່ມຕົ້ນ ບໍ່ຕ້ອງໃສ່ "Image:" ຫຼື "File:" (ຫຼື "ຮູບ:" ຫຼື "ໄຟລ໌:")
image1 = Asia laea relief location map.jpg
- ຮູບພາບແຜນທີ່ທາງເລືອກ (alternative map) ມັກຈະເປັນແຜນທີ່ພູມສັນຖານ (relief map) ເຊິ່ງກຳນົດໃຫ້ສະແດງໄດ້ໂດຍໃຊ້ພາລາມິເຕີ relief ຫຼື AlternativeMap
x = (52.8948)*(cos($1*0.01745329252)*sin(($2-95.0)*0.01745329252))*(((1+sin($1*0.01745329252)*sin(50.0*0.01745329252)+cos($1*0.01745329252)*cos(50.0*0.01745329252)*cos(($2-95.0)*0.01745329252))*0.5)^-0.5)-(-50.0)
- An expression to calculate a location on the map via its longitude; evaluates as 0 along the left edge and 100 along the right edge
y = (100+(-59.381))-(59.381)*(cos(50.0*0.01745329252)*sin($1*0.01745329252)-sin(50.0*0.01745329252)*cos($1*0.01745329252)*cos(($2-95.0)*0.01745329252))*(((1+sin($1*0.01745329252)*sin(50.0*0.01745329252)+cos($1*0.01745329252)*cos(50.0*0.01745329252)*cos(($2-95.0)*0.01745329252))*0.5)^-0.5)
- An expression to calculate a location on the map via its latitude; evaluates as 0 along the top edge and 100 along the bottom edge
ແຜນທີ່ທາງເລືອກ (Alternative map)
The {{Location map}}, {{Location map many}}, and {{Location map+}} templates have parameters to specify an alternative map image. The map displayed as image1 can be used with the relief or AlternativeMap parameters. Examples may be found below or in the following:
- Template:Location map#Relief parameter
- Template:Location map+/relief
- Template:Location map#AlternativeMap parameter
- Template:Location map+/AlternativeMap
ເບິ່ງເພີ່ມເຕີມ
ການໃຊ້ງານ
{{#invoke:Location map/data
- ແມ່ແບບຕຳແໜ່ງໃນແຜນທີ່
- ແມ່ແບບ:Location map ສະແດງສັນຍະລັກ ແລະ ຂໍ້ຄວາມໄດ້ແຜນທີ່ໄດ້ 1 ຕຳແໜ່ງໂດຍໃຊ້ຄ່າເສັ້ນຂະໜານ ແລະ ເສັ້ນແວງ
- ແມ່ແບບ:Location map many ສະແດງສັນຍະລັກ ແລະ ຂໍ້ຄວາມໃນແຜນທີ່ໄດ້ສູງສຸດ 9 ຕຳແໜ່ງ
- แม่แบบ:Location map+ ສະແດງສັນຍະລັກ ແລະ ຂໍ້ຄວາມໃນແຜນທີ່ໄດ້ບໍ່ຈຳກັດຈຳນວນ
- ການສ້າງຄ່ານິຍາມແຜນທີ່ໃໝ່
- ແມ່ແບບ:Location map/Creating a new map definition
- ແມ່ແບບ:Location map/doc/Converting map definition templates to modules
- ແມ່ແບບກ່ອງຂໍ້ມູນ (Infobox template) ທີ່ແມ່ແບບຕຳແໜ່ງໃນແຜນທີ່
ແມ່ແບບ:Location map/doc/See also infobox templates
return {
name = 'ທະວີບອາຊີ',
x = '(52.8948)*(cos($1*0.01745329252)*sin(($2-95.0)*0.01745329252))*(((1+sin($1*0.01745329252)*sin(50.0*0.01745329252)+cos($1*0.01745329252)*cos(50.0*0.01745329252)*cos(($2-95.0)*0.01745329252))*0.5)^-0.5)-(-50.0)',
y = '(100+(-59.381))-(59.381)*(cos(50.0*0.01745329252)*sin($1*0.01745329252)-sin(50.0*0.01745329252)*cos($1*0.01745329252)*cos(($2-95.0)*0.01745329252))*(((1+sin($1*0.01745329252)*sin(50.0*0.01745329252)+cos($1*0.01745329252)*cos(50.0*0.01745329252)*cos(($2-95.0)*0.01745329252))*0.5)^-0.5)',
image = 'Asia laea location map.svg',
image1 = 'Asia laea relief location map.jpg'
}