Vorlage:Positionskarte+: Unterschied zwischen den Versionen

Aus HuskyWiki
Keine Bearbeitungszusammenfassung
de>Hgzh
Farben zentralisiert, vertical-align zur Vermeidung von Abstand über der Beschreibung eingefügt
Zeile 6: Zeile 6:
   |#default= style="margin: 0 1em;
   |#default= style="margin: 0 1em;
   }}
   }}
   background-color: {{#if:{{{background|}}}|{{{background}}}|#f9f9f9}};
   background-color: {{#if:{{{background|}}}|{{{background}}}|var(--dewiki-hintergrundfarbe1);}};
   border: {{#switch:{{#if:{{{caption|x}}}|{{{border|}}}|none}}|none=none|=1px solid #CCC|#default=1px solid {{{border|#CCC}}}}};
  color: inherit;
   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; 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|link=|{{#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; 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}}  

Version vom 18. Juni 2024, 13:04 Uhr

Positionskarte+ (Erde)
Positionskarte+ (Erde)
Positionskarte+ (Erde)

expandTemplate: template "MediaWiki-Button" does not exist