Template:Error

From Rhythm Heaven Wiki
Revision as of 07:05, 3 August 2025 by HyperNervie (talk | contribs)
Jump to navigation Jump to search
Template-info.svg Template Documentation

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}}}: Case-insensitive name of the HTML tag that wraps your error message. strong, span, p and div are accepted. If this argument is not given or doesn't match any of these four, strong is used.

This template is inspired by the eponymous template on mediawiki.org. Go there and you can learn more.