Template:Coord how-to

From Encyclopedia Westarctica
Revision as of 22:49, 31 March 2018 by Baron of Bastanchury (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Quick how-to{{#invoke:Navbar|navbar}}
coord}}{{#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Coord with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9| display | format | name | nosave | notes }} to the top of an article, use {{Coord}}, thus:
{{Coord|57|18|22|N|4|27|32|W|display=title}}

These coordinates are in degrees, minutes, and seconds of arc.

"title" means that the coordinates will be displayed next to the article's title at the top of the page and before any other text or images.

coord}}{{#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Coord with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9| display | format | name | nosave | notes }} to the top of an article, use either
{{Coord|44.112|N|87.913|W|display=title}}

(which does not require minutes or seconds but does require the user to specify north/ south and east/west) or

{{Coord|44.112|-87.913|display=title}}

(in which the north and east are presumed by positive values while the south and west are negative ones) These coordinates are in decimal degrees.

  • Degrees, minutes and seconds, when used, must each be separated by a pipe ("|").
  • Latitude (N/S) must appear before longitude (E/W).

Other optional parameters are separated by a pipe ("|"):

  • display
    |display=inline (the default) to display in the body of the article only,
    |display=title to display at the top of the article only, or
    |display=inline,title to display in both places.
  • name
    name=X to label the place on maps (default is PAGENAME)

Thus: {{Coord|44.117|-87.913|dim:30_region:US-WI_type:event

|display=inline,title|name=accident site}}

Use |display=title (or |display=inline,title) once per article, for the subject of the article, where appropriate.


{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}