Zoophilia Wiki:WikiProject Geographical coordinates/region:: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Docu
meta>Docu
rearr, +cat
Line 1: Line 1:
Sets the preferred map region of coverage, used in selecting appropriate map resources for the area. The region should be supplied as either a two character [[ISO 3166-1 alpha-2]] country code, or an [[ISO 3166-2]] region code. E.g:
Sets the preferred map region of coverage, used in selecting appropriate map resources for the area. If no region parameter is supplied, the geohack extension 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. E.g:
<table><tr><td>
<table><tr><td>
* '''US''' [[United States]]
* '''US''' [[United States]]
Line 20: Line 22:
* <nowiki>{{coord|46.9524|N|7.4396|E|region:CH}}</nowiki> focuses the section for Switzerland at {{coord|46.9524|N|7.4396|E|region:CH}}.
* <nowiki>{{coord|46.9524|N|7.4396|E|region:CH}}</nowiki> focuses the section for Switzerland at {{coord|46.9524|N|7.4396|E|region:CH}}.
* <nowiki>{{coord|52.5164|N|13.3775|E|region:DE-BB}}</nowiki> focuses the section for Germany at {{coord|52.5164|N|13.3775|E|region:DE-BB}}.
* <nowiki>{{coord|52.5164|N|13.3775|E|region:DE-BB}}</nowiki> focuses the section for Germany at {{coord|52.5164|N|13.3775|E|region:DE-BB}}.
Specific code:
Specific code:
*XZ is used for objects in/above international waters (similar to [[UN/LOCODE]]).
*XZ is used for objects in/above international waters (similar to [[UN/LOCODE]]).
 
*ZZ is used in samples
If no region parameter is supplied, the geohack extension attempts to determine it from the coordinates.
[[Category:WikiProject Geographical coordinates]]

Revision as of 09:00, 20 September 2008

Sets the preferred map region of coverage, used in selecting appropriate map resources for the area. If no region parameter is supplied, the geohack extension 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. E.g:

Samples:

  • {{coord|46.9524|N|7.4396|E|region:CH}} focuses the section for Switzerland at Lua error: callParserFunction: function "#coordinates" was not found..
  • {{coord|52.5164|N|13.3775|E|region:DE-BB}} focuses the section for Germany at Lua error: callParserFunction: function "#coordinates" was not found..

Specific code:

  • XZ is used for objects in/above international waters (similar to UN/LOCODE).
  • ZZ is used in samples