Vorlage:Flexbalken: Unterschied zwischen den Versionen

K
keine Bearbeitungszusammenfassung
K
K
 
(20 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}}};  
     background-color:{{{color|D0A128}}};  
     background-color:{{{ background-color|#0085BD}}};
     text-align:left;  
    border: 1px solid {{{border-color|#0085BD}}};  
     color: {{{textcolor|white}}};
     text-align:{{{ausrichtung|left}}};  
     font-weight:bold; font-size:125%;  
     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>
     -moz-border-radius:3px 3px 3px 3px; padding:3px; padding-left:6px; {{{textstyle}}};">{{{text}}}</div>
</includeonly><noinclude>
</includeonly><noinclude>
Zeile 17: 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>)
  |-
  |-
  | color || Balkenfarbe (optional, default: #136381)
  | background-color || Balkenfarbe (optional, default: #0085BD)
  |-
  |-
  | text || Balkeninhalt / Text
  | border-color || Randfarbe (optional, default: #0085BD)
  |-
  |-
  | textcolor || Textfarbe der Titelzeile (optional, default: <code><nowiki>{{{bgcolor}}}</nowiki></code> wenn gesetzt, sonst <code>white</code>)
  | text || Text
  |-
  |-
  | textstyle || CSS-Fragment für Titelzeile (optional)
| 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 ==
1. Standard
1. Standard
{{Flexbalken|text=Testbalken default 1}}
{{Flexbalken|text=Testbalken default 1}}
2. modifiziert:
2. modifiziert:
<pre><nowiki>{{Flexbalken|color=#f19000|text=Testbox 123}}
<pre><nowiki>{{Flexbalken|background-color=#E0FFFF|textcolor=black|font-size=80%|ausrichtung=right|text=Testbalken 1234}}
</nowiki></pre>
</nowiki></pre>
Ergibt folgenden Balken:
Ergibt folgenden Balken:
{{Flexbalken|color=#f19000|text=Testbalken 123}}
{{Flexbalken|background-color=#E0FFFF|textcolor=black|font-size=80%|ausrichtung=right|text=Testbalken 1234}}




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