Revision 1858107 of "साँचा:Location map-" on hiwiki

<includeonly><div style="font-size:{{#if:{{{label_size|}}}|{{{label_size}}}|88}}%;line-height:1.2em;position:absolute;z-index:2;{{#if:{{{lon|}}}{{{long|}}}{{{lon_deg|}}}|top:0;bottom:0;left:{{Location map/x|{{{1|Earth}}}|{{#expr:(0{{{lon|{{{long|}}}}}}+0{{{lon_deg|}}}+0{{{lon_min|}}}*(1/60)+0{{{lon_sec|}}}*(1/3600))*{{#ifeq:{{{lon_dir}}}|W|-1|1}}}}|{{#expr:(0{{{lat|}}}+0{{{lat_deg|}}}+0{{{lat_min|}}}*(1/60)+0{{{lat_sec|}}}*(1/3600))*{{#ifeq:{{{lat_dir}}}|S|-1|1}}}}}}%|right:0;left:0;top:{{Location map/y|{{{1|Earth}}}|{{#expr:(0{{{lon|{{{long|}}}}}}+0{{{lon_deg|}}}+0{{{lon_min|}}}*(1/60)+0{{{lon_sec|}}}*(1/3600))*{{#ifeq:{{{lon_dir}}}|W|-1|1}}}}|{{#expr:(0{{{lat|}}}+0{{{lat_deg|}}}+0{{{lat_min|}}}*(1/60)+0{{{lat_sec|}}}*(1/3600))*{{#ifeq:{{{lat_dir}}}|S|-1|1}}}}}}%}}"><div style="position:absolute;z-index:3;border-{{#if:{{{lon|}}}{{{long|}}}{{{lon_deg|}}}|left|top}}: {{{line_style|1px solid {{{line_color|red}}}}}};{{#if:{{{lon|}}}{{{long|}}}{{{lon_deg|}}}|width:1px;top:0;height:100%;|height:1px;left:0;right:0}}"></div>
<div style="position: absolute; z-index: 4; {{#switch:{{#if:{{{lon|}}}{{{long|}}}{{{lon_deg|}}}|V|H}}:{{{position|}}}|
|H:top-left        = top: -1.5em; left: 0.5em; text-align: left
|H:top-center      = top: -1.5em; left: 25%; width: 50%; text-align: center
|H:top-right|H:    = top: -1.5em; right: 0.5em; width: 100%; text-align: right
|H:bottom-left     = top: 0.3em; left: 0.5em; text-align: left
|H:bottom-center   = top: 0.3em; left: 25%; width: 50%; text-align: center
|H:bottom-right    = top: 0.3em; right: 0.5em; width: 100%; text-align: right
|V:top-left        = width: 20em; left: -20.5em; text-align: right; top: 0.3em
|V:center-left     = width: 20em; left: -20.5em; text-align: right; top: 48%
|V:bottom-left     = width: 20em; left: -20.5em; text-align: right; bottom: 0.5em
|V:top-right       = left: 0.5em; text-align: left; top: 0.3em
|V:center-right|V: = left: 0.5em; text-align: left; top: 48%
|V:bottom-right    = left: 0.5em; text-align: left; bottom: 0.5em
}}"><span style="background:{{{background|none}}};padding:0 2px;color:{{{color|black}}}">{{{label|}}}</span></div>
</div></includeonly>
<noinclude>
[[diq:Şablon:Location map-line/draw line]]
[[en:Template:Location map-line/draw line]]
[[es:Plantilla:Location map-line/draw line]]
[[fa:الگو:Location map-]]
[[ja:Template:Location map-line/draw line]]
[[ko:틀:위치 지도-]]
[[mk:Шаблон:ПозКарта-]]
[[nl:Sjabloon:Positiekaart-]]
[[os:Шаблон:ПозКартæ-]]
[[pt:Predefinição:Location map-]]
[[ro:Format:Location map-line/draw line]]
[[ru:Шаблон:ПозКарта-]]
</noinclude>