Vorlage:Textbox: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
− | < | + | {{#vardefine: color |
− | {{{text|}}} | + | | {{#if: {{{color|}}} | style{{=}}"font-size:1em; background-color:{{{color|}}};" }} |
+ | }}<!-- | ||
+ | -->{{#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> | </div></div><noinclude> | ||
---- | ---- | ||
− | Parameter: text, width, style, color (=Background).</noinclude> | + | 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).