Zoophilia Wiki:WikiProject Geographical coordinates/region:

From Zoophilia Wiki
Revision as of 10:37, 15 October 2009 by meta>Stepheng3 (samples at end, in tabular format)
Jump to navigationJump to search

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:

Special region codes not in ISO 3166-1:

  • XZ for objects in/above international waters (similar to UN/LOCODE)
  • ZZ for use in samples
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 GE-BE {{coord|52.5164|N|13.3775|E|region:DE-BE}} Lua error: callParserFunction: function "#coordinates" was not found.