Mr. Johnson (talk | contribs) No edit summary Tag: Reverted |
Mr. Johnson (talk | contribs) No edit summary Tag: Manual revert |
||
Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
<includeonly><onlyinclude><span class="error | <includeonly><onlyinclude><span class="error">Error! {{{1}}}!</span>{{Categorize|Errors|with}}</onlyinclude></includeonly> |
Latest revision as of 23:58, 3 December 2023
Template:Error
Template:Error
is used in other templates to indicate when an invalid input has been provided.
Usage
It accepts one mandatory string parameter, the nature of the error.
It returns the text as a formatted string, and adds the article to an appropriate tracking category via Template:Categorize
.
Returns
{{Error|You have encountered a grue}}
returns: Error! You have encountered a grue!
The documentation above was transcluded from Template:Error/Documentation. [ edit ]