Jump to content

Template:Coord/link: Difference between revisions

From IdeaWazaWiki
wikademia>Quarl
make geo tag human-readable in non-css browsers
wikademia>Wikademia
m 46 revisions
 
(35 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<span class="plainlinksneverexpand">[{{Coor URL}}{{{param}}} <span title="Maps, aerial photos, and other data for {{{lat}}} {{{long}}}"><!--
<span class="plainlinksneverexpand">[{{Coor URL}}{{{param}}}{{#if:{{{name|}}}|&title={{urlencode:{{{name}}}}}}} <span class="{{#ifeq:{{{default|}}}|dec|geo-nondefault|geo-default}}"><span class="geo-dms" title="Maps, aerial photos, and other data for this location"><span class="latitude">{{{dms-lat}}}</span> <span class="longitude">{{{dms-long}}}</span></span></span><span class="geo-multi-punct"> / </span><span class="{{#ifeq:{{{default|}}}|dec|geo-default|geo-nondefault}}">{{#if:{{{name|}}}|<span class="vcard">|}}<span class="geo-dec" title="Maps, aerial photos, and other data for this location">{{{dec-lat-display|{{#ifexpr:{{{dec-lat}}}<0|{{Coord/negzeropad|{{{dec-lat}}}|{{#expr:abs{{{dec-lat}}}}}}}°S|{{{dec-lat}}}°N}}}}} {{{dec-long-display|{{#ifexpr:{{{dec-long}}}<0|{{Coord/negzeropad|{{{dec-long}}}|{{#expr:abs{{{dec-long}}}}}}}°W|{{{dec-long}}}°E}}}}}</span><span style="display:none"> / <span class="geo">{{{dec-lat}}}; {{{dec-long}}}</span></span>{{#if:{{{name|}}}|<span style="display:none"> (<span class="fn org">{{{name|}}}</span>)</span></span>|}}</span>]</span><noinclude>{{pp-template|small=yes}}{{documentation}}[[Category:Coord template]]</noinclude>
--><span style="white-space:nowrap">{{{lat}}}</span> <!--
--><span style="white-space:nowrap">{{{long}}}</span><!-- http://microformats.org/wiki/geo
--><span class="geo" style="display:none">(<span class="latitude">{{{geolat}}}</span>, <!--
  --><span class="longitude">{{{geolong}}}</span>)</span><!--
--></span>]</span><noinclude>
<!-- {{protected template}} -->
{{template doc}}
<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>

Latest revision as of 05:40, 19 March 2009