Template:Geo coord
From CruisersWiki
(Difference between revisions)
(25 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | + | <includeonly><!-- | |
+ | --><span class="plainlinks nourlexpansion noexternal" title="Chartlet"><!-- | ||
+ | -->{{Geo link | ||
+ | | lat= {{?|test={{{maplat|}}}|{{{maplat}}}|{{{lat}}}}} | ||
+ | | lon= {{?|test={{{maplon|}}}|{{{maplon}}}|{{{lon}}}}} | ||
+ | | zoom= {{{zoom|}}} | ||
+ | | deg2dmh= y | ||
+ | }}<!-- | ||
+ | |||
+ | microformat | ||
+ | |||
+ | --><span class="p-geo h-geo" style="display:none"><!-- | ||
+ | --><span class="p-name">{{{name|}}}</span><!-- | ||
+ | --><span class="p-latitude">{{?|test={{{lat|}}}|{{Dmh2Deg|c={{{lat}}}}}}}</span>;<!-- | ||
+ | --><span class="p-longitude">{{?|test={{{lon|}}}|{{Dmh2Deg|c={{{lon}}}}}}}</span><!-- | ||
+ | -->{{if | ||
+ | | test= {{{geometry|}}} | ||
+ | | then= {{|}}<span class="p-geometry">{{urlencode:{{if | ||
+ | | test= {{eq|y|{{{geometry}}}}} | ||
+ | | then= {{:{{FULLPAGENAME}}/geometry | name= {{{name|}}} }} | ||
+ | | else= {{{geometry}}}}} | ||
+ | }}</span> | ||
+ | }}<!-- | ||
+ | --></span><!-- h-geo | ||
+ | --></span><!-- | ||
+ | --></includeonly><noinclude> | ||
+ | |||
+ | An axillary template to produce coordinates and a chartlet link for [[Template:Poi]], [[Template:Infobox]] and similar. | ||
+ | |||
+ | </noinclude> |
Latest revision as of 15:30, 16 May 2017
An axillary template to produce coordinates and a chartlet link for Template:Poi, Template:Infobox and similar.