Template:Lat & long 2: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
{{#vardefine:longm|{{integer|{{#expr:({{positive|{{{2}}}}} - {{integerpos|{{{2}}}}}) * 60}} }} }} | {{#vardefine:longm|{{integer|{{#expr:({{positive|{{{2}}}}} - {{integerpos|{{{2}}}}}) * 60}} }} }} | ||
{{#vardefine:longs|{{#expr:({{positive|{{{2}}}}} - {{integerpos|{{{2}}}}} - ({{integer|{{#expr:({{positive|{{{2}}}}} - {{integerpos|{{{2}}}}}) * 60}} }}) / 60) * 3600 round0}} }} | {{#vardefine:longs|{{#expr:({{positive|{{{2}}}}} - {{integerpos|{{{2}}}}} - ({{integer|{{#expr:({{positive|{{{2}}}}} - {{integerpos|{{{2}}}}}) * 60}} }}) / 60) * 3600 round0}} }} | ||
{{#var:latd}}°{{#var:latm}}’{{#var:lats}}''"''{{#var:NS}}, {{#var:longd}}°{{#var:longm}}’{{#var:longs}}''"''{{#var:EW}}<noinclude>[[Category:Working templates]] | {{#var:latd}}°{{#var:latm}}’{{#var:lats}}''"''{{#var:NS}}, {{#var:longd}}°{{#var:longm}}’{{#var:longs}}''"''{{#var:EW}}<noinclude>[[Category:Working templates|Lat & long 2]] |
Latest revision as of 16:43, 10 October 2012
Expression error: Unexpected < operator.°Expression error: Unexpected < operator.’Expression error: Unexpected < operator."S, Expression error: Unexpected < operator.°Expression error: Unexpected < operator.’Expression error: Unexpected < operator."W