Widget:Chartlet static

From CruisersWiki

(Difference between revisions)
Jump to: navigation, search
Line 17: Line 17:
     math assign='d' equation="d*(-1)" d=$lat}--><!--{/if}--><!--{
     math assign='d' equation="d*(-1)" d=$lat}--><!--{/if}--><!--{
   assign var='lon' value=$d}--><!--{
   assign var='lon' value=$d}--><!--{
-
/if}--><img class="chartlet-static" src="https://maps.wikimedia.org/img/osm-intl,<!--{$zoom}-->,<!--{$lat}-->,<!--{$lon}-->,<!--{$width|regex_replace:'px':''}-->x<!--{$height|regex_replace:'px':''}-->.png">
+
/if}--><!--{
 +
assign var='w' value=$width|regex_replace:"px":""
 +
}--><!--{
 +
assign var='h' value=$height|regex_replace:"px":""
 +
}--><img class="chartlet-static" src="https://maps.wikimedia.org/img/osm-intl,<!--{$zoom}-->,<!--{$lat}-->,<!--{$lon}-->,<!--{$w}-->x<!--{$h}-->.png">

Revision as of 14:12, 10 September 2017

<img class="chartlet-static" src="https://maps.wikimedia.org/img/osm-intl,,,,x.png">

Personal tools
advertisement
Friends of Cruisers Wiki