Template:Location map many: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Funandtrvl
m Cat. sort
meta>Testter
No edit summary
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:{{#if:{{Location map {{{1}}}|y}}|
  100 * ({{Location map {{{1}}}|top}} - {{#if: {{{lat_deg|}}}  
{{Location map {{{1}}}|y|{{Latitude
    | {{#expr: {{#ifeq: {{{lat_dir|}}}|S|-1|1}} * ({{{lat_deg|0}}} + ({{{lat_min|0}}} / 60) + ({{{lat_sec|0}}} / 3600)) }}  
|lat = {{{lat|}}}
    | {{{lat|0}}}  
|lat_deg = {{{lat_deg|}}}
  }}) / ({{Location map {{{1}}}|top}} - {{Location map {{{1}}}|bottom}}) round 1
|lat_min = {{{lat_min|}}}
}}%; left: {{#expr:  
|lat_sec = {{{lat_sec|}}}
  {{#expr:{{#if:{{Location map {{{1}}}|crosses180}}|{{#ifeq: {{{lon_dir|}}}|W|-36000/({{Location map {{{1}}}|left}}-{{Location map {{{1}}}|right}})|}}|}}}} + 100 * ({{#if: {{{lon_deg|}}}
|lat_dir = {{{lat_dir|}}}}}|{{Longitude
    | {{#expr: {{#ifeq: {{{lon_dir|}}}|W|-1|1}} * ({{{lon_deg|0}}} + ({{{lon_min|0}}} / 60) + ({{{lon_sec|0}}} / 3600)) }}  
|long = {{{lon|{{{long|}}}}}}
    | {{{long|0}}}  
|lon_deg = {{{lon_deg|}}}
  }} - {{Location map {{{1}}}|left}}) / ({{Location map {{{1}}}|right}} - {{Location map {{{1}}}|left}}) round 1
|lon_min = {{{lon_min|}}}
}}%; height: 0; width: 0; margin: 0; padding: 0;"><!--
|lon_sec = {{{lon_sec|}}}
|lon_dir = {{{lon_dir|}}}}}}}|100 * ({{Location map {{{1}}}|top}} - {{Latitude
|lat = {{{lat|}}}
|lat_deg = {{{lat_deg|}}}
|lat_min = {{{lat_min|}}}
|lat_sec = {{{lat_sec|}}}
|lat_dir = {{{lat_dir|}}}}}) / ({{Location map {{{1}}}|top}} - {{Location map {{{1}}}|bottom}}) round 1
}}}}%; left: {{#expr:{{#if:{{Location map {{{1}}}|x}}|
{{Location map {{{1}}}|x|{{Latitude
|lat = {{{lat|}}}
|lat_deg = {{{lat_deg|}}}
|lat_min = {{{lat_min|}}}
|lat_sec = {{{lat_sec|}}}
|lat_dir = {{{lat_dir|}}}}}|{{Longitude
|long = {{{lon|{{{long|}}}}}}
|lon_deg = {{{lon_deg|}}}
|lon_min = {{{lon_min|}}}
|lon_sec = {{{lon_sec|}}}
|lon_dir = {{{lon_dir|}}}}}}}|{{#expr:{{#if:{{Location map {{{1}}}|crosses180}}|{{#ifeq: {{{lon_dir|}}}|W|-36000/({{Location map {{{1}}}|left}}-{{Location map {{{1}}}|right}})|}}|}}}} + 100 * ({{Longitude
|long = {{{lon|{{{long|}}}}}}
|lon_deg = {{{lon_deg|}}}
|lon_min = {{{lon_min|}}}
|lon_sec = {{{lon_sec|}}}
|lon_dir = {{{lon_dir|}}}}} - {{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; {{

Revision as of 16:15, 20 July 2010