Vorlage:Positionskarte+: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
K 1 Version importiert |
||
(10 dazwischenliegende Versionen von 3 Benutzern werden nicht angezeigt) | |||
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 6: | Zeile 6: | ||
|#default= style="margin: 0 1em; | |#default= style="margin: 0 1em; | ||
}} | }} | ||
background-color: {{#if:{{{background|}}}|{{{background}}}| | background-color: {{#if:{{{background|}}}|{{{background}}}|var(--dewiki-hintergrundfarbe1);}}; | ||
border: {{#switch:{{#if:{{{caption|x}}}|{{{border|}}}|none}}|none=none|=1px solid # | color: var(--color-base, #202122); | ||
border: {{#switch:{{#if:{{{caption|x}}}|{{{border|}}}|none}}|none=none|=1px solid #{{Standardfarbe|rahmen|thumb}}|#default=1px solid {{{border|#{{Standardfarbe|rahmen|thumb}}}}}}}; | |||
border-collapse: collapse; | border-collapse: collapse; | ||
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| | <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; vertical-align: top; {{#switch:{{{border|}}}|none=border: none;|=margin:{{#if:{{{caption|x}}}|3|0}}px; border: 1px solid #{{Standardfarbe|rahmen|thumb}};|#default=margin:3px; border: 1px solid {{{border|#{{Standardfarbe|rahmen|thumb}}}}};}}">[[Datei:{{#if: {{{Alternativkarte|}}} | {{{Alternativkarte}}} | {{Positionskarte {{{1|Erde}}}|image|{{{maptype|}}} }} }}|{{#if: {{{places|}}} | class=noviewer notpageimage{{!}} | }}{{#if:{{{width|x}}}|{{{width|240}}}px|frameless{{!}}upright=1}}|center|{{#if: {{{label|}}} | ||
| {{{label}}} | | {{{label}}} | ||
| {{PAGENAME}} | | {{PAGENAME}} | ||
Zeile 17: | Zeile 18: | ||
{{#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}} |