Template:Error/doc: Difference between revisions
Appearance
Pepperonipi (talk | contribs) Created page with "{{TemplateDocStart}} The '''Error''' template is used to create custom errors in templates. == Parameters == :<code><nowiki>1</nowiki></code> - the error meant to be shown =..." |
m Removing the TemplateDocStart template from documentation for formatting purposes. |
||
| (2 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
The '''Error''' template is used to create custom errors in templates. | The '''Error''' template is used to create custom errors in templates. | ||
== Parameters == | == Parameters == | ||
:<code><nowiki>1</nowiki></code> - the error meant to be shown | :<code><nowiki>1</nowiki></code> - the error meant to be shown | ||
== Usage == | |||
This template only needs to be used if an error with a template is likely to be committed. It does not need to be used for every possible error that could occur. | |||
== Examples == | == Examples == | ||
| Line 14: | Line 17: | ||
|- | |- | ||
|} | |} | ||
<noinclude> | |||
[[Category:Templates]] | |||
</noinclude> | |||
Latest revision as of 00:29, 6 August 2020
The Error template is used to create custom errors in templates.
Parameters
1- the error meant to be shown
Usage
This template only needs to be used if an error with a template is likely to be committed. It does not need to be used for every possible error that could occur.
Examples
{{Error|Missing second parameter}}
|
Error: Missing second parameter |