18,519
edits
m (Robot: Automated text replacement (-\[\[(Google Earth)\]\] +\1)) |
m (Robot: Automated text replacement (-\[\[(Template:Coord/doc/internals)\]\] +\1)) |
||
(8 intermediate revisions by the same user not shown) | |||
Line 63: | Line 63: | ||
::* <code>format=dms</code> reformats the coordinates to <span style="text-decoration:underline;">degrees | minutes | seconds</span> format. | ::* <code>format=dms</code> reformats the coordinates to <span style="text-decoration:underline;">degrees | minutes | seconds</span> format. | ||
:* '''name=''' can be used to annotate inline coordinates for display in map services such as the [[:meta:WikiMiniAtlas|WikiMiniAtlas]]. If omitted, the article title (PAGENAME) is assumed. | :* '''name=''' can be used to annotate inline coordinates for display in map services such as the [[:meta:WikiMiniAtlas|WikiMiniAtlas]]. If omitted, the article title (PAGENAME) is assumed. | ||
::Note: a ''name='' parameter causes {{tl|Coord}} to emit an | ::Note: a ''name='' parameter causes {{tl|Coord}} to emit an hCard microformat using that name, ''even if used within an existing hCard''. Do not use when the name is that of a person (e.g for a gravesite), as the generated hCard would be invalid. Also, do not use square brackets in names. | ||
:* '''notes=''' specifies text to be displayed immediately following the coordinates. This is primarily intended for adding footnotes to title coordinates. | :* '''notes=''' specifies text to be displayed immediately following the coordinates. This is primarily intended for adding footnotes to title coordinates. | ||
Line 175: | Line 175: | ||
== Internals == | == Internals == | ||
See | See Template:Coord/doc/internals and [[:Category:Coord template]]. | ||
=== Subtemplates === | === Subtemplates === | ||
Line 182: | Line 182: | ||
=== Coordinates in PDF === | === Coordinates in PDF === | ||
For generating PDF, printed books, and Open Office export format, two templates are [[Help:Books/for_experts#Improving_the_book_layout|substituted for the regular templates]]: | For generating PDF, printed books, and Open Office export format, two templates are [[Help:Books/for_experts#Improving_the_book_layout|substituted for the regular templates]]: | ||
* | *Template:Coord/display/title/Print for {{tl|Coord/display/title}} | ||
* | *Template:Coord/link/Print for {{tl|Coord/link}} | ||
* | *Template:Coord/display/inline,title/Print for {{tl|Coord/display/inline,title}} | ||
Samples are available at: | Samples are available at: | ||
* | *Help:Books/Feedback/Tests/coord 1 | ||
* | *Help:Books/Feedback/Tests/coord 2 | ||
=== Class names === | === Class names === | ||
Line 218: | Line 218: | ||
</includeonly> | </includeonly> | ||
Category:Coord template |