跳转到内容

模組:Location map/info/doc

维基百科,自由的百科全书

这是Module:Location map/info/doc当前版本,由Koala0090留言 | 贡献编辑于2014年10月15日 (三) 18:24 建立内容为“<!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> This module displays values for the map data modules such as Mod...”的新页面)。这个网址是本页该版本的固定链接。

(差异) ←上一修订 | 最后版本 (差异) | 下一修订→ (差异)

这是Module:Location map/info的文档页面


This module displays values for the map data modules such as Module:Location map/data/Belgium. These templates are used by Module:Location map to obtain values such as the file name and the border coordinates of each location map.

Usage

[编辑]

This module is automatically used as documentation for map data modules and should not normally be called manually.

The name parameter

[编辑]

The {{Location map}} family of templates uses the value assigned to name to generate alt text. It is used to construct the sentence "label is located in name". Assign a value to <name> that fits in the sentence. For example:

Chicago is located in the United States. So |name=the United states.
Santo Domingo is located in the Dominican Republic. So |name=the Dominican Republic.