Template:Geo coord

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
(template instead of widget)
 
(One intermediate revision not shown)
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
--><span class="plainlinks nourlexpansion noexternal" title="Chartlet"><!--
--><span class="plainlinks nourlexpansion noexternal" title="Chartlet"><!--
-
-->{{if
+
-->{{Geo link
-
   |test={{{lat}}}
+
   | lat= {{?|test={{{maplat|}}}|{{{maplat}}}|{{{lat}}}}}
-
  | then=[{{chartlet uri
+
  | lon= {{?|test={{{maplon|}}}|{{{maplon}}}|{{{lon}}}}}
-
    | lat= {{?|test={{{maplat|}}}|{{{maplat}}}|{{{lat}}}}}
+
  | zoom= {{{zoom|}}}
-
    | lon= {{?|test={{{maplon|}}}|{{{maplon}}}|{{{lon}}}}}
+
  | deg2dmh= y
-
    | zoom= {{{zoom|}}}
+
-
    }} <span class="cw-coordinates">{{Deg2Dmh|lat={{{lat}}}|lon={{{lon}}}}}</span>]
+
   }}<!--
   }}<!--

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.


Personal tools
advertisement
Friends of Cruisers Wiki