Template:Coord how-to: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
No edit summary |
meta>No1lakersfan m Reverted edits by 68.28.51.112 (talk) to last version by Stepheng3 |
||
Line 1: | Line 1: | ||
{| class="wikitable {{{class|}}}" style="background:#f5fffa; {{{style|}}}" |- ! style="background:#cef2e0;"| {{{{{navbar|tnavbar-header}}}|1= {{{title|Quick how to}}} |2=Coord_how-to}} |- | To add {{Coord|57|18|22.5|N|4|27|32.7|W}} to the top of an article, use :'''<code><nowiki>{{Coord|57|18|22.5|N|4|27|32.7|W|display=title}}</nowiki></code>''' These [[Geographic coordinate system|coordinates]] are in [[Degree (angle)|degrees]], [[Minute of arc|minutes]], and seconds of arc. |- | To add {{Coord|44.112|N|87.913|W}} to the top of an article, use either :'''<code><nowiki>{{Coord|44.112|N|87.913|W|display=title}}</nowiki></code>''' ''or'' :'''<code><nowiki>{{Coord|44.112|-87.913|display=title}}</nowiki></code>''' These coordinates are in [[Decimal fraction|decimal]] degrees. |- | * Degrees, minutes and seconds must be separated by [[Vertical bar|a pipe ("|")]]. * [[Geodetic system|Map datum]] should be WGS84. * Avoid [[Wikipedia:WikiProject Geographical coordinates#Precision|excessive precision]] (0.0001° is <11 m, 1′′ is <31 m). * Latitude (N/S) must appear before longitude (E/W). |- |Optional coordinate parameters follow the longitude and are separated by [[Underscore|an underscore ("_")]]:<br /> *[[Template:Coord#dim:D|dim]]: <code>dim:</code>'''''N''''' (viewing diameter in [[metre]]s) *[[Template:Coord#region:R|region]]: <code>region:</code>'''''R''''' ([[ISO 3166-1 alpha-2]] or [[ISO 3166-2]] code) *[[Template:Coord#type:T|type]]: <code>type:</code>'''''T''''' (<code>landmark</code> or <code>city(30,000)</code>, for example) Other optional parameters are separated by [[Vertical bar|a pipe ("|")]]:<br /> *[[Template:Coord#Display|display]] *: <code>display=inline</code> (the default) to display in the body of the article only, *: <code>display=title</code> to display in the title only, or *: <code>display=inline,title</code> to display in both places. *[[Template:Coord#Name|name]] *: <code>name=</code>'''''X''''' to label the place on maps (default is [[mw:Help:Magic words#Page names|PAGENAME]]) Thus: '''<code><nowiki>{{Coord|44.117|-87.913|dim:30_region:US-WI_type:event</nowiki></code>''' ::'''<code><nowiki>|display=inline,title|name=accident site}}</nowiki></code>''' |- | * For full detail, refer to {{tl|Coord/doc}}. * Additional guidance is available: [[Wikipedia:Obtaining geographic coordinates|obtaining coordinates]], [[Geographic coordinate conversion|converting coordinates]] |}<noinclude> [[Category:WikiProject Geographical coordinates]]</noinclude> | {| class="wikitable {{{class|}}}" style="background:#f5fffa; {{{style|}}}" | ||
|- | |||
! style="background:#cef2e0;"| {{{{{navbar|tnavbar-header}}}|1= {{{title|Quick how to}}} |2=Coord_how-to}} | |||
|- | |||
| To add {{Coord|57|18|22.5|N|4|27|32.7|W}} to the top of an article, use | |||
:'''<code><nowiki>{{Coord|57|18|22.5|N|4|27|32.7|W|display=title}}</nowiki></code>''' | |||
These [[Geographic coordinate system|coordinates]] are in [[Degree (angle)|degrees]], [[Minute of arc|minutes]], and seconds of arc. | |||
|- | |||
| To add {{Coord|44.112|N|87.913|W}} to the top of an article, use either | |||
:'''<code><nowiki>{{Coord|44.112|N|87.913|W|display=title}}</nowiki></code>''' | |||
''or'' | |||
:'''<code><nowiki>{{Coord|44.112|-87.913|display=title}}</nowiki></code>''' | |||
These coordinates are in [[Decimal fraction|decimal]] degrees. | |||
|- | |||
| | |||
* Degrees, minutes and seconds must be separated by [[Vertical bar|a pipe ("|")]]. | |||
* [[Geodetic system|Map datum]] should be WGS84. | |||
* Avoid [[Wikipedia:WikiProject Geographical coordinates#Precision|excessive precision]] (0.0001° is <11 m, 1′′ is <31 m). | |||
* Latitude (N/S) must appear before longitude (E/W). | |||
|- | |||
|Optional coordinate parameters follow the longitude and are separated by [[Underscore|an underscore ("_")]]:<br /> | |||
*[[Template:Coord#dim:D|dim]]: <code>dim:</code>'''''N''''' (viewing diameter in [[metre]]s) | |||
*[[Template:Coord#region:R|region]]: <code>region:</code>'''''R''''' ([[ISO 3166-1 alpha-2]] or [[ISO 3166-2]] code) | |||
*[[Template:Coord#type:T|type]]: <code>type:</code>'''''T''''' (<code>landmark</code> or <code>city(30,000)</code>, for example) | |||
Other optional parameters are separated by [[Vertical bar|a pipe ("|")]]:<br /> | |||
*[[Template:Coord#Display|display]] | |||
*: <code>display=inline</code> (the default) to display in the body of the article only, | |||
*: <code>display=title</code> to display in the title only, or | |||
*: <code>display=inline,title</code> to display in both places. | |||
*[[Template:Coord#Name|name]] | |||
*: <code>name=</code>'''''X''''' to label the place on maps (default is [[mw:Help:Magic words#Page names|PAGENAME]]) | |||
Thus: '''<code><nowiki>{{Coord|44.117|-87.913|dim:30_region:US-WI_type:event</nowiki></code>''' | |||
::'''<code><nowiki>|display=inline,title|name=accident site}}</nowiki></code>''' | |||
|- | |||
| | |||
* For full detail, refer to {{tl|Coord/doc}}. | |||
* Additional guidance is available: [[Wikipedia:Obtaining geographic coordinates|obtaining coordinates]], [[Geographic coordinate conversion|converting coordinates]] | |||
|}<noinclude> | |||
[[Category:WikiProject Geographical coordinates]]</noinclude> |
Revision as of 05:41, 13 February 2011
Template:Tnavbar-header |
---|
To add Lua error: callParserFunction: function "#coordinates" was not found. to the top of an article, use
These coordinates are in degrees, minutes, and seconds of arc. |
To add Lua error: callParserFunction: function "#coordinates" was not found. to the top of an article, use either
or
These coordinates are in decimal degrees. |
|
Optional coordinate parameters follow the longitude and are separated by an underscore ("_"):
Other optional parameters are separated by a pipe ("|"):
Thus:
|
|