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) K (und noch etwas weiter...) |
||
| Zeile 1: | Zeile 1: | ||
<includeonly><div style="background:{{{color|#136381}}}; | <includeonly><div style="margin:5px 5px 5px 0; {{{style}}}"><div style="background:{{{color|#136381}}}; | ||
text-align:center; | text-align:center; | ||
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; | -moz-border-radius:3px 3px 0px 0px; | ||
padding: 2px 2px 2px 2px;">{{{title}}}</div> | |||
padding: 2px 2px 2px 2px; | |||
<div style="padding: 3px 3px 3px 3px; | <div style="padding: 3px 3px 3px 3px; | ||
border: 2px solid {{{color|#136381}}}; | border: 2px solid {{{color|#136381}}}; | ||
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}}}"> | ||
{{{text}}} | {{{text}}} | ||
</div></includeonly><noinclude> | </div></div></includeonly><noinclude> | ||
Vorlage zum leichten und einheitlichen Erstellen von flexibel parametrisierbaren Boxen. | Vorlage zum leichten und einheitlichen Erstellen von flexibel parametrisierbaren Boxen. | ||
Version vom 26. März 2008, 04:28 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, ...