Widget:TChartlet static
From CruisersWiki
(Difference between revisions)
Line 26: | Line 26: | ||
}--><!--{ | }--><!--{ | ||
assign var='style' value="width:`$width`; height:`$height`; background-image:url($url)"|escape | assign var='style' value="width:`$width`; height:`$height`; background-image:url($url)"|escape | ||
- | }--><noscript>< | + | }--><noscript><div class="chartlet-static" style="width:<!--{$width}-->; height:<!--{$height}-->; background-image:url(<!--{$url}-->"></div></noscript></includeonly><noinclude> |
<!--------------------------------------------> | <!--------------------------------------------> | ||
Line 37: | Line 37: | ||
div class="chartlet-static" style="width:<!--{$width}-->; height:<!--{$height}-->; background-image:url(http://staticmap.openstreetmap.de/staticmap.php?center=<!--{$lat}-->,<!--{$lon}-->&zoom=<!--{$zoom}-->&size=<!--{$w}-->x<!--{$h}-->&maptype=mapnik)" | div class="chartlet-static" style="width:<!--{$width}-->; height:<!--{$height}-->; background-image:url(http://staticmap.openstreetmap.de/staticmap.php?center=<!--{$lat}-->,<!--{$lon}-->&zoom=<!--{$zoom}-->&size=<!--{$w}-->x<!--{$h}-->&maptype=mapnik)" | ||
+ | |||
+ | img class="chartlet-static" src="<!--{$url}-->" | ||
*** wikimedia | *** wikimedia |
Revision as of 08:50, 15 November 2018