Template:Location/attribute documentation: Difference between revisions
Template page
More actions
m fix |
No edit summary |
||
| Line 2: | Line 2: | ||
|en= | |en= | ||
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: | 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# | *<code>'''region:'''XX-YYY</code> specifies the political region, used to select appropriate map resources. See [[:en:Wikipedia:WikiProject_Geographical_coordinates#Parameters|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 | ||
:*<code>YYY</code> is a 1-, 2- or 3- characters [[:en:ISO 3166-2|ISO 3166-2]] (see [[:en:ISO 3166-2#Format]] for details) province/region/state code abbreviation (typically the same as a local postal code abbreviation). | :*<code>YYY</code> is a 1-, 2- or 3- characters [[:en:ISO 3166-2|ISO 3166-2]] (see [[:en:ISO 3166-2#Format]] for details) province/region/state code abbreviation (typically the same as a local postal code abbreviation). | ||