תבנית:Mapframe: הבדלים בין גרסאות בדף

תוכן שנמחק תוכן שנוסף
אין תקציר עריכה
אין תקציר עריכה
שורה 1:
<includeonly>{{#invoke:map
<includeonly><div class="center"><div id="mapwrap" class="thumb t{{#if:{{{align|}}}|{{{align}}}|right}}"><div class="thumbinner" style="width:{{{width|420}}}px"><div id="mapdiv" data-lat="{{{1|51.47766}}}" data-long="{{{2|-0.00115}}}" data-zoom="{{{zoom|14}}}" data-height="{{{height|420}}}" data-width="{{{width|420}}}" data-layer="{{{layer|W}}}">{{#if:{{{staticmap|}}}|[[File:{{{staticmap|}}}|frameless|{{{width|400}}}px]]}}</div><!--
| tag
--><div class="thumbcaption noprint">{{fullscreen}}{{#if:{{{staticmap|}}}|Other maps for {{#if: {{{name|}}}|{{{name}}}|{{BASICPAGENAME}}}}: [{{PoiMap2|{{{1|51.47766}}}|{{{2|-0.00115}}}|{{{zoom|14}}}|{{{layer|W}}}}} Full-screen version]&nbsp;-&nbsp;[[:file:{{{staticmap|}}}|printable static map]].|[{{PoiMap2|{{{1|51.47766}}}|{{{2|-0.00115}}}|{{{zoom|14}}}|{{{layer|W}}}}} <span style="font-size:150%">צפייה במפה מוגדלת של {{#if: {{{name|}}}|{{{name}}}|{{BASICPAGENAME}}}}]}} <small>{{#ifexist:Template:GPX/{{PAGENAME}}|[[Template:GPX/{{PAGENAME}}|<span id="GPX-track">(Edit GPX)</span>{{GPX indicator}}]]}}</small></div></div></div></div>{{#if:{{{align|}}}|{{#if:{{NAMESPACE}}|{{ns:0}}|[[Category:Maps with non-default alignment]]}}}}{{#if:{{{height|}}}|{{#if:{{NAMESPACE}}|{{ns:0}}|[[Category:Maps with non-default size]]}}}}{{#if:{{{width|}}}|{{#if:{{NAMESPACE}}|{{ns:0}}|[[Category:Maps with non-default size]]}}}}{{#if:{{NAMESPACE}}|{{ns:0}}|[[Category:Has mapframe]]}}</includeonly><noinclude>{{documentation}}</noinclude>
| type=mapframe
| zoom={{{zoom|auto}}}
| align = {{{align|right}}}
| show= {{{show | mask,around,buy,city,do,drink,eat,go,listing,other,see,sleep,vicinity,view,black,blue,brown,chocolate,forestgreen,gold,gray,grey,lime,magenta,maroon,mediumaquamarine,navy,red,royalblue,silver,steelblue,teal,fuchsia }}}
| latitude={{{1|}}}
| longitude={{{2|}}}
| text = {{#switch: {{{zoom|}}}
| 17 | 16 | 15 | 14 |13 | 12 | 11 | 10 | 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1
| 0 = <div class="magnify" title="Enlarge map">{{maplink|{{{1|0}}}|{{{2|0}}}|zoom={{#expr: {{{zoom|}}} + 1 }} |class=no-icon}}</div>
}}{{{name|מפת {{SUBPAGENAME}}}}}<!--
-->{{#ifexist: Template:GPX/{{PAGENAME}} | <small id="GPX-track"> [[Template:GPX/{{PAGENAME}}|(Edit GPX)]]</small>{{GPX indicator}} }}<!--
-->{{#if: {{{staticmap|}}} | <div class="wv-staticMap">[[File:{{{staticmap|}}}|{{#expr: {{{width|400}}} - 2 }}px|border|{{{name|מפת {{SUBPAGENAME}}}}}]]</div> }}
}}{{#ifeq: {{NAMESPACE}} | {{ns:0}}
| [[Category:Has mapframe]]<!--
-->{{#if: {{{staticmap|}}} | [[Category:Maps with static images]] }}<!--
-->{{#if: {{{align|}}} | [[Category:Maps with non-default alignment]] }}<!--
-->{{#if: {{{height|}}}{{{width|}}} | [[Category:Maps with non-default size]] }}<!--
-->{{#ifexist: Template:GPX/{{PAGENAME}} | [[Category:Maps with GPX indicator]] }}
}}</includeonly><noinclude>{{documentation}}</noinclude>