Vorlage:Flexbox: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Mile (Diskussion | Beiträge) K (CSS-Fix) |
Mile (Diskussion | Beiträge) K (Oops, so auch nicht. Geht es jetzt vielleicht?) |
||
| Zeile 1: | Zeile 1: | ||
<includeonly><div style="margin:5px; margin-left:0px; {{{style}}};"><div style="background:{{{color|#136381}}}; | <includeonly><div style="margin:5px; margin-left:0px; {{{style}}};"><div style="background-color:{{{color|#136381}}}; | ||
text-align:center; | text-align:center; | ||
color: {{{titlecolor|{{{bgcolor|white}}}}}}; | color: {{{titlecolor|{{{bgcolor|white}}}}}}; | ||
| Zeile 8: | Zeile 8: | ||
color: {{{textcolor|black}}}; | color: {{{textcolor|black}}}; | ||
-moz-border-radius:0px 0px 3px 3px; | -moz-border-radius:0px 0px 3px 3px; | ||
background:{{{bgcolor|#f6fcfe}}} {{{textstyle}}}"> | background-color:{{{bgcolor|#f6fcfe}}}; | ||
{{{textstyle}}}"> | |||
{{{text}}} | {{{text}}} | ||
</div></div></includeonly><noinclude> | </div></div></includeonly><noinclude> | ||
Version vom 11. April 2008, 20:58 Uhr
Vorlage zum leichten und einheitlichen Erstellen von flexibel parametrisierbaren Boxen.
Vorlagenparameter
| Parameter | Beschreibung |
|---|---|
| style | CSS-Fragment für das Gesamtobjekt (optional, z.B. float:right;width:200px;)
|
| bgcolor | Hintergrundfarbe (optional, default: #f6fcfe) |
| color | Rahmenfarbe und Titelzeile (optional, default: #136381) |
| text | Boxinhalt |
| textcolor | Textfarbe Boxinhalt (optional, default: black) |
| textstyle | CSS-Fragment für den Boxinhalt (optional) |
| title | Boxüberschrift |
| titlecolor | Textfarbe der Titelzeile (optional, default: {{{bgcolor}}} wenn gesetzt, sonst white)
|
| titlestyle | CSS-Fragment für Titelzeile (optional) |
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, ...