Widget:Dmh2Deg
From CruisersWiki
(Difference between revisions)
(Created page with "<!--{if $h == 's' || $h == 'S' || $h == 'w' || $h == 'W'}-->-1<!--{else}-->+1<!--{/if}--> <!--{math equation="d+m*60" d=$d m=$m }-->") |
(fix) |
||
(15 intermediate revisions not shown) | |||
Line 1: | Line 1: | ||
- | <!--{if $h == 's' || $h == 'S' || $h == 'w' || $h == 'W'}-->- | + | <includeonly><!--{ |
- | <!--{math equation="d+m | + | 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