< Template:Error
Revision as of 19:54, 3 December 2023 by Arcology Expert Program (talk | contribs) (Created page with "<includeonly>Category:Categorization Template</includeonly> {{Template|Error}} is used in other templates to indicate when an invalid input has been provided. ==Usage== It accepts one {{Parameter|mandatory|string}}, 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== {{Code|<nowiki>{{Error|You have encountered a grue}}</nowiki>}} returns: {{Return|{{Erro...")
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!
