Template:Error

From relax wiki
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