Template:Infobox coordblock
From CruisersWiki
(Difference between revisions)
(chartlet width height) |
|||
Line 6: | Line 6: | ||
| maplat={{{maplat|}}}| maplon={{{maplon|}}} | | maplat={{{maplat|}}}| maplon={{{maplon|}}} | ||
| zoom={{{zoom|}}} | | zoom={{{zoom|}}} | ||
- | }} <span title="Other maps">[{{Coord URL}}{{if |test={{{lat|}}} | + | }} <span title="Other maps">[{{Coord URL}}{{if |test={{eq|{{{lat|}}}|{{achorencode:{{{lat|}}}}}}} |
| then={{{lat}}};{{{lon}}} | | then={{{lat}}};{{{lon}}} | ||
- | | else={{{ | + | | else={{achorencode:{{{lat|}}}}}_{{achorencode:{{{lon|}}}}} |
}} [[File:Chart icon.png|12px|link=]]]</span><!-- | }} [[File:Chart icon.png|12px|link=]]]</span><!-- | ||
--><span class="p-category" style="display:none">{{?|test={{{type|}}}|{{{type|}}}|destination}}</span></div> | --><span class="p-category" style="display:none">{{?|test={{{type|}}}|{{{type|}}}|destination}}</span></div> |
Revision as of 11:35, 22 December 2016
Common block with coordinates, chartlet link, etc. for Template:Infobox