Zoophilia Wiki:WikiProject Geographical coordinates/region:

From Zoophilia Wiki
Revision as of 17:30, 15 October 2009 by meta>Stepheng3 (clarification and cleanup)
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, 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
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.