Widget:TChartlet static
From CruisersWiki
(Difference between revisions)
(Created page with "<includeonly><!--{* see Template:Chartlet static *}--><!--{ assign var='c' value=$lat}--><!--{ assign var='d' value=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\1"}--><!--{ if...") |
|||
Line 23: | Line 23: | ||
assign var='h' value=$height|replace:"px":"" | assign var='h' value=$height|replace:"px":"" | ||
}--><!--{ | }--><!--{ | ||
- | assign var=' | + | assign var='url' value=https://maps.wikimedia.org/img/osm-intl,`$zoom`,`$lat`,`$lon`,`$w`x`$h`.png |
- | }-->< | + | }--><!--{ |
+ | assign var='style' value="width:`$width`; height:`$height`; background-image:url($url)"|escape | ||
+ | }--><img class="chartlet-static" style="<!--{$style}-->"></div></includeonly><noinclude> | ||
<!--------------------------------------------> | <!--------------------------------------------> |
Revision as of 08:38, 14 November 2018