Template:Error

From FlightGear wiki
Jump to navigation Jump to search
The following template description is not displayed when the template is inserted in an article.

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