Vorlage:Textbox: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(2 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | < | + | {{#vardefine: color |
− | {{{text}}} | + | | {{#if: {{{color|}}} | style{{=}}"font-size:1em; background-color:{{{color|}}};" }} |
− | </div></div>< | + | }}<!-- |
+ | -->{{#vardefine: style | ||
+ | | {{#if: {{{width|}}} | width:{{{width|}}};}} {{{style|}}} | ||
+ | }}<!-- | ||
+ | -->{{#vardefine: style | ||
+ | | {{#if: {{#var:style}} | style='{{#var:style}}' }} | ||
+ | }}<!-- | ||
+ | |||
+ | HTML | ||
+ | |||
+ | --><div class='textbox' {{#var:style}}><div class='textbox_body' {{#var:color}}> | ||
+ | {{{1|{{{text|}}}}}} | ||
+ | </div></div><noinclude> | ||
---- | ---- | ||
− | Parameter: text, width, style, color (=Background). | + | Textbox gestalten. |
+ | |||
+ | Parameter: text[1], width, style, color (=Background).</noinclude> |
Aktuelle Version vom 6. April 2020, 14:56 Uhr
Textbox gestalten.
Parameter: text[1], width, style, color (=Background).