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}}| | ||
{{Location map {{{1}}}|y|{{Latitude | |||
|lat = {{{lat|}}} | |||
|lat_deg = {{{lat_deg|}}} | |||
|lat_min = {{{lat_min|}}} | |||
}}%; left: {{#expr: | |lat_sec = {{{lat_sec|}}} | ||
|lat_dir = {{{lat_dir|}}}}}|{{Longitude | |||
|long = {{{lon|{{{long|}}}}}} | |||
|lon_deg = {{{lon_deg|}}} | |||
|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; {{ |