From Fedora Project Wiki

Revision as of 01:52, 2 October 2015 by L235 (talk | contribs) (create error template; attribution to editors of wikipedia:Special:Permalink/377613787)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{{1}}}

Template documentation [edit]

This documentation is transcluded from Template:Error/doc. It will not be transcluded on pages that use this template.

This meta template returns a state of error (recognized as such by a wiki parser function), and optionally an error-message text in red (visible for the user). It is used by other templates to signal an error, for example invalid input, which can then either be displayed to the editor or caught and handled by other templates.

Usage

{{error|An exemplary error}} → An exemplary error

In parser function:

{{#iferror:{{error|Foo}} | Error | No error }} → Error