Vorlage:Boxenlayout1: Unterschied zwischen den Versionen

Aus Xhodon
Wechseln zu: Navigation, Suche
Zeile 34: Zeile 34:
 
{{!)}}
 
{{!)}}
 
}}
 
}}
| style="width:50%; padding-left:0.5em; padding-right:1px; vertical-align:top;" |
+
| style="width:50%; padding-left:0.5em; vertical-align:top;" |
 +
<div>
 
{| celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Farbe_Rahmen|#808080}}};"
 
{| celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Farbe_Rahmen|#808080}}};"
 
! style="border-bottom:1px solid {{{Farbe_Rahmen|#808080}}}; background-color:{{{Farbe_Titel|#FFCC99}}};" | {{{Titel_Rechts_1|&nbsp;}}}
 
! style="border-bottom:1px solid {{{Farbe_Rahmen|#808080}}}; background-color:{{{Farbe_Titel|#FFCC99}}};" | {{{Titel_Rechts_1|&nbsp;}}}
Zeile 40: Zeile 41:
 
| style="padding:0.5em 1em;" |
 
| style="padding:0.5em 1em;" |
 
{{{Inhalt_Rechts_1|&nbsp;<br>}}}
 
{{{Inhalt_Rechts_1|&nbsp;<br>}}}
|}
+
|}</div>
 
{{#if: {{{Titel_Rechts_2|}}} |
 
{{#if: {{{Titel_Rechts_2|}}} |
 +
<div>
 
{{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Farbe_Rahmen|#808080}}};"
 
{{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Farbe_Rahmen|#808080}}};"
 
! style="border-bottom:1px solid {{{Farbe_Rahmen|#808080}}}; background-color:{{{Farbe_Titel|#FFCC99}}};" {{!}} {{{Titel_Rechts_2|&nbsp;}}}
 
! style="border-bottom:1px solid {{{Farbe_Rahmen|#808080}}}; background-color:{{{Farbe_Titel|#FFCC99}}};" {{!}} {{{Titel_Rechts_2|&nbsp;}}}
Zeile 48: Zeile 50:
 
{{{Inhalt_Rechts_2|&nbsp;<br>}}}
 
{{{Inhalt_Rechts_2|&nbsp;<br>}}}
 
{{!)}}
 
{{!)}}
 +
</div>
 
}}
 
}}
 
{{#if: {{{Titel_Rechts_3|}}} |
 
{{#if: {{{Titel_Rechts_3|}}} |
 +
<div>
 
{{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Farbe_Rahmen|#808080}}};"
 
{{(!}} celltabbing="0" cellspacing="0" style="margin-bottom:1em; width:100%; border:1px solid {{{Farbe_Rahmen|#808080}}};"
 
! style="border-bottom:1px solid {{{Farbe_Rahmen|#808080}}}; background-color:{{{Farbe_Titel|#FFCC99}}};" {{!}} {{{Titel_Rechts_3|&nbsp;}}}
 
! style="border-bottom:1px solid {{{Farbe_Rahmen|#808080}}}; background-color:{{{Farbe_Titel|#FFCC99}}};" {{!}} {{{Titel_Rechts_3|&nbsp;}}}
Zeile 56: Zeile 60:
 
{{{Inhalt_Rechts_3|&nbsp;<br>}}}
 
{{{Inhalt_Rechts_3|&nbsp;<br>}}}
 
{{!)}}
 
{{!)}}
 +
</div>
 
}}
 
}}
 
|}</includeonly><noinclude>
 
|}</includeonly><noinclude>

Version vom 11. Dezember 2008, 12:04 Uhr

Beispiel

Titel_Kopf

Inhalt_Kopf

Titel_Links_1

Inhalt_Links_1

Titel_Links_2

Inhalt_Links_2

Titel_Links_3

Inhalt_Links_3

Titel_Rechts_1

Inhalt_Rechts_1

Titel_Rechts_2

Inhalt_Rechts_2

Titel_Rechts_3

Inhalt_Rechts_3

Verwendung

  • Nur wenn Titel_Kopf angegeben ist, erhält der Kopfbereich eine farbige Titelzeile.
  • Es gibt immer in jeder Spalte mindestens eine Box. Weitere Boxen darunter werden nur angezeigt, wenn Titel angegeben werden.
  • Sind keine Farben angegeben, werden die Standardfarben #808080 und #FFCC99 verwendet.
  • Wenn Tabellen als Parameter übergeben werden sollen, so müssen diese mit den Ersatzkonstruktionen {{!}} u.ä. statt der pipes | gebildet werden.

Vorlage

{{Boxenlayout1
|Farbe_Rahmen=#808080
|Farbe_Titel=#FFCC99

|Titel_Kopf=
|Inhalt_Kopf=

|Titel_Links_1=
|Inhalt_Links_1=

|Titel_Links_2=
|Inhalt_Links_2=

|Titel_Links_3=
|Inhalt_Links_3=

|Titel_Rechts_1=
|Inhalt_Rechts_1=

|Titel_Rechts_2=
|Inhalt_Rechts_2=

|Titel_Rechts_3=
|Inhalt_Rechts_3=
}}