Template:Geo coord

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
Line 8: Line 8:
   }} <span class="cw-coordinates">{{if |test={{{lat|}}}
   }} <span class="cw-coordinates">{{if |test={{{lat|}}}
     | then={{#widget:Deg2Dmh|lat={{{lat}}}|lon={{{lon}}}}}  
     | then={{#widget:Deg2Dmh|lat={{{lat}}}|lon={{{lon}}}}}  
-
     | else={{padleft:{{{1}}}|2}}°{{{2}}}′{{{3}}}, {{padleft:{{{4}}}|3}}°{{{5}}}′{{{6}}}
+
     | else={{padleft:{{{1}}}|2}}°{{{2}}}′{{{3}}},&nbsp;{{padleft:{{{4}}}|3}}°{{{5}}}′{{{6}}}
   }}</span>]<!--
   }}</span>]<!--

Revision as of 14:00, 28 November 2016


An axillary template to produce coordinates and a chartlet link for Template:Poi, Template:Infobox and similar.


Personal tools
advertisement
Friends of Cruisers Wiki