Template:Coord/doc: Difference between revisions

Fix amp
(Adjust comment)
(Fix amp)
Line 89: Line 89:
::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.
:The following are only used when <code>format=text</code> and for overriding the defaults. They allow specifying the text to be displayed in place of just the coordinates. Spaces at the beginning or end of the string requires a <nowiki>&nbsp;</nowiki>:  
:The following are only used when <code>format=text</code> and for overriding the defaults. They allow specifying the text to be displayed in place of just the coordinates. Spaces at the beginning or end of the string requires a '&amp;nbsp;' instead of a plain space.:  
:*'''pre-link-text=''' The default is no text.  
:*'''pre-link-text=''' The default is no text.  
:*'''link-text=''' The default is 'Click here'  
:*'''link-text=''' The default is 'Click here'  
:*'''post-link-text=''' The default is '<nowiki>&nbsp;</nowiki>to view information about this location'.
:*'''post-link-text=''' The default is '&amp;nbsp;to view information about this location'.


== Examples  ==
== Examples  ==
2,175

edits