Editing
UBWiki:WikiProject Geographical coordinates/region:
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
The <code>region:</code> parameter specifies the political region for terrestrial coordinates. It is used to select appropriate map resources. If no <code>region:</code> parameter is provided, [[tswiki:GeoHack|GeoHack]] attempts to determine the region 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. Examples of [[ISO 3166-1 alpha-2]] codes: {{columns-list| * '''AQ''' Antarctica * '''AU''' Australia * '''BR''' Brazil * '''DE''' Germany * '''GB''' United Kingdom * '''HK''' Hong Kong * '''IN''' India * '''LK''' Sri Lanka * '''RU''' Russia * '''US''' United States}} Examples of [[ISO 3166-2]] region codes: {{columns-list| * '''DE-TH''' Thuringia, Germany * '''GB-BIR''' Birmingham, England * '''NO-03''' Oslo, Norway * '''US-NY''' New York state, US}} The oceans have the following Wiki assigned code elements per [[:de:Vorlage:Coordinate#Ozeane]]. * '''XN''' Arctic Ocean * '''XA''' Atlantic Ocean * '''XI''' Indian Ocean * '''XP''' Pacific Ocean * '''XS''' Southern Ocean In addition, two Wiki assigned code elements can be used with {{tl|coord}}: * '''XZ''' for objects in or above international waters (similar to [[UN/LOCODE]]). * '''ZZ''' for use in examples. {| class="wikitable" cellpadding="20" |+ Samples ! Focus region ! Region ! Markup ! Result |- | Switzerland | <code>CH</code> | <code><nowiki>{{coord|46.9524|N|7.4396|E|region:CH}}</nowiki></code> | {{coord|46.9524|N|7.4396|E|region:CH}} |- | Berlin, Germany | <code>DE-BE</code> | <code><nowiki>{{coord|52.5164|N|13.3775|E|region:DE-BE}}</nowiki></code> | {{coord|52.5164|N|13.3775|E|region:DE-BE}} |} [[Category:WikiProject Geographical coordinates]]
Summary:
Please note that all contributions to UBWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
UBWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:Columns-list
(
edit
)
Template:Coord
(
edit
)
Template:Div col
(
edit
)
Template:Div col/styles.css
(
edit
)
Template:Main other
(
edit
)
Template:Template link
(
edit
)
Template:Tl
(
edit
)
Module:Arguments
(
edit
)
Module:Check for unknown parameters
(
edit
)
Module:Coordinates
(
edit
)
Module:Coordinates/styles.css
(
edit
)
Module:Math
(
edit
)
Module:Template wrapper
(
edit
)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Project page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information