Template:Location/attribute documentation: Difference between revisions
Template page
More actions
No edit summary |
small adjustment, since "heading" is now supported by {{Location}} |
||
| Line 1: | Line 1: | ||
Information attributes - used to pass to [[tswiki:GeoHack|GeoHack]] server metadata about the coordinates. | Information attributes - used to pass to [[tswiki:GeoHack|GeoHack]] server metadata about the coordinates. Apart from <code>'''heading'''</code>, this information is not used by {{tl|{{PAGENAME}}}} template. Attributes have to be in the format <code>field1:value1_field2:value2_field3:value3</code>, etc. The following fields are supported: | ||
*<code>'''region:'''XX-YYY</code> specifies the political region, used to select appropriate map resources. See [[:en:Wikipedia:WikiProject_Geographical_coordinates#region:R|here]] for more info. | *<code>'''region:'''XX-YYY</code> specifies the political region, used to select appropriate map resources. See [[:en:Wikipedia:WikiProject_Geographical_coordinates#region:R|here]] for more info. | ||
:*<code>XX</code> is an [[:en:ISO 3166-1|ISO 3166-1]] alpha 2 country code abbreviation, and | :*<code>XX</code> is an [[:en:ISO 3166-1|ISO 3166-1]] alpha 2 country code abbreviation, and | ||