Template:TGeo coord
From CruisersWiki
(Difference between revisions)
m |
|||
(3 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><span class="plainlinks nourlexpansion noexternal" title="Chartlet"><!-- | --><span class="plainlinks nourlexpansion noexternal" title="Chartlet"><!-- | ||
- | -->{{ | + | -->{{TGeo link |
- | + | | lat= {{?|test={{{maplat|}}}|{{{maplat}}}|{{{lat}}}}} | |
- | + | | lon= {{?|test={{{maplon|}}}|{{{maplon}}}|{{{lon}}}}} | |
- | + | | zoom= {{{zoom|}}} | |
- | + | | deg2dmh= y | |
- | + | ||
- | + | ||
}}<!-- | }}<!-- | ||
Line 14: | Line 12: | ||
--><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|}}}|{{ | + | --><span class="p-latitude">{{?|test={{{lat|}}}|{{Dmh2Deg|c={{{lat}}}}}}}</span>;<!-- |
- | --><span class="p-longitude">{{?|test={{{lon|}}}|{{ | + | --><span class="p-longitude">{{?|test={{{lon|}}}|{{Dmh2Deg|c={{{lon}}}}}}}</span><!-- |
-->{{if | -->{{if | ||
| test= {{{geometry|}}} | | test= {{{geometry|}}} | ||
Line 27: | Line 25: | ||
--></span><!-- | --></span><!-- | ||
--></includeonly><noinclude> | --></includeonly><noinclude> | ||
- | + | <!-- | |
An axillary template to produce coordinates and a chartlet link for [[Template:Poi]], [[Template:Infobox]] and similar. | An axillary template to produce coordinates and a chartlet link for [[Template:Poi]], [[Template:Infobox]] and similar. | ||
- | + | --> | |
</noinclude> | </noinclude> |
Latest revision as of 15:29, 16 May 2017