Template:Panic: Difference between revisions

From coreboot
Jump to navigation Jump to search
(let's rather simplify it)
No edit summary
Line 2: Line 2:
{{#ifeq: {{{level}}} | high
{{#ifeq: {{{level}}} | high
| <span style="background-color:red;">{{{1}}}</span>
| <span style="background-color:red;">{{{1}}}</span>
| {{#ifeq: {{#expr: {{{level}}} >= 8999 }} | 1
| {{#ifeq: {{{level}}} | medium-high
| <span style="background-color:orange;">{{{1}}}</span>
| <span style="background-color:orange;">{{{1}}}</span>
| {{{1}}} }}
| {{{1}}} }}
Line 18: Line 18:
| {{Panic|level=high|blob}}
| {{Panic|level=high|blob}}
|-
|-
| <nowiki>{{Panic|level=medium-high|blob}}</nowiki>
| {{Panic|level=medium-high|blob}}
|}
|}
</noinclude>
</noinclude>

Revision as of 21:06, 4 October 2014



Examples:

Syntax Result
{{Panic|level=high|blob}}

{{#ifeq: high | high

blob medium-high blob blob }}

}}



{{Panic|level=medium-high|blob}}

{{#ifeq: medium-high | high

blob medium-high blob blob }}

}}