Template:Internal/Error/InvalidParam

From Halopedia, the Halo wiki

< Template:Internal/Error
Revision as of 17:50, December 15, 2021 by Superintendent (talk | contribs) (→‎top: Moving page, replaced: {{Documentation → {{Doc/Template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
vde
Template Documentation

Usage

This template is used to signal to the editor that they have supplied template parameters that are invalid, and consequently the template cannot give its intended output.

Simplified Version Full Version
{{Internal/Error/InvalidParam}}
{{Internal/Error/InvalidParam
|
}}

Parameters

Field Name Field Aliases Optional or Required? Description Example
1 (Unnamed field) Message Recommended The message to present to the user. Unrecognised acronym: "banana"!

Error states

This template will always throw an error - that is its purpose.

Example

Here is an example of how to use this template:

Wiki Markup Result
{{Internal/Error/InvalidParam}}

INVALID PARAMETER ERROR: Invalid parameters were given to this template!

{{Internal/Error/InvalidParam|Unrecognised acronym: "banana"!}}

INVALID PARAMETER ERROR: Unrecognised acronym: "banana"!