Anonymous
×
Create a new article
Write your page title here:
We currently have 55 articles on SR5 Foundry VTT System Wiki. Type your article name above or click on one of the titles below and start writing!



SR5 Foundry VTT System Wiki

Template:Error/Documentation: Difference between revisions

(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...")
 
No edit summary
 
Line 1: Line 1:
<includeonly>[[Category:Categorization Template]]</includeonly>
<includeonly>[[Category:Categorization Template]][[Category:Error Template]]</includeonly>
{{Template|Error}} is used in other templates to indicate when an invalid input has been provided.
{{Template|Error}} is used in other templates to indicate when an invalid input has been provided.
==Usage==
==Usage==

Latest revision as of 23:59, 3 December 2023

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!