Template:Panic: Difference between revisions
Jump to navigation
Jump to search
(Created page with "<includeonly> {{#ifeq:{{level}}|<includeonly>style="background:red; color:black;" class="table-yes" | {{{1|Yes}}} }} </includeonly> </includeonly>") |
No edit summary |
||
(44 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{#ifeq:{{level}}|< | {{#ifeq: {{{level}}} | high | ||
| <span style="background-color:red;">{{{1}}}</span> | |||
| {{#ifeq: {{{level}}} | medium-high | |||
| <span style="background-color:orange;">{{{1}}}</span> | |||
| {{#ifeq: {{{level}}} | medium | |||
| <span style="background-color:yellow;">{{{1}}}</span> | |||
| {{{1}}} | |||
}} }} }} | |||
</includeonly> | </includeonly> | ||
</ | <noinclude> | ||
== Examples: == | |||
{| class="wikitable" border="1" | |||
! Syntax | |||
! Result | |||
|- | |||
| <nowiki>{{Panic|level=high|blob}}</nowiki> | |||
| {{Panic|level=high|blob}} | |||
|- | |||
| <nowiki>{{Panic|level=medium-high|blob}}</nowiki> | |||
| {{Panic|level=medium-high|blob}} | |||
|- | |||
| <nowiki>{{Panic|level=medium|blob}}</nowiki> | |||
| {{Panic|level=medium|blob}} | |||
|} | |||
== References == | |||
* [[Binary_situation]] | |||
</noinclude> |
Latest revision as of 21:08, 4 October 2014
Examples:
Syntax | Result | ||||||
---|---|---|---|---|---|---|---|
{{Panic|level=high|blob}} |
{{#ifeq: high | high |
blob | medium-high | blob | medium | blob | blob
}} }} }}
|
{{Panic|level=medium-high|blob}} |
{{#ifeq: medium-high | high |
blob | medium-high | blob | medium | blob | blob
}} }} }}
|
{{Panic|level=medium|blob}} |
{{#ifeq: medium | high |
blob | medium-high | blob | medium | blob | blob
}} }} }}
|