Difference between revisions of "Template:Coord/link/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Dispenser
m (Use <nowiki /> instead of   for those who have always underline link set)
imported>WOSlinker
(remove {{pp-template}})
Line 2: Line 2:
 
<!-- BE CAREFUL WITH COPY PASTING
 
<!-- BE CAREFUL WITH COPY PASTING
 
HTMLTidy moves our whitespace around. We use &#xfeff; (unicode zero width no break space/BOM) to force a space char at the end or beginning of a span to stay where it is, and this character gets lost in copypasting. This is a deprecated unicode character for these purposes, but it is the only method that works consistently around all browsers (opposed to #x2060 and #x200b).
 
HTMLTidy moves our whitespace around. We use &#xfeff; (unicode zero width no break space/BOM) to force a space char at the end or beginning of a span to stay where it is, and this character gets lost in copypasting. This is a deprecated unicode character for these purposes, but it is the only method that works consistently around all browsers (opposed to #x2060 and #x200b).
-->{{pp-template|small=yes}}{{documentation}}[[Category:Coord template]]</noinclude>
+
-->{{documentation}}[[Category:Coord template]]</noinclude>

Revision as of 18:00, 1 October 2010

{{{dms-lat}}} {{{dms-long}}} / Expression error: Unrecognized punctuation character "{". Expression error: Unrecognized punctuation character "{". / {{{dec-lat}}}; {{{dec-long}}}

Template documentation[view] [edit] [history] [purge]

This template, {{Coord/link}}, is used by {{Coord}}.

Examples

{{coord|10|N|30|W}}Lua error: callParserFunction: function "#coordinates" was not found.
{{coord|10|11|N|30|31|W}}Lua error: callParserFunction: function "#coordinates" was not found.
{{coord|10|11|12|N|30|31|32|W}}Lua error: callParserFunction: function "#coordinates" was not found.

Notes on classes

Note: the span classes "geo-default", "geo-dec", and "geo-dms" are defined at http://en.wikipedia.org/wiki/MediaWiki:Common.css.

In addition, "geo" and the nested "latitude" and "longitude" have special meaning as a Geo microformat and so might also be used by other templates; see also http://microformats.org/wiki/geo.

Display

Template:UF-coord-classes