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

Revision as of 23:54, 3 December 2023 by Mr. Johnson (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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!