Template:TChartlet
From CruisersWiki
(Difference between revisions)
(23 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | <includeonly>{{if | + | <includeonly><!-- |
+ | -->{{if | ||
| test= {{{standalone|}}} | | test= {{{standalone|}}} | ||
| then= <div class="chartlet chartlet-test chartlet-standalone" style="height: 100%; width: 100%; background-color: rgb(243, 215, 193);"> | | then= <div class="chartlet chartlet-test chartlet-standalone" style="height: 100%; width: 100%; background-color: rgb(243, 215, 193);"> | ||
Line 6: | Line 7: | ||
|then= clear:both; margin-left: auto; margin-right: auto | |then= clear:both; margin-left: auto; margin-right: auto | ||
|else= clear:{{{align|right}}}; float: {{{align|right}}}; | |else= clear:{{{align|right}}}; float: {{{align|right}}}; | ||
- | }} | + | }}"> |
- | + | ||
- | + | ||
}} | }} | ||
- | <div style="display:none">lat{{=}}{{?|test={{{lat|}}}|{{anchorencode:{{{lat|}}}}}|41.2462244}} {{!}} lon{{=}}{{?|test={{{lon|}}}|{{anchorencode:{{{lon|}}}}}|9.1974878}} {{!}} zoom{{=}}{{?|test={{{zoom|}}}|{{{zoom|}}}|16}} {{!}} {{{params|}}}</div><!-- | + | <div style="display:none"> |
- | --></div></includeonly><noinclude> | + | lat{{=}}{{?|test={{{lat|}}}|{{anchorencode:{{{lat|}}}}}|41.2462244}} {{!}} lon{{=}}{{?|test={{{lon|}}}|{{anchorencode:{{{lon|}}}}}|9.1974878}} {{!}} zoom{{=}}{{?|test={{{zoom|}}}|{{{zoom|}}}|16}} {{!}} {{{params|}}}<!-- |
+ | --></div><!-- | ||
+ | --></div>{{ | ||
+ | tChartlet static | ||
+ | |width={{{width|}}} | ||
+ | |height={{{height|}}} | ||
+ | |zoom={{{zoom|16}}} | ||
+ | |lat={{{lat|41.2462244}}} | ||
+ | |lon={{{lon|9.1974878}}} | ||
+ | }}</includeonly><noinclude> | ||
{{doc}} | {{doc}} | ||
<!-- | <!-- | ||
- | + | ||
+ | {{chartlet static|width={{{width|}}}|height={{{height|}}}|zoom={{{zoom|}}}|lat={{{lat|}}}|lon={{{lon|}}}}} | ||
--> | --> | ||
<noinclude> | <noinclude> |
Latest revision as of 08:59, 5 December 2018
{{Chartlet|lat=41.235983333333 |lon= 9.1945166666667 | zoom=14}}
{{Chartlet|lat=41 14.805 N|lon=9 14.273 E| width=400px| height=300px}}