Templat:Infobox coord
![]() |
Templat ini menggunakan ciri-ciri sintaks templat yang rumit.
Anda digalakkan untuk membiasakan diri dengan persediaan dan fungsi penghurai sebelum menyunting templat ini. Jika suntingan anda menyebabkan masalah yang tidak diduga, sila undurkannya dengan segera kerana templat ini mungkin digunakan di sebilangan besar halaman. Ingat bahawa anda boleh menjalankan uji kaji dan perlu menguji semua penambahbaikan, sama ada di kotak pasir umum atau laman pengguna anda sebelum melakukan sebarang perubahan. (lihat sejarah) |
This helper template provides a way to pass parameters to {{Coord}} when building Infoboxes that require access to coordinate for use in maps. Because {{Coord}} is transcluded, all the functionality of that template, including hCards, is provided.
Penggunaan[sunting sumber]
Field | Description |
---|---|
lat_d |
Degrees of latitude (can be in decimal degrees). |
lat_m |
Minutes of latitude. |
lat_s |
Seconds of latitude. |
lat_NS |
N for north or S for south of the equator. |
long_d |
Degrees of longitude (can be in decimal degrees). |
long_m |
Minutes of longitude. |
long_s |
Seconds of longitude. |
long_EW |
E for east or W for west of the prime meridian. |
type |
See Wikipedia:WikiProject Geographical coordinates/type:. |
pop |
Population, for use with type:city .
|
region |
See Wikipedia:WikiProject Geographical coordinates/region:. |
scale |
See Wikipedia:WikiProject Geographical coordinates/scale:. |
source |
See Wikipedia:WikiProject Geographical coordinates/source:. |
globe |
See Wikipedia:WikiProject Geographical coordinates/globe:. |
display |
inline,title , the default, or inline .
|
format |
dms for degree, minutes, second output, the default, or dec for decimal degree output.
|
name |
For information about name see Template:Coord/doc#Usage.
|
notes |
For information about notes see Template:Coord/doc#Usage.
|
Degrees must be specified. If degrees are not signed then NS and EW must also be specified.
For advice on creating new templates that include coordinate data see Creating new templates. See {{coord}} for allowable values.
Templat kosong[sunting sumber]
{{Infobox coord | lat_d = | lat_m = | lat_s = | lat_NS = | long_d = | long_m = | long_s = | long_EW = | type = | pop = | region = | scale = | source = | globe = | display = | format = | name = | notes = }}
Lihat juga[sunting sumber]
Pendokumenan di atas ditransklusikan daripada Templat:Infobox coord/doc. (sunting | sejarah) Para penyunting boleh membuat percubaan di laman kotak pasir (cipta | cermin) dan kes ujian (cipta) templat ini. Sila letakkan kategori di sublaman /doc. Sublaman templat ini. |