Template:Error/sandbox: Difference between revisions
From HPC Wiki
Jump to:navigation
Jump to:search
(Created page with "<includeonly>{{#if: {{{1|}}} |{{#if: {{{2|}}} |<div class="gw-msgbox" style="border: 1px solid #A40000; background-color: #F3F3F3"><div class="gw-msgbox-title" style="backgro...") |
m (Protected "Template:Error/sandbox" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
(No difference)
|
Latest revision as of 10:15, 16 December 2016
[edit]
Documentation
Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages.
As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.
Use this template to show an error message, when a template is used in a wrong way. Articles, which uses templates in a wrong way, will be added automatically by this template to the Misused templates category.
Parameters
- 1. unnamed
- Add the template's name, which uses this template.
- 2. unnamed
- Add the parameter's name, you're are checking for. The strings 11 and 21 show a message about too many unnamed parameters.
Usage
See the template's testcases:
Parameter: 1., 2. unnamed | |
---|---|
Wiki code | {{Error|template|parameter}}
|
Main version | {{template}} Parameter parameter not defined. For correct usage see template's documention. |
Sandbox version | {{template}} Parameter parameter not defined. For correct usage see template's documentation. |
Parameter: 1., 2. unnamed (2.=11) | |
---|---|
Wiki code | {{Error|template|11}}
|
Main version | {{template}} Too many unnamed parameters. Maximum is 11. For correct usage see template's documention. |
Sandbox version | {{template}} Too many unnamed parameters. Maximum is 11. For correct usage see template's documentation. |
Parameter: 1., 2. unnamed (2.=21) | |
---|---|
Wiki code | {{Error|template|21}}
|
Main version | {{template}} Too many unnamed parameters. Maximum is 21. For correct usage see template's documention. |
Sandbox version | {{template}} Too many unnamed parameters. Maximum is 21. For correct usage see template's documentation. |
Note
The above documentation is transcluded from Template:Error/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.
The above documentation is transcluded from Template:Error/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.
Note
This is the template sandbox page for Template:Error (diff).
See also the companion subpage for test cases.
This is the template sandbox page for Template:Error (diff).
See also the companion subpage for test cases.