Difference between revisions of "Template:Coord/link"

From blackwiki
Jump to navigation Jump to search
imported>Mr. Stradivarius
m (Removed protection from "Template:Coord/link": only 15 transclusions)
imported>Stranger195
(Moving categorization into Category:Coord template into the /doc subpage)
 
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).
-->{{documentation}}[[Category:Coord template]] </noinclude>
+
-->{{Documentation}}</noinclude>

Latest revision as of 09:22, 15 March 2018

{{{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