Vorlage:Flexbox: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Mile (Diskussion | Beiträge) K (und noch etwas weiter...) |
Mile (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung |
||
Zeile 1: | Zeile 1: | ||
<includeonly><div style="margin:5px | <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: | 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, ...