ከ«መለጠፊያ:Location map» ለውጦች መካከል ያለው ልዩነት

Content deleted Content added
No edit summary
No edit summary
መስመር፡ 1፦
<includeonly><div style="width: {{#expr: {{{width|240}}} + 2 }}px; {{#if: {{{caption|}}}
| width:{{#expr:{{#if:{{{width|}}}|{{{width}}}|240}} + 2 }}px; padding: 3px;{{#ifeq: {{{border|}}} | none || border: 1px solid {{#if: {{{border|}}} | {{{border}}} | #CCC }};}} margin: 3px;
| {{{labelborder|none}}}
| width:{{#if:{{{width|}}}|{{{width}}}|240}}px;
| #CCCCCC
}} float:{{#switch:{{{float|}}}|"center"|center=none|"left"|left=left|"right"|right=right|"none"|none=none|right}}; clear:{{#switch:{{{float|}}}|"center"|center=both|"left"|left=left|"right"|right=right|"none"|none=none|right}};{{#if: {{{caption|}}} | background:#F9F9F9; }}"><div style="position: relative;{{#if: {{{caption|}}}
}}; margin: 3px;
| {{#ifeq: {{{border|}}} | none || border: 1px solid {{#if: {{{border|}}} | {{{border}}} | #CCC}};}}
}} float:{{#switch:{{{float|}}}|"center"=none|center=none|"left"|left=left|"right"=right|left=left|right=right|"none"=none|none=none|right}}; clear:{{#switch:{{{float|}}}|"center"=both|center=both|"left"|left=left|"right"=right|left=left|right=right|"none"=none|none=none|right}}; {{#if: {{{caption|}}} | ;background:#F9F9F9;"|" }}"><div style="position: relative;{{#ififeq: {{{captionborder|}}} | none |
}} padding: 0px; width:{{#if:{{{width|}}}|{{{width}}}|240}}px">[[File:{{#if: {{{AlternativeMap|}}}|{{{AlternativeMap}}} |{{#if: {{{relief|}}}|{{#if: {{Location map {{{1}}}|image1}}|{{Location map {{{1}}}|image1}}|{{Location map {{{1|}}}|image}} }}|{{Location map {{{1|}}}|image}} }} }}|{{#if:{{{width|}}}|{{{width}}}|240}}px|{{#if:{{{alt|}}}|{{{alt}}}|{{#if:{{{label|}}}|{{{label}}}|{{PAGENAME}}}} is located in {{Location map {{{1}}}|name}}}}]]<br /><!-- Start marker -->{{Location map/marker
| top |border: 1px =solid {{#expr:{{#if:{{Location map {{{1border|}}}|y}}|
--> | {{{markborder}}}<!--
{{Location map {{{1}}}|y|{{Location map/decdeg
| {{#if:{{{caption|}}}|#CCCCCC|none}}
|dec = {{{lat|}}}
}};
|deg = {{{lat_deg|}}}
}} padding: 0px; width: {{{width|240}}}px">[[image:{{#if: {{{AlternativeMap|}}} | {{{AlternativeMap}}} | {{Location map {{{1}}}|image}} }}|{{{width|240}}}px|{{#if: {{{label|}}}
|min = {{{lat_min|}}}
|sec = | {{{lat_sec|label}}}
| {{PAGENAME}}
|hem = {{{lat_dir|}}}}}|{{Location map/decdeg
}} ({{Location map {{{1}}}|name}})]]<br /><div style="position: absolute; z-index: 2; top: {{#expr:
|dec = {{{long|}}}
100 * -->|({{Location map {{{1}}}|marktop}}<!- - {{#if: {{{lat_deg|}}}
|deg = {{{lon_deg|}}}
| {{#expr: {{#ifeq: {{{lat_dir|}}}|S|-1|1}} * ({{{lat_deg|0}}} + ({{{lat_min|0}}} / 60) + {{#if:{{{lat_sec|}}}|({{{lat_sec|0}}} / 3600)|0}}) }}
|min = {{{lon_min|}}}
|sec = | {{{lon_seclat|0}}}
|hem = {{{lon_dir|}}}}}}}|100) */ ({{Location map {{{1}}}|top}} - {{Location map/decdeg {{{1}}}|bottom}}) round 1
}}%; left: {{#expr:
|dec = {{{lat|}}}
|hem = {{{lon_dir|}}}}}}}|{{#expr:{{#if:{{Location map {{{1}}}|crosses180}}|{{#ifeq: {{{lon_dir|}}}|W|-36000/({{Location map {{{1}}}|left}}-{{Location map {{{1}}}|right}})|}}|}}}} + 100 * ({{Location#if: {{{lon_deg|}}} map/decdeg
|deg = {{{lat_deg|}}}
| {{#expr: {{#ifeq: {{{lon_dir|}}}|W|-1|1}} * ({{{lon_deg|0}}} + ({{{lon_min|0}}} / 60) + {{#if:{{{lon_sec|}}}|({{{lon_sec|0}}} / 3600)|0}}) }}
|min = {{{lat_min|}}}
|sec = | {{{lat_seclong|0}}}
|hem = }} - {{Location map {lat_dir|{{1}}}|left}}) / ({{Location map {{{1}}}|topright}} - {{Location map {{{1}}}|bottomleft}}) round 1
}}%; height: 0; width: 0; margin: 0; padding: 0;"><div style="position: relative; text-align: center; {{#if: {{{marksize|}}}
}}}}
| left: -{{#expr: {{{marksize}}} / 2 =round 0 }}px; top: -{{#expr: {{#if:{{Locationmarksize}}} map/ 2 round 0 }}px; width: {{{1marksize}}}|xpx; font-size: {{{marksize}}}px;
| left: -{{#expr: {{#if: {{Location map {{{1}}}|marksize}}|{{Location map {{{1}}}|marksize}}|8}} / 2 round 0 }}px; top: -{{#expr: {{#if: {{Location map {{{1}}}|marksize}}|{{Location map {{{1}}}|marksize}}|8}} / 2 round 0 }}px; width: {{#if: {{Location map {{{1}}}|marksize}}|{{Location map {{{1}}}|marksize}}|8}}px; font-size: {{#if: {{Location map {{{1}}}|marksize}}|{{Location map {{{1}}}|marksize}}|8}}px;
|{{Location map {{{1}}}|x|{{Location map/decdeg
|dec =}}">[[Image:{{#if: {{{latmark|}}}
|deg = | {{{lat_deg|mark}}}
| {{#if: {{Location map {{{1}}}|mark}}|{{Location map {{{1}}}|mark}}|Red pog2.svg<!--see Talk "Redundant marker"-->}}
|min = {{{lat_min|}}}
}}|sec ={{#if: {{{lat_secmarksize|}}}
|hem = | {{{lat_dir|marksize}}}}}|x{{Location{marksize}}} map/decdeg
|hem ={{#if: {{Location map {lon_dir|{{1}}}|marksize}} - |{{Location map {{{1}}}|leftmarksize}}) /|8}}x{{#if: ({{Location map {{{1}}}|rightmarksize}} - |{{Location map {{{1}}}|leftmarksize}}|8}}) round 1
|dec = {{{long|}}}
}}px|deg ={{#if: {{{lon_deglabel|}}}
|min = | {{{lon_min|label}}}
|sec = {{{lon_sec|}PAGENAME}}
}}]]</div>{{#ifeq: {{{position|}}} | none
|hem = {{{lon_dir|}}}}}}}|{{#expr:{{#if:{{Location map {{{1}}}|crosses180}}|{{#ifeq: {{{lon_dir|}}}|W|-36000/({{Location map {{{1}}}|left}}-{{Location map {{{1}}}|right}})|}}|}}}} + 100 * ({{Location map/decdeg
|
|dec = {{{long|}}}
|<div style="font-size: {{{label_size|90}}}%; line-height: 110%; position: relative; top: -1.5em; width: 6em; {{#switch: {{{position}}}
|deg = {{{lon_deg|}}}
|left = left: -6.5em; text-align: right;
|min = {{{lon_min|}}}
|right = left: 0.5em; text-align: left;
|sec = {{{lon_sec|}}}
|top = top:-2.65em; left:-3em; text-align: center;
|hem = {{{lon_dir|}}}}} - {{Location map {{{1}}}|left}}) / ({{Location map {{{1}}}|right}} - {{Location map {{{1}}}|left}}) round 1
|bottom = top:-0.15em; left: -3em; text-align: center;
}}}}
|left: 0.5em; text-align: left;
|marksize = {{#if:{{{marksize|}}}<!--
}}"><span style="padding: 1px; {{#if: {{{background|}}}
-->|{{{marksize}}}<!--
| background =-color: {{{background|}}};
-->|{{#if:{{Location map {{{1}}}|marksize}}<!--
}}">{{{label|}}}</span></div>
-->|{{Location map {{{1}}}|marksize}}<!--
}}<!-- End marker --/div></div><div style="font-size: 90%">{{{caption|{{#if: {{{label|}}}
-->|8<!--
-->| {{{label}}<!--}
| {{PAGENAME}}
-->}}
}} ({{Location map {{{1}}}|name}})}}}</div></div></includeonly><noinclude>
|mark = {{#ifexist:media:{{{mark}}}<!--
-->|{{{mark}}}<!--
-->|{{#ifexist:media:{{Location map {{{1}}}|mark}}<!--
-->|{{Location map {{{1}}}|mark}}<!--
-->|Red pog.svg<!--
-->}}<!--
-->}}
|z-index = 2
|position = {{{position|}}}
|label_size = {{#if:{{{label_size|}}}|{{{label_size}}}|90}}
|background = {{{background|}}}
|label = {{{label|}}}
}}<!-- End marker --></div><div style="font-size: 90%">{{{caption|{{#if: {{{label|}}}
| {{{label}}}
| {{PAGENAME}}
}} ({{Location map {{{1}}}|name}})}}}</div></div></includeonly><noinclude>
{{documentation}}
</noinclude>