Padron:Location map: Pagkakaiba sa mga binago

Content deleted Content added
m remove protection template from unprotected page using AWB
http://en.wikipedia.org/w/index.php?title=Template:Location_map&oldid=437075427
Linya 1:
<includeonly>{{location map+
<includeonly><div style="width: {{#expr: {{{width|240}}} + 2 }}px; {{#if: {{{caption|}}}
| {{{label1|World}}}
| padding: 3px; border: 1px solid {{#if: {{{border|}}}
| border |= {{{border|none}}}
| alt |= {{{labelalt|}}}
| #CCCCCC
| caption_undefined = {{#ifeq: {{{caption|+}}} | {{{caption|-}}} || defined }}
}}; margin: 3px;
| caption = {{{caption|}}}
}} float:{{#switch:{{{float|}}}|"center"=none|center=none|"left"=left|"right"=right|left=left|right=right|"none"=none|none=none|right}}; clear:{{#switch:{{{float|}}}|"center"=both|center=both|"left"=left|"right"=right|left=left|right=right|"none"=none|none=none|right}}; {{#if: {{{caption|}}} | ;background:#F9F9F9"|" }}><div style="position: relative;{{#ifeq: {{{border|}}} | none |
|border: 1pxlabel solid= {{#if: {{{borderlabel|}}}
| float |= {{{borderfloat|}}}
| width |= {{#if:{{{captionwidth|}}}|#CCCCCC|none}}
| relief= {{{relief|}}}
}};
}} padding: 0px; width: {{{width|240}}}px">[[image:{{#if: {{{AlternativeMap|}}} |= {{{AlternativeMap}}} | {{Location map {{{1}}}|image}} }}|{{{width|240}}}px|{{#if: {{{label|}}}
| overlay_image |= {{{labeloverlay_image|}}}
| places |= {{PAGENAME}}Location map~
| {{PAGENAME{1|World}}}
}} ({{Location map {{{1}}}|name}})]]<br /><div style="position: absolute; z-index: 2; top: {{#expr:
}}px |{{#if: label = {{{label|}}}
100 * ({{Location map {{{1}}}|top}} - {{#if: {{{lat_deg|}}}
| label_size = {{{label_size|}}}
| {{#expr: {{#ifeq: {{{lat_dir|}}}|S|-1|1}} * ({{{lat_deg|0}}} + ({{{lat_min|0}}} / 60) + {{#if:{{{lat_sec|}}}|({{{lat_sec|0}}} / 3600)|0}}) }}
| mark |= {{{latmark|0}}}
| marksize = {{{marksize|}}}
}}) / ({{Location map {{{1}}}|top}} - {{Location map {{{1}}}|bottom}}) round 1
| alt = {{{alt}}}
}}%; left: {{#expr:
| position = {{{position|}}}
{{#expr:{{#if:{{Location map {{{1}}}|crosses180}}|{{#ifeq: {{{lon_dir|}}}|W|-36000/({{Location map {{{1}}}|left}}-{{Location map {{{1}}}|right}})|}}|}}}} + 100 * ({{#if: {{{lon_deg|}}}
| background-color: = {{{background|}}};
| {{#expr: {{#ifeq: {{{lon_dir|}}}|W|-1|1}} * ({{{lon_deg|0}}} + ({{{lon_min|0}}} / 60) + {{#if:{{{lon_sec|}}}|({{{lon_sec|0}}} / 3600)|0}}) }}
| link |= {{{longlink|0}}}
| lat_dir = {{{lat_dir|}}}
}} - {{Location map {{{1}}}|left}}) / ({{Location map {{{1}}}|right}} - {{Location map {{{1}}}|left}}) round 1
| lat_deg = {{{lat_deg|}}}
}}%; height: 0; width: 0; margin: 0; padding: 0;"><div style="position: relative; text-align: center; {{#if: {{{marksize|}}}
| lat_min = {{{lat_min|}}}
| left: -{{#expr: {{{marksize}}} / 2 round 0 }}px; top: -{{#expr: {{{marksize}}} / 2 round 0 }}px; width: {{{marksize}}}px; font-size: {{{marksize}}}px;
| lat_sec = {{{lat_sec|}}}
| 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;
}}">[[Image:{{#if: | lon_deg = {{{marklon_deg|}}}
| lon_min = {{{marklon_min|}}}
| lon_sec = {{{lon_sec|}}}
| {{#if: {{Location map {{{1}}}|mark}}|{{Location map {{{1}}}|mark}}|Red pog.svg}}
}} |{{#if: lon_dir = {{{marksizelon_dir|}}}
| lat = {{{marksizelat|}}}x{{{marksize}}}
| long = {{{long|}}}
| {{#if: {{Location map {{{1}}}|marksize}}|{{Location map {{{1}}}|marksize}}|8}}x{{#if: {{Location map {{{1}}}|marksize}}|{{Location map {{{1}}}|marksize}}|8}}
}};
}}px|{{#if: {{{label|}}}
}}</includeonly><noinclude>{{documentation}}</noinclude>
| {{{label}}}
| {{PAGENAME}}
}}]]</div>{{#ifeq: {{{position|}}} | none
|
|<div style="font-size: {{{label_size|90}}}%; line-height: 110%; position: relative; top: -1.5em; width: 6em; {{#switch: {{{position}}}
|left = left: -6.5em; text-align: right;
|right = left: 0.5em; text-align: left;
|top = top:-2.65em; left:-3em; text-align: center;
|bottom = top:-0.15em; left: -3em; text-align: center;
|left: 0.5em; text-align: left;
}}"><span style="padding: 1px; {{#if: {{{background|}}}
| background-color: {{{background}}};
}}">{{{label|}}}</span></div>
}}</div></div><div style="font-size: 90%">{{{caption|{{#if: {{{label|}}}
| {{{label}}}
| {{PAGENAME}}
}} ({{Location map {{{1}}}|name}})}}}</div></div></includeonly><noinclude>
 
{{template doc}}
</noinclude>