Templat:Peta lokasi+: Perbezaan antara semakan

tiada ringkasan suntingan
Tiada ringkasan suntingan
Tiada ringkasan suntingan
<includeonly>{{peta#ifeq:{{{float|}}}|center|<div lokasi+class="center">
}}<div {{#if:{{{caption|}}}|class="thumb {{#switch:{{{float|}}}
| {{{1|World}}}
| "left" | left = tleft
| border = {{{border|}}}
| "right" | right = tright
| alt = {{{alt|}}}
| "center" | center = tnone
| caption_undefined = {{#ifeq: {{{caption|+}}} | {{{caption|-}}} || defined }}
| "none" | none = tnone
| caption = {{{caption|}}}
| label#default = {{{label|}tright }}"
| style="width:{{Location map+/width | 1={{{1|}}} | width={{{width|}}} | default_width={{{default_width|}}} }}px; {{#switch:{{{float|}}}
| float = {{{float|}}}
| "left" | left = float: left; clear: left
| width = {{{width|}}}
| "right" | right = float: right; clear: right
| default_width = {{{default_width|}}}
| "center" | center = float: none; clear: both; margin-left: auto; margin-right: auto
| relief= {{{relief|}}}
| "none" | none = float: none; clear: none
| AlternativeMap = {{{AlternativeMap|}}}
| #default = float: right; clear: right}}"
| overlay_image = {{{overlay_image|}}}
}}>
| places = {{Peta lokasi~
<div | {{#if:{{{1caption|World}}}
| class="thumbinner" style="width:{{#expr: {{Location map+/width | 1={{{1|}}} | width={{{width|}}} | default_width={{{default_width|}}} }} + 2 }}px; {{#if:{{{border|}}}|{{#ifeq:{{{border|}}}|none|border: none|border-color:{{{border}}}}};}}"
| label = {{{label|}}}
| style="width:{{Location map+/width | 1={{{1|}}} | width={{{width|}}} | default_width={{{default_width|}}} }}px; padding:0"
| label_size = {{{label_size|}}}
}}>
| label_width = {{{label_width|}}}
<div style="position: relative; {{#if:{{{caption|}}}
| mark = {{{mark|}}}
| marksize = {{#if:{marksize{{border|}}}
| {{#ifeq:{{{border|}}}|none||border: 1px solid lightgray}}
| alt = {{{alt|}}}
| border: 1px solid lightgray}}}}"><!--
| position = {{{position|}}}
-->[[file:{{#if:{{{AlternativeMap|}}}|{{{AlternativeMap}}}|{{#if:{{{relief|}}}|{{#if:{{Location map {{{1}}}|image1}}|{{Location map {{{1}}}|image1}}|{{Location map {{{1|}}}|image}} }}|{{Location map {{{1|}}}|image}} }} }}|{{Location map+/width | 1={{{1|}}} | width={{{width|}}} | default_width={{{default_width|}}} }}px|{{#if:{{{alt|}}}|{{{alt}}}|{{#if:{{{label|}}}|{{{label}}}|{{PAGENAME}}}} yang terletak di {{Location map {{{1}}}|name}}}}]]<!--
| background = {{{background|}}}
| overlay_image = -->{{#if:{{{overlay_image|}}}
| link = {{{link|}}}
| <div style="position:absolute; z-index: 1; top: 0; left: 0">[[File:{{{overlay_image}}} |{{Location map+/width | 1={{{1|}}} | width={{{width|}}} | default_width={{{default_width|}}} }}px|link=file:{{#if: {{{AlternativeMap|}}}|{{{AlternativeMap}}} |{{#if: {{{relief|}}}|{{#if: {{Location map {{{1}}}|image1}}|{{Location map {{{1}}}|image1}}|{{Location map {{{1|}}}|image}} }}|{{Location map {{{1|}}}|image}} }} }}]]</div>}}<!--
| lat_dir = {{{lat_dir|}}}
 
| lat_deg = {{{lat_deg|}}}
| lat_min = -->{{{lat_minplaces|}}}<!--
 
| lat_sec = {{{lat_sec|}}}
--></div>
| lon_deg = {{{lon_deg|}}}
<div {{#if:{{{caption|}}}|class="thumbcaption"|style="font-size: 90%; padding-top:3px"}}>{{#if:{{{caption_undefined|}}}
| lon_min = {{{lon_min|}}}
| lon_sec ={{#if: {{{lon_seclabel|}}}
| lon_dir =| {{{lon_dir|label}}}
| lat =| {{{lat|}PAGENAME}}
| long =}} ({{Location map {long|{{1}}}|name}})
| caption =| {{{caption|{{#if: {{{label|}}}
}}
| {{{1|Worldlabel}}}
}}</includeonly><noinclude>{{documentation}}</noinclude>
| alt =| {{{alt|}PAGENAME}}
}} ({{Location map {{{1}}}|name}}) }}}
}}
</div>
</div>
</div>{{#ifeq:{{{float|}}}|center|
</div>}}</includeonly><noinclude>{{documentationdokumentasi}}</noinclude>
36,357

suntingan