Vorlage:Positionskarte+: Unterschied zwischen den Versionen

keine Bearbeitungszusammenfassung
K (Änderungen von Gohabsgo (Diskussion) wurden auf die letzte Version von Hessentotal zurückgesetzt)
Keine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
<table {{#switch: {{{float|}}}
<onlyinclude><table {{#switch: {{{float|}}}
   |left  = class="float-left" style="margin-right: 1em;
   |left  = class="float-left" style="margin-right: 1em;
   |right = class="float-right" style="margin-left: 1em;
   |right = class="float-right" style="margin-left: 1em;
Zeile 11: Zeile 11:
   width: 1px;<!-- IMPORTANT *** für alle Browser ausser Firefox *** WICHTIG -->
   width: 1px;<!-- IMPORTANT *** für alle Browser ausser Firefox *** WICHTIG -->
">
">
<tr><td style="border: none; padding: 0;"><div style="position: relative; z-index: 0; padding: 0; {{#switch:{{{border|#CCC}}}|none=border: none;|=margin:{{#if:{{{caption|x}}}|3|0}}px; border: 1px solid #CCC;|#default=margin:3px; border: 1px solid {{{border|#CCC}}};}}">[[Bild:{{#if: {{{Alternativkarte|}}} | {{{Alternativkarte}}} | {{Positionskarte {{{1|Erde}}}|image|{{{maptype|}}} }} }}|{{#if:{{{width|x}}}|{{{width|240}}}px|frameless{{!}}upright=1}}|center|{{#if: {{{label|}}}
<tr><td style="border: none; padding: 0; text-align: center;"><div style="position: relative; z-index: 0; padding: 0; display: inline-block; width: -webkit-max-content; width: -moz-max-content; width: max-content; {{#switch:{{{border|#CCC}}}|none=border: none;|=margin:{{#if:{{{caption|x}}}|3|0}}px; border: 1px solid #CCC;|#default=margin:3px; border: 1px solid {{{border|#CCC}}};}}">[[Bild:{{#if: {{{Alternativkarte|}}} | {{{Alternativkarte}}} | {{Positionskarte {{{1|Erde}}}|image|{{{maptype|}}} }} }}|{{#if:{{{width|x}}}|{{{width|240}}}px|frameless{{!}}upright=1}}|center|{{#if: {{{label|}}}
   | {{{label}}}  
   | {{{label}}}  
   | {{PAGENAME}}  
   | {{PAGENAME}}  
Zeile 17: Zeile 17:
{{#if:{{{caption|x}}}
{{#if:{{{caption|x}}}
|<tr style="font-size: 90%"><td style="border: none;"><div style="margin: 0 0.3em">{{{caption|{{#if: {{{label|}}}|{{{label}}}|{{PAGENAME}}}} ({{Positionskarte {{{1|Erde}}}|name}})}}}</div></td></tr>
|<tr style="font-size: 90%"><td style="border: none;"><div style="margin: 0 0.3em">{{{caption|{{#if: {{{label|}}}|{{{label}}}|{{PAGENAME}}}} ({{Positionskarte {{{1|Erde}}}|name}})}}}</div></td></tr>
}}</table>
}}</table></onlyinclude>
 
{{Dokumentation}}