Template:TChartlet
From CruisersWiki
(Difference between revisions)
Line 1: | Line 1: | ||
- | <includeonly>~{{{lat|}}}~{{{lon|}}}~{{{zoom|}}}~{{?|test={{{lat|}}}|lat={{{lat|}}} {{!}} }} {{?|test={{{lon|}}}|lon={{{lon|}}} {{!}} }} {{?|test={{{zoom|}}}| zoom={{{zoom|}}} {{!}} }} {{{params|}}}~<div class="chartlet-test" style="width:{{?|test={{{width|}}}|{{{width}}}|350px}}; height:{{?|test={{{height|}}}|{{{height}}}|350px}}; border-style:solid; border-width:1px; border-color:lightgrey; {{if | + | <includeonly>~{{{lat|}}}~{{{lon|}}}~{{{zoom|}}}~{{?|test={{{lat|}}}|lat{{=}}{{{lat|}}} {{!}} }} {{?|test={{{lon|}}}|lon{{=}}{{{lon|}}} {{!}} }} {{?|test={{{zoom|}}}| zoom{{=}}{{{zoom|}}} {{!}} }} {{{params|}}}~<div class="chartlet-test" style="width:{{?|test={{{width|}}}|{{{width}}}|350px}}; height:{{?|test={{{height|}}}|{{{height}}}|350px}}; border-style:solid; border-width:1px; border-color:lightgrey; {{if |
|test= {{IsEq|{{{align|right}}}|center}} | |test= {{IsEq|{{{align|right}}}|center}} | ||
|then= clear:both; margin-left: auto; margin-right: auto | |then= clear:both; margin-left: auto; margin-right: auto |
Revision as of 07:01, 22 December 2016
{{Chartlet|lat=41.235983333333 |lon= 9.1945166666667 | zoom=14}}
{{Chartlet|lat=41 14.805 N|lon=9 14.273 E| width=400px| height=300px}}