Widget:Chartlet static
From CruisersWiki
(Difference between revisions)
Line 1: | Line 1: | ||
- | + | <!--{ | |
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 24: | 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)"|escape | 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)"|escape | ||
- | }--><div class="chartlet-static" style="<!--{$style}-->"></div | + | }--><div class="chartlet-static" style="<!--{$style}-->"></div> |
- | + | ||
- | + |