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