Template:TGeo coord

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
<includeonly><!--
<includeonly><!--
--><span class="plainlinks nourlexpansion noexternal" title="Chartlet"><!--
--><span class="plainlinks nourlexpansion noexternal" title="Chartlet"><!--
-
-->[{{chartlet uri
+
-->{{if
-
  | lat= {{?|test={{{maplat|}}}|{{{maplat}}}|{{{lat}}}}}
+
  |test={{{lat}}}
-
  | lon= {{?|test={{{maplon|}}}|{{{maplon}}}|{{{lon}}}}}
+
  | then=[{{chartlet uri
-
  | zoom= {{{zoom|}}}
+
    | lat= {{?|test={{{maplat|}}}|{{{maplat}}}|{{{lat}}}}}
-
  }} <span class="cw-coordinates">{{#widget:Deg2Dmh|lat={{{lat}}}|lon={{{lon}}}}}</span>]<!--
+
    | 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.


Personal tools
advertisement
Friends of Cruisers Wiki