Template:Error and Template:Error/sandbox: Difference between pages
From HPC Wiki
(Difference between pages)
No edit summary |
m Protected "Template:Error/sandbox" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{1|}}} | <includeonly>{{#if: {{{1|}}} | ||
|{{#if: {{{2|}}} | |{{#if: {{{2|}}} | ||
|<div class="gw-msgbox" style="border: 1px solid #A40000; background-color: #F3F3F3"><div class="gw-msgbox-title" style="background-color: #A40000; color: white"><nowiki>{{</nowiki>{{{1}}}<nowiki>}}</nowiki></div><div class="gw-msgbox-content">{{#switch: {{{2}}} | |<div class="gw-msgbox" style="border: 1px solid #A40000; background-color: #F3F3F3"><div class="gw-msgbox-title" style="background-color: #A40000; color: white"><i class="fa fa-exclamation-triangle fa-2x"></i> <nowiki>{{</nowiki>{{{1}}}<nowiki>}}</nowiki></div><div class="gw-msgbox-content">{{#switch: {{{2}}} | ||
| 11 = Too many unnamed parameters. Maximum is 11. | | 11 = Too many unnamed parameters. Maximum is 11. | ||
| 21 = Too many unnamed parameters. Maximum is 21. | | 21 = Too many unnamed parameters. Maximum is 21. | ||
| Parameter ''{{{2}}}'' not defined. | | Parameter ''{{{2}}}'' not defined. | ||
}} For correct usage see [[Template:{{{1}}}/doc|template's | }} For correct usage see [[Template:{{{1}}}/doc|template's documentation]].</div></div>{{#ifeq: {{NAMESPACE}} | {{ns:Template}} | |[[Category:Misused templates]]}} | ||
|{{MessageBox|<nowiki>{{</nowiki>Error<nowiki>}}</nowiki>| Parameter ''2. unnamed'' not defined. For correct usage see [[Template:Error/doc|template's | |{{MessageBox|<nowiki>{{</nowiki>Error<nowiki>}}</nowiki>| Parameter ''2. unnamed'' not defined. For correct usage see [[Template:Error/doc|template's documentation]].|color=#A40000}} | ||
}} | }} | ||
|{{MessageBox|<nowiki>{{</nowiki>Error<nowiki>}}</nowiki>| Parameter ''1. unnamed'' not defined. For correct usage see [[Template:Error/doc|template's | |{{MessageBox|<nowiki>{{</nowiki>Error<nowiki>}}</nowiki>| Parameter ''1. unnamed'' not defined. For correct usage see [[Template:Error/doc|template's documentation]].|color=#A40000}} | ||
}}</includeonly><noinclude>{{Documentation}}</noinclude> | }}</includeonly><noinclude> | ||
{{Documentation}} | |||
</noinclude><noinclude> | |||
{{Template sandbox notice}} | |||
</noinclude> |