Widget:Chartlet static
From CruisersWiki
(Difference between revisions)
Line 1: | Line 1: | ||
- | <includeonly> | + | <includeonly><!--{ |
- | <!--{ | + | |
assign var='c' value=$lat}--><!--{ | assign var='c' value=$lat}--><!--{ | ||
assign var='d' value=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\1"}--><!--{ | assign var='d' value=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\1"}--><!--{ | ||
Line 25: | Line 24: | ||
}--><!--{ | }--><!--{ | ||
assign var='style' value="width:`$width`; height:`$height`; background-image:url(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(https://maps.wikimedia.org/img/osm-intl,`$zoom`,`$lat`,`$lon`,`$w`x`$h`.png)" | ||
- | }--><div class="chartlet-static" style="$style"></div></includeonly><noinclude> | + | }--><div class="chartlet-static" style="<!--{$style}-->"></div></includeonly><noinclude> |
<noinclude> | <noinclude> |
Revision as of 11:14, 11 September 2017