Vorlage:Flexbox: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
267 Bytes hinzugefügt ,  28. März 2008
K
Vorlage erweitert um optionale Parameter ''textstyle'' und ''titlestyle'', beide sind per default ungesetzt.
K (noch etwas tweaking...)
K (Vorlage erweitert um optionale Parameter ''textstyle'' und ''titlestyle'', beide sind per default ungesetzt.)
Zeile 3: Zeile 3:
     color: {{{titlecolor|{{{bgcolor|white}}}}}};
     color: {{{titlecolor|{{{bgcolor|white}}}}}};
     font-weight:bold; font-size:125%;  
     font-weight:bold; font-size:125%;  
     -moz-border-radius:3px 3px 0px 0px; padding:2px;">{{{title}}}</div>
     -moz-border-radius:3px 3px 0px 0px; padding:2px; {{{titlestyle}}};">{{{title}}}</div>
<div style="padding: 5px;  
<div style="padding: 5px;  
     border: 1px solid {{{color|#136381}}}; border-top-width:0px;  
     border: 1px solid {{{color|#136381}}}; border-top-width:0px;  
     color: {{{textcolor|black}}};  
     color: {{{textcolor|black}}};  
     -moz-border-radius:0px 0px 3px 3px;
     -moz-border-radius:0px 0px 3px 3px;
     background-color:{{{bgcolor|#f6fcfe}}}">
     background-color:{{{bgcolor|#f6fcfe}}} {{{textstyle}}}">
{{{text}}}
{{{text}}}
</div></div></includeonly><noinclude>
</div></div></includeonly><noinclude>
Zeile 17: Zeile 17:
  ! Parameter !! Beschreibung  
  ! Parameter !! Beschreibung  
  |-
  |-
  | style || CSS-Fragment (optional)
  | style || CSS-Fragment für das Gesamtobjekt (optional, z.B. <code>float:right;width:200px;</code>)
  |-
  |-
  | bgcolor || Hintergrundfarbe (optional, default: #f6fcfe)
  | bgcolor || Hintergrundfarbe (optional, default: #f6fcfe)
Zeile 25: Zeile 25:
  | text || Boxinhalt
  | text || Boxinhalt
  |-
  |-
  | textcolor || Textfarbe innerhalb der Box (optional, default: black)
  | textcolor || Textfarbe Boxinhalt (optional, default: black)
|-
| textstyle || CSS-Fragment für den Boxinhalt (optional)
  |-
  |-
  | title || Boxüberschrift  
  | title || Boxüberschrift  
  |-
  |-
  | titlecolor || Textfarbe der Titelzeile (optional, default: bgcolor wenn gesetzt oder white)
  | titlecolor || Textfarbe der Titelzeile (optional, default: <code><nowiki>{{{bgcolor}}}</nowiki></code> wenn gesetzt, sonst <code>white</code>)
|-
| titlestyle || CSS-Fragment für Titelzeile (optional)
  |}
  |}
   
   

Navigationsmenü