Vorlage:Flexbalken: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
K
K
Zeile 1: Zeile 1:
<includeonly><div style="margin:5px; margin-left:0px; {{{style}}};  
<includeonly><div style="margin:5px; margin-left:0px; {{{style}}};  
     background-color:{{{color|#009D30}}};  
     background-color:{{{color|#009D30}}};  
     text-align:left;  
     text-align: {{{text-align|left}}};  
     color: {{{textcolor|white}}};
     color: {{{textcolor|white}}};
     font-weight:bold;  
     font-weight:bold;  
Zeile 20: Zeile 20:
  | color || Balkenfarbe (optional, default: #136381)
  | color || Balkenfarbe (optional, default: #136381)
  |-
  |-
  | text || Balkeninhalt / Text
  | text || Text
  |-
  |-
  | textcolor || Textfarbe der Titelzeile (optional, default: <code><nowiki>{{{bgcolor}}}</nowiki></code> wenn gesetzt, sonst <code>white</code>)
  | textcolor || Textfarbe (optional, default: white)
  |-
  |-
  | textstyle || CSS-Fragment für Titelzeile (optional)
| font-size || Schriftgröße (optional, default: 125%)
|-
| text-align || Textausrichtung (optional, default: left)
|-
  | textstyle || CSS-Fragment für Text (optional)
  |}
  |}
   
   
Zeile 31: Zeile 35:
{{Flexbalken|text=Testbalken default 1}}
{{Flexbalken|text=Testbalken default 1}}
2. modifiziert:
2. modifiziert:
<pre><nowiki>{{Flexbalken|color=#f19000|font-size=80%|text=Testbox 1234}}
<pre><nowiki>{{Flexbalken|color=#D0A128|textcolor=black|font-size=80%|text=Testbox 1234}}
</nowiki></pre>
</nowiki></pre>
Ergibt folgenden Balken:
Ergibt folgenden Balken:
{{Flexbalken|color=#D0A128|font-size=80%|text=Testbalken 1234}}
{{Flexbalken|color=#D0A128|textcolor=black|font-size=80%|text-align:right|text=Testbalken 1234}}




[[Kategorie:Vorlage für technische Aufgaben|{{PAGENAME}}]]
[[Kategorie:Vorlage für technische Aufgaben|{{PAGENAME}}]]
</noinclude>
</noinclude>