Template:Internal/Error/InvalidParam: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
m (→‎top: Moving page, replaced: {{Documentation → {{Doc/Template)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{{Internal/Error|{{{1|Invalid parameters were given to this template!}}}|Type=Invalid parameter|Category=Pages containing invalid template parameter errors}}</includeonly><noinclude>{{Documentation}} [[Category:Error templates]]</noinclude>
<includeonly>{{Internal/Error|{{{1|{{{Message|Invalid parameters were given to this template!}}}}}}|Type=Invalid parameter|Category=Pages containing invalid template parameter errors}}</includeonly><noinclude>{{Doc/Template}} [[Category:Error templates]]</noinclude>

Latest revision as of 18:50, December 15, 2021

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"!