Widget:Dmh2Deg
From CruisersWiki
(Difference between revisions)
(fix) |
|||
(8 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | <!--{ | + | <includeonly><!--{ |
- | --><!--{if $ | + | assign var='d' value=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\1"}--><!--{ |
- | + | if $d == $c}--><!--{ | |
+ | $c}--><!--{ | ||
+ | else}--><!--{ | ||
+ | assign var='h' value=$c|regex_replace:"/([^ ]+) ([^ ]+) ([^ ]+)/":"\\3"}--><!--{ | ||
+ | if $h == 's' || $h == 'S' || $h == 'w' || $h == 'W'}-->-<!--{/if}--><!--{ | ||
+ | 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