2,175
edits
(Fix link) |
(Fix up) |
||
Line 66: | Line 66: | ||
== Usage == | == Usage == | ||
''' | '''{{coord|'''''latitude'''''|'''''longitude'''''|'''''[[#1|coordinate parameters]]'''''|'''''[[#2|template parameters]]'''''}}''' | ||
''' | '''{{coord|'''''dd'''''|'''''N/S'''''|'''''dd'''''|'''''E/W'''''|'''''[[#1|coordinate parameters]]'''''|'''''[[#2|template parameters]]'''''}}''' | ||
''' | '''{{coord|'''''dd'''''|'''''mm'''''|'''''N/S'''''|'''''dd'''''|'''''mm'''''|'''''E/W'''''|'''''[[#1|coordinate parameters]]'''''|'''''[[#2|template parameters]]'''''}}''' | ||
''' | '''{{coord|'''''dd'''''|'''''mm'''''|'''''ss'''''|'''''N/S'''''|'''''dd'''''|'''''mm'''''|'''''ss'''''|'''''E/W'''''|'''''[[#1|coordinate parameters]]'''''|'''''[[#2|template parameters]]'''''}}''' | ||
Line 79: | Line 79: | ||
:*'''display=''' can be one of the following: | :*'''display=''' can be one of the following: | ||
::*<code>display=text</code> – Display the text inline (default) | ::*<code>display=text</code> – Display the text inline (default) <!-- | ||
<!-- | |||
::*<code>display=inline</code> – Display the coordinate inline (default) | ::*<code>display=inline</code> – Display the coordinate inline (default) | ||
::*<code>display=title</code> – Display the coordinate near the article title (replaces {{tl|coor title dms}} family) | ::*<code>display=title</code> – Display the coordinate near the article title (replaces {{tl|coor title dms}} family) | ||
Line 94: | Line 93: | ||
:*'''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 [[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. | ::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. | ||
:*'''text=''' specifies text to be displayed in place of the coordinates. | :*'''text=''' specifies text to be displayed in place of the coordinates. | ||
edits