Template:TGeo coord
From CruisersWiki
(Difference between revisions)
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
--><span class="plainlinks nourlexpansion noexternal" title="Chartlet"><!-- | --><span class="plainlinks nourlexpansion noexternal" title="Chartlet"><!-- | ||
- | -->[{{chartlet uri | + | -->{{if |
- | + | |test={{{lat}}} | |
- | + | | then=[{{chartlet uri | |
- | + | | lat= {{?|test={{{maplat|}}}|{{{maplat}}}|{{{lat}}}}} | |
- | + | | lon= {{?|test={{{maplon|}}}|{{{maplon}}}|{{{lon}}}}} | |
+ | | zoom= {{{zoom|}}} | ||
+ | }} <span class="cw-coordinates">{{#widget:Deg2Dmh|lat={{{lat}}}|lon={{{lon}}}}}</span>] | ||
+ | }}<!-- | ||
microformat | microformat |
Revision as of 18:23, 12 January 2017
An axillary template to produce coordinates and a chartlet link for Template:Poi, Template:Infobox and similar.