Template:Error

From relax wiki
Revision as of 13:55, 23 October 2020 by Bugman admin (talk | contribs) (Switch from the imported {{informative template}} to the relax {{template info}} template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template documentation

Goal

This template is used for styling error messages for other templates, such as when a parameter is not given.

Usage

{{error|message|template}}
message
Error message to display. Mandatory. Please make parameter names bold by surrounding it with three apostrophes (''').
template
Optional template to link to for debugging help.

Example

{{error|Parameter '''path''' missing}}

Parameter path missing

{{error|Parameter '''reason''' missing|delete}}

{{delete}}: Parameter reason missing