50.387
Bearbeitungen
K |
K |
||
(25 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
<includeonly><div style="margin:5px; margin-left:0px; {{{style}}}; | <includeonly><div style="margin:5px; margin-left:0px; {{{style}}}; | ||
text-align:left; | background-color:{{{ background-color|#0085BD}}}; | ||
color: {{{ | border: 1px solid {{{border-color|#0085BD}}}; | ||
font-weight:bold; font-size:125%; | text-align:{{{ausrichtung|left}}}; | ||
-moz-border-radius:3px 3px 3px 3px; padding:3px; padding-left:6px; {{{ | color:{{{textcolor|white}}}; | ||
font-weight:bold; | |||
font-size:{{{font-size|125%}}}; | |||
-moz-border-radius:3px 3px 3px 3px; padding:3px; padding-left:6px; {{{textstyle}}};">{{{text}}}</div> | |||
</includeonly><noinclude> | </includeonly><noinclude> | ||
Vorlage zum leichten und einheitlichen Erstellen von flexibel parametrisierbaren Balken-Boxen (nur Überschrift). | Vorlage zum leichten und einheitlichen Erstellen von flexibel parametrisierbaren Balken-Boxen (nur Überschrift). | ||
Zeile 16: | Zeile 19: | ||
| style || CSS-Fragment für das Gesamtobjekt (optional, z.B. <code>float:right;width:200px;</code>) | | style || CSS-Fragment für das Gesamtobjekt (optional, z.B. <code>float:right;width:200px;</code>) | ||
|- | |- | ||
| | | background-color || Balkenfarbe (optional, default: #0085BD) | ||
|- | |- | ||
| color || | | border-color || Randfarbe (optional, default: #0085BD) | ||
|- | |- | ||
| | | text || Text | ||
|- | |- | ||
| | | textcolor || Textfarbe (optional, default: white) | ||
|- | |- | ||
| | | font-size || Schriftgröße (optional, default: 125%) | ||
|- | |||
| ausrichtung || Textausrichtung (optional, default: left) | |||
|- | |||
| textstyle || CSS-Fragment für Text (optional) | |||
|} | |} | ||
== Beispiel == | == Beispiel == | ||
<pre><nowiki> | 1. Standard | ||
{{Flexbalken| | {{Flexbalken|text=Testbalken default 1}} | ||
}} | 2. modifiziert: | ||
<pre><nowiki>{{Flexbalken|background-color=#E0FFFF|textcolor=black|font-size=80%|ausrichtung=right|text=Testbalken 1234}} | |||
</nowiki></pre> | </nowiki></pre> | ||
Ergibt folgenden Balken: | |||
{{Flexbalken|background-color=#E0FFFF|textcolor=black|font-size=80%|ausrichtung=right|text=Testbalken 1234}} | |||
{{Flexbalken| | |||
}} | |||
[[Kategorie:Vorlage für technische Aufgaben|{{PAGENAME}}]] | [[Kategorie:Vorlage für technische Aufgaben|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |