Widget:Geo anchor
From CruisersWiki
(Difference between revisions)
Line 5: | Line 5: | ||
if $h == 's' || $h == 'S' || $h == 'w' || $h == 'W'}-->-<!--{/if}--><!--{ | if $h == 's' || $h == 'S' || $h == 'w' || $h == 'W'}-->-<!--{/if}--><!--{ | ||
math equation="d+m/60" d=$d m=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\2"}--><!--{ | math equation="d+m/60" d=$d m=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\2"}--><!--{ | ||
- | /if}--><span data-lat="<!--{$lat}-->" data-lon="<!--{$lon}-->" href="<!--{$href}-->"><!--{$content}-- | + | math equation="d+m/60" d=$d m=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\2"}--><!--{ |
+ | /if}--><span> data-lat="<!--{$lat}-->" data-lon="<!--{$lon}-->" href="<!--{$href}-->"</span><!--{$content}--> |
Revision as of 14:03, 16 May 2017
- data-lat="" data-lon="" href=""