Templat:Peta lokasi+: Perbezaan antara semakan

Kandungan dihapus Kandungan ditambah
k aik? tak menjadi pula
k uji
Baris 1:
<includeonly><div style="width: {{#exprifeq: {{{widthfloat|240}}} + 2 }}px; {{#if: {{{caption|}}}center|<div class="center">
}}<div {{#if:{{{caption|}}}|class="thumb {{#switch:{{{float|}}}
| padding: 3px; border: 1px solid {{#if: {{{border|}}}
| "left" | left = tleft
| {{{border|none}}}
| "right" | #CCCCCCright = tright
| "center" | center = tnone
}}; margin: 3px;
| "none" | none = tnone
}} {{#ifeq:{{{float}}}|center||float:}}{{#switch:{{{float|}}}|"center"=|center=|"left"=left|"right"=right|left=left|right=right|right}};{{#ifeq:{{{float}}}|center||clear:}}{{#switch:{{{float|}}}|"center"=|center=|"left"=left|"right"=right|left=left|right=right|right}}; {{#if: {{{caption|}}} | ;background:#F9F9F9"|" }}><div style="position: relative;{{#ifeq: {{{border|}}} | none |
| #default = tright }}"
|border: 1px solid {{#if: {{{border|}}}
| style="width:{{Location map+/width | 1={{{1|}}} | width={{{width|}}} | default_width={{{default_width|}}} }}px; {{#switch:{{{float|}}}
| {{{border}}}
| "left" | left = float: left; clear: left
| #CCCCCC
| "right" | right = float: right; clear: right
}};
| "center" | center = float: none; clear: both; margin-left: auto; margin-right: auto
}} padding: 0px; width: {{{width|240}}}px">[[Fail:{{#if: {{{AlternativeMap|}}} | {{{AlternativeMap}}} | {{Location map {{{1|Germany}}}|image}} }}|{{{width|240}}}px|alt={{{alt|}}}|{{#if: {{{label|}}}
| "none" | none = float: none; clear: none
| {{{label}}}
| #default = float: right; clear: right}}"
| {{PAGENAME}}
}}>
}} ({{Location map {{{1|Germany}}}|name}})]]<br />{{{places}}}</div><div style="font-size: 90%">{{{caption|{{#if: {{{label|}}}
|<div {{#if:{label{{caption|}}}
| 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}}}}};}}"
| {{PAGENAME}}
| style="width:{{Location map+/width | 1={{{1|}}} | width={{{width|}}} | default_width={{{default_width|}}} }}px; padding:0"
}} ({{Location map {{{1|Germany}}}|name}})}}}</div></div></includeonly><noinclude>
}}>
{{template doc}}
<div style="position: relative; {{#if:{{{caption|}}}
{{DEFAULTSORT:{{PAGENAME}}}}
| {{#if:{{{border|}}}
[[kbd:Template:Location map+]]
| {{#ifeq:{{{border|}}}|none||border: 1px solid lightgray}}
[[af:Sjabloon:Location map+]]
| border: 1px solid lightgray}}}}"><!--
[[ar:قالب:خارطة مواقع+]]
-->[[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}}}} is located in {{Location map {{{1}}}|name}}}}]]<!--
[[as:সাঁচ:Location map+]]
-->{{#if:{{{overlay_image|}}}
[[az:Şablon:Yer xəritəsi+]]
| <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>}}<!--
[[id:Templat:Location map+]]
 
[[ba:Ҡалып:ПозКарта+]]
-->{{{places|}}}<!--
[[be:Шаблон:На карце+]]
 
[[be-x-old:Шаблён:Лякалізацыйная мапа/Пункты]]
--></div>
[[bg:Шаблон:ПК+]]
<div {{#if:{{{caption|}}}|class="thumbcaption"|style="font-size: 90%; padding-top:3px"}}>{{#if:{{{caption_undefined|}}}
[[ca:Plantilla:Location map+]]
| {{#if: {{{label|}}}
[[cv:Шаблон:ПозКартти+]]
| {{{label}}}
[[cs:Šablona:LocMap vícenásobně]]
| {{PAGENAME}}
[[da:Skabelon:Kortpositioner+]]
}} ({{Location map {{{1}}}|name}})
[[de:Vorlage:Positionskarte+]]
| {{{caption|{{#if: {{{label|}}}
[[dsb:Pśedłoga:LocMap+]]
| {{{label}}}
[[et:Mall:Asendikaart+]]
| {{PAGENAME}}
[[en:Template:Location map+]]
}} ({{Location map {{{1}}}|name}}) }}}
[[es:Plantilla:Mapa de localización+]]
}}
[[eo:Ŝablono:Situo sur mapo/+]]
</div>
[[eu:Txantiloi:Kokapen mapa+]]
</div>
[[gag:Şablon:Location map+]]
</div>{{#ifeq:{{{float|}}}|center|
[[xal:Кевләр:ПозКарта+]]
</div>}}</includeonly><noinclude>{{dokumentasi}}</noinclude>
[[ko:틀:위치 지도+]]
[[hy:Կաղապար:Տեղորոշման քարտեզ+]]
[[hi:साँचा:Location map+]]
[[hsb:Předłoha:LocMap+]]
[[hr:Predložak:Lokacijska karta+]]
[[os:Хуызæг:ПозКартæ+]]
[[it:Template:Mappa di localizzazione+]]
[[ka:თარგი:პოზრუკა+]]
[[kk:Үлгі:ПозКарта+]]
[[ku:Şablon:Nexşeya cihan+]]
[[lt:Šablonas:Location map+]]
[[krc:Шаблон:Геолокализация+]]
[[koi:Шаблон:ПозКарта+]]
[[mn:Загвар:Location map+]]
[[nl:Sjabloon:Positiekaart+]]
[[ne:ढाँचा:Location map+]]
[[ja:Template:Location map+]]
[[no:Mal:Kartposisjon+]]
[[mhr:Кышкар:ПозКарта+]]
[[pt:Predefinição:Location map+]]
[[ru:Шаблон:ПозКарта+]]
[[rue:Шаблона:ПозКарта+]]
[[simple:Template:Location map+]]
[[sl:Predloga:Lokacijska karta+]]
[[fi:Malline:Location map+]]
[[tt:Калып:ПозХарита+]]
[[th:แม่แบบ:Location map+]]
[[vi:Bản mẫu:Bản đồ định vị+]]
[[tr:Şablon:Harita konum+]]
[[uk:Шаблон:Карта розташування+]]
[[yo:Àdàkọ:Location map+]]
[[diq:Şablon:Location map+]]
[[zh:Template:Location map+]]
</noinclude>