Template:TChartlet

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
-
<includeonly><div class="chartlet" style="width:{{?|test={{{width|}}}|{{{width}}}|350px}}; height:{{?|test={{{height|}}}|{{{height}}}|350px}}; border-style:solid; border-width:1px; border-color:lightgrey; clear: right; float: right; position: relative;">
+
<includeonly><div class="chartlet" 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}}
 +
    |then= clear:both; margin-left: auto; margin-right: auto
 +
    |else= clear:{{{align|right}}}; float: {{{align|right}}};
 +
    }}">
<div style="display:none">
<div style="display:none">
-
lat={{?|test={{{lat|}}}|{{{lat}}}|{{{1|}}}_{{{2|}}}_{{{3|}}}}} | lon={{?|test={{{lon|}}}|{{{lon}}}|{{{4|}}}_{{{5|}}}_{{{6|}}}}} | zoom={{{zoom|}}}  
+
lat={{?|test={{{maplat|}}}|{{{maplat}}}|{{?|test={{{lat|}}}|{{{lat}}}|{{{1|}}}_{{{2|}}}_{{{3|}}}}}}} | lon={{?|test={{{maplon|}}}|{{{maplon}}}|{{?|test={{{lon|}}}|{{{lon}}}|{{{4|}}}_{{{5|}}}_{{{6|}}}}}}} | zoom={{{zoom|}}}  
</div>
</div>
</div></includeonly><noinclude>
</div></includeonly><noinclude>

Revision as of 12:07, 5 December 2016


{{Chartlet|lat=41.235983333333 |lon= 9.1945166666667 | zoom=14}}
lat=41.235983333333 | lon=9.1945166666667 | zoom=14 |
{{Chartlet|lat=41 14.805 N|lon=9 14.273 E| width=400px| height=300px}}
lat=41_14.805_N | lon=9_14.273_E | zoom=16 |
Personal tools
advertisement
Friends of Cruisers Wiki