Template:Location map many: Difference between revisions
From Zoophilia Wiki
Jump to navigationJump to search
meta>Wikid77 test shift marker #2 |
meta>Wikid77 testing |
||
Line 62: | Line 62: | ||
| background-color: {{{background}}}; | | background-color: {{{background}}}; | ||
}}">{{{label|}}}</span></div><!-- end-div label1 --> | }}">{{{label|}}}</span></div><!-- end-div label1 --> | ||
}}<!-- | }}</div><!--TEST CLOSE DIVISION HERE--><!-- | ||
====================================================== Marker/Label #2 | ====================================================== Marker/Label #2 | ||
--><div style="position: absolute; z-index: 2; top: {{#expr: | --><div style="position: absolute; z-index: 2; top: {{#expr: | ||
100 * ({{Location map {{{1}}}|top}} - {{#if: {{{lat2_deg|}}} | 100 * ({{Location map {{{1}}}|top}} - {{#if: {{{lat2_deg|}}} | ||
| {{#expr: {{#ifeq: {{{lat2_dir|}}}|S|-1|1}} * ({{{lat2_deg|0}}} + ({{{lat2_min|0}}} / 60) | | {{#expr: {{#ifeq: {{{lat2_dir|}}}|S|-1|1}} * ({{{lat2_deg|0}}} + ({{{lat2_min|0}}} / 60) + ({{{lat2_sec|0}}} / 3600)) }} | ||
| {{{lat2|0}}} | | {{{lat2|0}}} | ||
}}) / ({{Location map {{{1}}}|top}} - {{Location map {{{1}}}|bottom}}) round 1 | }}) / ({{Location map {{{1}}}|top}} - {{Location map {{{1}}}|bottom}}) round 1 |