Jump to content

Template:Error/doc: Difference between revisions

From Wiki - Scioly.org
Created page with "{{TemplateDocStart}} The '''Error''' template is used to create custom errors in templates. == Parameters == :<code><nowiki>1</nowiki></code> - the error meant to be shown =..."
 
updated clarification
Line 4: Line 4:
== Parameters ==
== Parameters ==
:<code><nowiki>1</nowiki></code> - the error meant to be shown
:<code><nowiki>1</nowiki></code> - the error meant to be shown
== Usage ==
This template only needs to be used if an error with a template is likely to be committed. It does not need to be used for every possible error that could occur.


== Examples ==
== Examples ==

Revision as of 19:13, 20 May 2020

Template:Error/doc - Documentation

The Error template is used to create custom errors in templates.

Parameters

1 - the error meant to be shown

Usage

This template only needs to be used if an error with a template is likely to be committed. It does not need to be used for every possible error that could occur.

Examples

{{Error|Missing second parameter}}
 Error: Missing second parameter