Difference between revisions of "Template:LSL Function/warning"
Jump to navigation
Jump to search
m |
m (inline instead of inject) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{#vardefine:header|{{#var:header}} | <noinclude>{{Multi-lang|category=LSL}}</noinclude>{{#if:{{#var:fw-multiple}}|{{#vardefine:fw-multiple|{{#expr:{{#var:fw-multiple}}+1}}}} | ||
<span style="font-size:120%;">'''{{{1}}} Warning'''<span> | |||
<div> | |||
{{{2}}} | |||
</div> | |||
|{{#vardefine:header|{{#var:header}}{{#vardefine:fw-multiple|0}}{{#if:{{{2}}}}}{{#vardefine:fw-title|{{{1}}} Warning{{#ifexpr:{{#var:fw-multiple}} > 1|s}}!}} | |||
{{{!}} style="background-color:#AAAAAA; margin-bottom:10px;" cellpadding="3" cellspacing="1" | {{{!}} style="background-color:#AAAAAA; margin-bottom:10px;" cellpadding="3" cellspacing="1" | ||
{{!}} style="background: | {{!}} style="background:white;" valign="top" rowspan="2" {{!}} [[Image:Emblem-important-red.png]] | ||
{{!}} style="color:white; background:#990000;" title="{{ | {{!}} style="color:white; background:#990000;" title="{{#var:fw-title}}" width="100%" {{!}} '''{{#var:fw-title}}''' | ||
{{!}}- | {{!}}- | ||
{{!}} style="background:#F9F9F9;" {{!}} | {{!}} style="background:#F9F9F9; font-size:90%;" {{!}} | ||
{{{2}}} | {{{2}}} | ||
{{!}}} }}{{#if:{{{inline|}}}<noinclude>t</noinclude>|{{#var:header}}}} | {{!}}} }}{{#if:{{{inline|}}}<noinclude>t</noinclude>|{{#var:header}}|{{LSL Injection Test}}}}{{#vardefine:fw-multiple|}}{{#vardefine:fw-title|}}}} |