Vorlage:Flexbox: Unterschied zwischen den Versionen

Aus dem Rhein-Neckar-Wiki
Zur Navigation springen Zur Suche springen
K (und noch etwas weiter...)
KKeine Bearbeitungszusammenfassung
Zeile 1: Zeile 1:
<includeonly><div style="margin:5px 5px 5px 0; {{{style}}}"><div style="background:{{{color|#136381}}};  
<includeonly><div style="margin:5px; margin-left:0px; {{{style}}};"><div style="background:{{{color|#136381}}};  
     text-align:center;  
     text-align:center;  
     color: {{{titlecolor|{{{bgcolor|white}}}}}};
     color: {{{titlecolor|{{{bgcolor|white}}}}}};
Zeile 6: Zeile 6:
     padding: 2px 2px 2px 2px;">{{{title}}}</div>
     padding: 2px 2px 2px 2px;">{{{title}}}</div>
<div style="padding: 3px 3px 3px 3px;  
<div style="padding: 3px 3px 3px 3px;  
     border: 2px solid {{{color|#136381}}};  
     border: 1px solid {{{color|#136381}}};  
     color: {{{textcolor|black}}};  
     color: {{{textcolor|black}}};  
     -moz-border-radius:0px 0px 3px 3px;
     -moz-border-radius:0px 0px 3px 3px;

Version vom 26. März 2008, 06:36 Uhr

Vorlage zum leichten und einheitlichen Erstellen von flexibel parametrisierbaren Boxen.

Vorlagenparameter

Parameter Beschreibung
style CSS-Fragment (optional)
bgcolor Hintergrundfarbe (optional, default: #f6fcfe)
color Rahmenfarbe und Titelzeile (optional, default: #136381)
text Boxinhalt
textcolor Textfarbe innerhalb der Box (optional, default: black)
title Boxüberschrift
titlecolor Textfarbe der Titelzeile (optional, default: bgcolor wenn gesetzt oder white)

Beispiel

{{Flexbox|bgcolor=#fffbf5|color=#f19000|title=Testbox 123|text=
Lorem ipsum dolor sit amet, ...
}}

Dies ergibt die folgende Box:

Testbox 123

Lorem ipsum dolor sit amet, ...