Template:Infobox coordblock
From CruisersWiki
(Difference between revisions)
(convert spaces inside lat/lon to "_") |
|||
Line 6: | Line 6: | ||
| maplat={{{maplat|}}}| maplon={{{maplon|}}} | | maplat={{{maplat|}}}| maplon={{{maplon|}}} | ||
| zoom={{{zoom|}}} | | zoom={{{zoom|}}} | ||
- | }} <span title="Other maps">[{{Coord URL}}{{if |test={{eq|{{{lat|}}}|{{ | + | }} <span title="Other maps">[{{Coord URL}}{{if |test={{eq|{{{lat|}}}|{{anchorencode:{{{lat|}}}}}}} |
| then={{{lat}}};{{{lon}}} | | then={{{lat}}};{{{lon}}} | ||
- | | else={{ | + | | else={{anchorencode:{{{lat|}}}}}_{{anchorencode:{{{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:38, 22 December 2016
Common block with coordinates, chartlet link, etc. for Template:Infobox