Template:Location map many: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Testter No edit summary |
meta>Droll |
||
Line 55: | Line 55: | ||
--> max({{#expr:{{Location map {{{1}}}|right}} round 2}}).|}} | --> max({{#expr:{{Location map {{{1}}}|right}} round 2}}).|}} | ||
<!-- --------------------------------- Begin point division #1 --> | <!-- --------------------------------- Begin point division #1 --> | ||
<div style="position: absolute; z-index: 2; top: {{#expr: | <div style="position: absolute; z-index: 2; top: {{#expr: | ||
{{ | 100 * ({{Location map {{{1}}}|top}} - {{#if: {{{lat_deg|}}} | ||
| {{#expr: {{#ifeq: {{{lat_dir|}}}|S|-1|1}} * ({{{lat_deg|0}}} + ({{{lat_min|0}}} / 60) + ({{{lat_sec|0}}} / 3600)) }} | |||
| {{{lat|0}}} | |||
| | }}) / ({{Location map {{{1}}}|top}} - {{Location map {{{1}}}|bottom}}) round 1 | ||
}}%; left: {{#expr: | |||
{{#expr:{{#if:{{Location map {{{1}}}|crosses180}}|{{#ifeq: {{{lon_dir|}}}|W|-36000/({{Location map {{{1}}}|left}}-{{Location map {{{1}}}|right}})|}}|}}}} + 100 * ({{#if: {{{lon_deg|}}} | |||
| | | {{#expr: {{#ifeq: {{{lon_dir|}}}|W|-1|1}} * ({{{lon_deg|0}}} + ({{{lon_min|0}}} / 60) + ({{{lon_sec|0}}} / 3600)) }} | ||
| {{{long|0}}} | |||
}} - {{Location map {{{1}}}|left}}) / ({{Location map {{{1}}}|right}} - {{Location map {{{1}}}|left}}) round 1 | |||
}}%; height: 0; width: 0; margin: 0; padding: 0;"><!-- | |||
| | |||
| | |||
| | |||
------------------------------------------------ Marker#1 division | ------------------------------------------------ Marker#1 division | ||
--><div style="position: relative; text-align: center; {{ | --><div style="position: relative; text-align: center; {{ |