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: Difference between revisions

No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
{{Documentation}}
{{Documentation}}
<includeonly><onlyinclude><span class="error">Error! {{{1}}}!</span>{{Categorize|Errors|with}}</onlyinclude></includeonly>
<includeonly><onlyinclude><span class="error" style="font-weight: bold;">Error! {{{1}}}!</span>{{Categorize|Errors|with}}</onlyinclude></includeonly>

Revision as of 23:50, 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.