Vorlage:Positionskarte/Rahmen: Unterschied zwischen den Versionen

Aus KKWiki
Zur Navigation springenZur Suche springen
K (fix)
K (float-fixes)
Zeile 3: Zeile 3:
 
  | table
 
  | table
 
}} class="positionskarte {{#if:{{{caption|x}}}
 
}} class="positionskarte {{#if:{{{caption|x}}}
  | thumb {{#switch: {{{float|}}}
+
  | thumb {{#if:{{{width|x}}}
  |left  = tleft" style="
+
  | {{#switch: {{{float|}}}
  |right = tright" style="
+
  |left  = tleft" style="
  |center= tnone centered" style="
+
  |right = tright" style="
  |inline= tnone" style="margin:0 1em; display:inline-{{#if:{{{width|x}}}
+
  |center= tnone center" style="<!-- geht leider nicht mit centered. Korrektes thumb-Verhalten wäre div.poskarte.center>div.thumb.tnone -->
   | block
+
  |inline= tnone" style="margin:0 1em; display:inline-block; <!-- mit caption inline? -->
   | table
+
  |#default= tnone" style="margin:0 1em;
  }}; <!-- mit caption inline? -->
+
  }}
  |#default= tnone" style="margin:0 1em;
+
  | {{#switch: {{{float|}}}
 +
   |left  = tleft" style="margin:0.5em 1.4em 1.3em 0;
 +
  |right = tright" style="margin:0.5em 0 1.3em 1.4em;
 +
  |center= tnone centered" style="
 +
   |inline= tnone" style="margin:0 1em; display:inline-table; <!-- mit caption inline? -->
 +
  |#default= tnone" style="margin:0 1em;
 +
  }}
 
  }}{{#if:{{{width|x}}}
 
  }}{{#if:{{{width|x}}}
 
   | "><div class="thumbinner" style="width:{{#ifeq: {{{border|}}} | none
 
   | "><div class="thumbinner" style="width:{{#ifeq: {{{border|}}} | none
Zeile 26: Zeile 32:
 
   |#default=1px solid {{{border}}}
 
   |#default=1px solid {{{border}}}
 
   }}; background-color:{{#if: {{{background|}}}
 
   }}; background-color:{{#if: {{{background|}}}
   | {{{background}}};
+
   | {{{background}}}
 
   | #f9f9f9
 
   | #f9f9f9
   }}<!--thumbinner-Emulation--> width:1px;<!-- IMPORTANT *** zentraler Bestandteil des table-Hacks für alle Browser ausser Firefox *** WICHTIG -->"><tr><td
+
   }};<!--thumbinner-Emulation--> width:1px;<!-- IMPORTANT *** zentraler Bestandteil des table-Hacks für alle Browser ausser Firefox *** WICHTIG -->"><tr><td
 
  }} class="thumbimage" style="{{#switch: {{{border|}}}
 
  }} class="thumbimage" style="{{#switch: {{{border|}}}
 
   |none=border:none;
 
   |none=border:none;

Version vom 27. Juli 2011, 10:56 Uhr

{{{places}}}

Magnify-clip.png
Positionskarte/Rahmen (Erde )

<span style="visibility:hidden" id="Dokumentation[Bearbeiten]"><span id="Anker:Dokumentation[Bearbeiten]">Dokumentation[Bearbeiten]