Template:Infobox coordblock
From CruisersWiki
(Difference between revisions)
(redundant eol) |
|||
(65 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | <includeonly> | + | <includeonly>{{? | test={{{name|}}} |
- | + | |{{!}}- | |
- | {{? | test={{{name|}}} | + | {{!}} colspan{{=}}"2" style{{=}}"text-align:center; font-size: normal;" {{!}}<div>'''{{{name}}}'''</div>}}<!-- |
- | |{{!}}- | + | --><div>{{geo coord |
- | ! colspan{{=}}"2" style{{=}}"text-align:center; font-size: normal;" {{!}} '''{{{name}}}''' | + | |
- | }} | + | |
- | + | ||
| lat={{{lat|}}} | lon={{{lon|}}} | | lat={{{lat|}}} | lon={{{lon|}}} | ||
| name={{{name|}}} | | name={{{name|}}} | ||
| maplat={{{maplat|}}}| maplon={{{maplon|}}} | | maplat={{{maplat|}}}| maplon={{{maplon|}}} | ||
- | | | + | | geometry={{{geometry|}}} |
- | | | + | | zoom={{{zoom|}}} |
- | }} | + | }} <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><!-- |
- | + | --><span class="p-category" style="display:none">{{?|test={{{type|}}}|{{{type|}}}|destination}}</span></div> | |
- | + | {{? | test={{{chartlet|}}} | |
- | + | |{{!}}- | |
- | + | {{!}} colspan{{=}}"2" {{!}} {{chartlet | |
- | | lat= {{?|test={{{maplat|}}}|{{{maplat}}}|{{{lat}}}}} | + | | lat={{?|test={{{maplat|}}}|{{{maplat}}}|{{{lat|}}}}} |
- | | lon= {{?|test={{{maplon|}}}|{{{maplon}}}|{{{lon}}}}} | + | | lon={{?|test={{{maplon|}}}|{{{maplon}}}|{{{lon|}}}}} |
- | | zoom= {{{ | + | | zoom={{{zoom|}}} |
- | | | + | | params={{{chartlet|}}} |
- | }} | + | | width={{{chartletwidth|}}} |
- | }}</includeonly><noinclude> | + | | height={{{chartletheight|}}} |
+ | }}[[Category:Infobox with chartlet parameter]]}}</includeonly><noinclude> | ||
- | + | Common block with coordinates, chartlet link, etc. for [[Template:Infobox]] | |
- | + | ||
- | Common block with coordinates, | + | |
[[Category:Templates|Infobox coordblock]] | [[Category:Templates|Infobox coordblock]] | ||
- | |||
</noinclude> | </noinclude> |
Latest revision as of 16:22, 11 November 2018
Common block with coordinates, chartlet link, etc. for Template:Infobox