Template:Geo coord
From CruisersWiki
(Difference between revisions)
m |
|||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><span class="plainlinks nourlexpansion noexternal" title="Chartlet"><!-- | --><span class="plainlinks nourlexpansion noexternal" title="Chartlet"><!-- | ||
- | -->[{{chartlet uri | + | -->[{{chartlet uri |
| lat= {{?|test={{{maplat|}}}|{{{maplat}}}|{{{lat}}}}} | | lat= {{?|test={{{maplat|}}}|{{{maplat}}}|{{{lat}}}}} | ||
| lon= {{?|test={{{maplon|}}}|{{{maplon}}}|{{{lon}}}}} | | lon= {{?|test={{{maplon|}}}|{{{maplon}}}|{{{lon}}}}} | ||
| zoom= {{{zoom|}}} | | zoom= {{{zoom|}}} | ||
- | }} <span class="cw-coordinates"> | + | }} <span class="cw-coordinates">{{#widget:Deg2Dmh|lat={{{lat}}}|lon={{{lon}}}}}</span>]<!-- |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
microformat | microformat | ||
Line 15: | Line 11: | ||
--><span class="p-geo h-geo" style="display:none"><!-- | --><span class="p-geo h-geo" style="display:none"><!-- | ||
--><!-- <span class="p-name">{{{name|}}}</span> | --><!-- <span class="p-name">{{{name|}}}</span> | ||
- | --><span class="p-latitude">{{?|test={{{lat|}}}|{{{lat}}}|{{#widget:Dmh2Deg|d={{{1}}}|m={{{2}}}|h={{{3}}}}}}}</span>;<!-- | + | --><span class="p-latitude">{{?|test={{{lat|}}}|{{{lat}}}|{{#widget:Dmh2Deg|d={{{1}}}|m={{{2}}}|h={{{3}}}}}}}</span>;<!-- TODO !!! |
- | --><span class="p-longitude">{{?|test={{{lon|}}}|{{{lon}}}|{{#widget:Dmh2Deg|d={{{4}}}|m={{{5}}}|h={{{6}}}}}}}</span><!-- | + | --><span class="p-longitude">{{?|test={{{lon|}}}|{{{lon}}}|{{#widget:Dmh2Deg|d={{{4}}}|m={{{5}}}|h={{{6}}}}}}}</span><!-- TODO !!! |
--></span><!-- h-geo | --></span><!-- h-geo | ||
--></span><!-- | --></span><!-- |
Revision as of 16:35, 15 December 2016
An axillary template to produce coordinates and a chartlet link for Template:Poi, Template:Infobox and similar.