Zoophilia Wiki:WikiProject Geographical coordinates/region:: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Stepheng3 samples at end, in tabular format |
meta>Stepheng3 clarification and cleanup |
||
Line 1: | Line 1: | ||
Sets the preferred map region of coverage, used in selecting appropriate map resources for the area. If no region parameter is supplied, | Sets the preferred map region of coverage, used in selecting appropriate map resources for the area. If no region parameter is supplied, [[tswiki:Geohack|Geohack]] attempts to determine it from the coordinates. | ||
The region should be supplied as either a two character [[ISO 3166-1 alpha-2]] country code | The region should be supplied as either a two character [[ISO 3166-1 alpha-2]] country code or an [[ISO 3166-2]] region code. For example: | ||
<table><tr><td> | <table><tr><td> | ||
* '''AQ''' [[Antarctica]] | * '''AQ''' [[Antarctica]] | ||
Line 22: | Line 22: | ||
</td></tr></table> | </td></tr></table> | ||
In addition, two user-assigned code elements can used with {{tl|coord}}: | |||
*<code>XZ</code> for objects in/above international waters (similar to [[UN/LOCODE]]) | *<code>XZ</code> for objects in/above international waters (similar to [[UN/LOCODE]]) | ||
*<code>ZZ</code> for use in samples | *<code>ZZ</code> for use in samples | ||
Line 34: | Line 34: | ||
|- | |- | ||
| Switzerland | | Switzerland | ||
| CH | | <code>CH</code> | ||
| <nowiki>{{coord|46.9524|N|7.4396|E|region:CH}}</nowiki> | | <nowiki>{{coord|46.9524|N|7.4396|E|region:CH}}</nowiki> | ||
| {{coord|46.9524|N|7.4396|E|region:CH}} | | {{coord|46.9524|N|7.4396|E|region:CH}} | ||
|- | |- | ||
| Berlin, Germany | | Berlin, Germany | ||
| | | <code>DE-BE</code> | ||
| <nowiki>{{coord|52.5164|N|13.3775|E|region:DE-BE}}</nowiki> | | <nowiki>{{coord|52.5164|N|13.3775|E|region:DE-BE}}</nowiki> | ||
| {{coord|52.5164|N|13.3775|E|region:DE-BE}} | | {{coord|52.5164|N|13.3775|E|region:DE-BE}} |
Revision as of 17:30, 15 October 2009
Sets the preferred map region of coverage, used in selecting appropriate map resources for the area. If no region parameter is supplied, Geohack attempts to determine it from the coordinates.
The region should be supplied as either a two character ISO 3166-1 alpha-2 country code or an ISO 3166-2 region code. For example:
|
|
In addition, two user-assigned code elements can used with {{coord}}:
XZ
for objects in/above international waters (similar to UN/LOCODE)ZZ
for use in samples
Focus region | R | Markup | Result |
---|---|---|---|
Switzerland | CH
|
{{coord|46.9524|N|7.4396|E|region:CH}} | Lua error: callParserFunction: function "#coordinates" was not found. |
Berlin, Germany | DE-BE
|
{{coord|52.5164|N|13.3775|E|region:DE-BE}} | Lua error: callParserFunction: function "#coordinates" was not found. |