Template:TChartlet
From CruisersWiki
(Difference between revisions)
Line 6: | Line 6: | ||
|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}}}; | ||
- | }}"> | + | }} <!-- |
+ | -->background-image: url('https://maps.wikimedia.org/img/osm-intl,{{?|test={{{zoom|}}}|{{{zoom|}}}|16}},{{?|test={{{lat|}}}|{{anchorencode:{{{lat|}}}}}|41.2462244}},{{?|test={{{lon|}}}|{{anchorencode:{{{lon|}}}}}|9.1974878}},{{?|test={{{width|}}}|{{{width}}}|350px}}x{{?|test={{{height|}}}|{{{height}}}|350px}}.png') <!-- | ||
+ | -->"> | ||
}} | }} | ||
<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">lat{{=}}{{?|test={{{lat|}}}|{{anchorencode:{{{lat|}}}}}|41.2462244}} {{!}} lon{{=}}{{?|test={{{lon|}}}|{{anchorencode:{{{lon|}}}}}|9.1974878}} {{!}} zoom{{=}}{{?|test={{{zoom|}}}|{{{zoom|}}}|16}} {{!}} {{{params|}}}</div><!-- |
Revision as of 09:42, 8 September 2017
{{Chartlet|lat=41.235983333333 |lon= 9.1945166666667 | zoom=14}}
{{Chartlet|lat=41 14.805 N|lon=9 14.273 E| width=400px| height=300px}}