Difference between revisions of "Template:SextantConvert"

m
m
Line 47: Line 47:
 
| 7 = 1323
 
| 7 = 1323
 
}} }}<!--
 
}} }}<!--
-->{{#vardefine:tx|{{#var:x}}}}<!--
+
-->{{#vardefineecho:tx|{{#var:x}}}}<!--
-->{{#vardefine:Cx|{{#var:centerX}}}}<!--
+
-->{{#vardefineecho:Cx|{{#var:centerX}}}}<!--
-->{{#vardefine:Nx|{{#var:width}}}}<!--
+
-->{{#vardefineecho:Nx|{{#var:width}}}}<!--
-->{{#vardefine:ty|{{#var:y}}}}<!--
+
-->{{#vardefineecho:ty|{{#var:y}}}}<!--
-->{{#vardefine:Cy|{{#var:centerY}}}}<!--
+
-->{{#vardefineecho:Cy|{{#var:centerY}}}}<!--
-->{{#vardefine:Ny|{{#var:height}}}}<!--
+
-->{{#vardefineecho:Ny|{{#var:height}}}}<!--
-->{{#vardefine:Sx|{{#expr:{{#expr:{{#expr:{{#var:tx}} - {{#var:Cx}} }} * 360 }} / {{#var:Nx}} }} }}<!--
+
-->{{#vardefineecho:Sx|{{#expr:{{#expr:{{#expr:{{#var:tx}} - {{#var:Cx}} }} * 360 }} / {{#var:Nx}} }} }}<!--
-->{{#vardefine:Sy|{{#expr:{{#expr:{{#expr:{{#var:ty}} - {{#var:Cy}} }} * 360 }} / {{#var:Ny}} }} }}<!--
+
-->{{#vardefineecho:Sy|{{#expr:{{#expr:{{#expr:{{#var:ty}} - {{#var:Cy}} }} * 360 }} / {{#var:Ny}} }} }}<!--
-->{{#vardefine:tempX|{{#explode:{{#var:Sx}}|.|0}}}}<!--
+
-->{{#vardefineecho:tempX|{{#explode:{{#var:Sx}}|.|0}}}}<!--
-->{{#vardefine:tempY|{{#explode:{{#var:Sy}}|.|0}}}}<!--
+
-->{{#vardefineecho:tempY|{{#explode:{{#var:Sy}}|.|0}}}}<!--
-->{{#vardefine:SouthNorth|{{#ifexpr:{{#var:tempY}} < 0|N{{#vardefine:tempY|{{#expr:0-{{#var:tempY}}}}}}|S}} }}<!--
+
-->{{#vardefineecho:SouthNorth|{{#ifexpr:{{#var:tempY}} < 0|N{{#vardefine:tempY|{{#expr:0-{{#var:tempY}}}}}}|S}} }}<!--
-->{{#vardefine:EastWest|{{#ifexpr:{{#var:tempX}} < 0|W{{#vardefine:tempX|{{#expr:0-{{#var:tempX}}}}}}|E}} }}<!--
+
-->{{#vardefineecho:EastWest|{{#ifexpr:{{#var:tempX}} < 0|W{{#vardefine:tempX|{{#expr:0-{{#var:tempX}}}}}}|E}} }}<!--
 
-->{{#var:tempY}}o {{#sub:{{#expr:{{#sub:{{#explode:{{#var:Sy}}|.|1}}|0|2}} * 60}}|0|2}}'{{#var:SouthNorth}}, {{#var:tempX}}o {{#sub:{{#expr:{{#sub:{{#explode:{{#var:Sx}}|.|1}}|0|2}} * 60}}|0|2}}'{{#var:EastWest}}
 
-->{{#var:tempY}}o {{#sub:{{#expr:{{#sub:{{#explode:{{#var:Sy}}|.|1}}|0|2}} * 60}}|0|2}}'{{#var:SouthNorth}}, {{#var:tempX}}o {{#sub:{{#expr:{{#sub:{{#explode:{{#var:Sx}}|.|1}}|0|2}} * 60}}|0|2}}'{{#var:EastWest}}

Revision as of 03:02, 7 September 2020

{{{2}}}{{{3}}}Expression error: Unexpected < operator.Expression error: Unexpected < operator.Expression error: Unexpected < operatorExpression error: Unexpected < operatorExpression error: Unexpected < operator.Expression error: Unexpected < operator.Expression error: Unexpected < operatoro <s'Expression error: Unexpected < operator., Expression error: Unexpected < operatoro <s'Expression error: Unexpected < operator.