模板:Infobox coord
此模板被引用於許多頁面。 為了避免造成大規模的影響,所有對此模板的編輯應先於沙盒、測試樣例或您的沙盒上測試。 測試後無誤的版本可以一次性地加入此模板中,但是修改前請務必於討論頁發起討論。 模板引用數量會自動更新。 |
本模板含有複雜而精密的擴展語法。 編輯本模板前,建議您先熟悉解析器函數與本模板的設計思路、運作原理等。若您的編輯引發了意外的問題,請儘快撤銷編輯,因為本模板可能被大量頁面使用。 您所作的編輯可先在模板沙盒或您的個人頁面中進行測試。 |
信息框中應直接使用標準的|coordinates=
參數及{{coord}}模板,本模板僅為兼容|lat_d=
等格式的舊參數使用。
目前仍使用{{Infobox coord}}的模板:
- {{Infobox museum}}
- {{Infobox Tibetan Buddhist monastery}}
- {{Infobox monastery}}
- {{Infobox government agency}}
- {{Infobox mountain}}
- {{Infobox river}}
- {{Infobox port of entry}}
- {{Infobox Australian place}}
使用這些模板的條目中的坐標全部轉為標準的{{coord}}模板後,請刪除{{Infobox coord}}。
用途
Provides an easy way to load data into the Coord template when building Infoboxes that require direct data input for use in maps. The data the Coord template uses is loaded in that template without additional effort. The new template will behave as if Coord template where used directly. Because the Coord template is used all the functionality that template offers such as the creation of hCards are implemented.
用法
Field | Description |
---|---|
lat_d = |
Degrees of latitude (can be a decimal degree). |
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 a decimal degree). |
long_m = |
Minutes of longitude. |
long_s = |
Seconds of longitude. |
long_EW = |
E for east or W for west of the prime meridian. |
type = |
For information about type go here.
|
pop = |
For use with type:city and will produce city(pop)
|
region = |
For information about region go here.
|
scale = |
For information about scale go here.
|
source = |
For information about source go here.
|
globe = |
For information about globe go here.
|
display = |
inline or inline,title or title and variants.
|
format = |
dms for degree, minutes, second output, dec for decimal digit output.
|
name = |
For information about name go here.
|
Degrees must be specified. If degrees are not signed then NS or EW must also be specified. If type
is city
and pop
is the population then city(population)
is loaded in the Coord template.
For advice on creating new templates that include coordinate data see Creating new templates.
空白模板
{{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 = }}