Difference between revisions of "Template:Coord how-to"
Line 1: | Line 1: | ||
{| class="wikitable {{{class|}}}" style="background:#f5fffa; {{{style|}}}" | {| class="wikitable {{{class|}}}" style="background:#f5fffa; {{{style|}}}" | ||
|- | |- | ||
! style="background:#cef2e0;"| {{{{{navbar|navbar-header}}}|1= {{{title|Quick how to}}} |2=Coord_how-to}} | ! style="background:#cef2e0;"| {{{{{navbar|navbar-header}}}|1= {{{title|Quick how-to}}} |2=Coord_how-to}} | ||
|- | |- | ||
| To add {{Coord|57|18|22|N|4|27|32|W}} to the top of an article, use {{Tl|Coord}}, thus: | | To add {{Coord|57|18|22|N|4|27|32|W}} to the top of an article, use {{Tl|Coord}}, thus: |
Latest revision as of 22:49, 31 March 2018
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:
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
(which does not require minutes or seconds but does require the user to specify north/ south and east/west) or
(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. |
|
Other optional parameters are separated by a pipe ("|"):
Thus:
Use
|
{{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}