|
|||
(11 tussenliggende versies door dezelfde gebruiker niet weergegeven) | |||
Regel 10: | Regel 10: | ||
Edit the page to see the template text. |
Edit the page to see the template text. |
||
</noinclude><includeonly> |
</noinclude><includeonly> |
||
− | {{#vardefine:varRad|0. |
+ | {{#vardefine:varRad|0.00003}} |
− | {{#vardefine:varAng| |
+ | {{#vardefine:varAng|80*pi/180}} |
{{#vardefine:varN|{{#explode:{{PAGENAME}}| |-1}}}} |
{{#vardefine:varN|{{#explode:{{PAGENAME}}| |-1}}}} |
||
<!-- |
<!-- |
||
n = {{#var:varN}} |
n = {{#var:varN}} |
||
--> |
--> |
||
− | {{#vardefine:varX|{{#expr: {{#var:varRad}} * |
+ | {{#vardefine:varX|{{#expr: {{#var:varRad}} * cos( {{#var:varN}} * {{#var:varAng}} )}}}} |
− | {{#vardefine:varY|{{#expr: {{#var:varRad}} * |
+ | {{#vardefine:varY|{{#expr: {{#var:varRad}} * sin( {{#var:varN}} * {{#var:varAng}} )}}}} |
<!-- |
<!-- |
||
x = {{#var:varX}} <br /> |
x = {{#var:varX}} <br /> |
This is the "Geoshiftcode" template. It should be called in the following format:
{{Geoshiftcode |Location= }}
Edit the page to see the template text.