Vorlage:Textbox: Unterschied zwischen den Versionen

Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
<div class='textbox' style='width:{{{width|}}}; {{{style|}}}'><div class='textbox_body' style='font-size:1em; background-color:{{{color|}}}; '>
+
{{#vardefine: color
{{{text|}}}
+
| {{#if: {{{color|}}} | style{{=}}"font-size:1em; background-color:{{{color|}}};" }}
 +
}}<!--
 +
-->{{#vardefine: style
 +
| {{#if: {{{width|}}} | width:{{{width|}}}; }}
 +
}}<!--
 +
-->{{#vardefine: style
 +
| {{#if: {{{width|}}} | {{#var:style}} width:{{{width|}}}; }}
 +
}}<!--
 +
-->{{#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>

Version vom 6. April 2020, 14:04 Uhr


Textbox gestalten.

Parameter: text[1], width, style, color (=Background).