Template:Error: Difference between revisions
Jump to navigation
Jump to search
HyperNervie (talk | contribs) (Created page with "<{{{tag|strong}}} class="error">{{{1}}}</{{{tag|strong}}}><noinclude> {{doc|content= This 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. Parameters: * {{param|1}}: T...") |
HyperNervie (talk | contribs) m ('s' forgotten in category name 😰) |
||
| Line 9: | Line 9: | ||
This template is inspired by [[mw:Template:Error|the eponymous template]] on mediawiki.org. Go there and you can learn more. | This template is inspired by [[mw:Template:Error|the eponymous template]] on mediawiki.org. Go there and you can learn more. | ||
}} | }} | ||
[[Category:Formatting | [[Category:Formatting templates]]</noinclude> | ||
Revision as of 17:14, 2 August 2025
{{{1}}}
This 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.
Parameters:
{{{1}}}: The error message. e.g. {{Error|An error message}} yields An error message.{{{tag}}}: Name of the HTML tag that wraps your error message.strongis used by default.
This template is inspired by the eponymous template on mediawiki.org. Go there and you can learn more.