Widget:Dmh2Deg
From CruisersWiki
(Difference between revisions)
(fix) |
|||
(3 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | <!--{ | + | <includeonly><!--{ |
assign var='d' value=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\1"}--><!--{ | assign var='d' value=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\1"}--><!--{ | ||
if $d == $c}--><!--{ | if $d == $c}--><!--{ | ||
Line 6: | Line 6: | ||
assign var='h' value=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\3"}--><!--{ | assign var='h' value=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\3"}--><!--{ | ||
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}--></includeonly><noinclude> | |
- | + | ||
- | + | A helper for [[Template:Dmh2Deg]] | |
- | / | + | |
+ | </noinclude> |
Latest revision as of 12:42, 11 September 2017
A helper for Template:Dmh2Deg