Template:Internal/Error/MissingParam: Difference between revisions

From Halopedia, the Halo wiki

(Created page with "<includeonly>{{Internal/Error|{{{1|{{{Message|This template call is missing a parameter!}}}}}}|Type=Missing parameter|Category=Pages containing missing template parameter erro...")
 
m (→‎top: Moving page, replaced: {{Documentation → {{Doc/Template)
 
Line 1: Line 1:
<includeonly>{{Internal/Error|{{{1|{{{Message|This template call is missing a parameter!}}}}}}|Type=Missing parameter|Category=Pages containing missing template parameter errors}}</includeonly><noinclude>{{Documentation}} [[Category:Error templates]]</noinclude>
<includeonly>{{Internal/Error|{{{1|{{{Message|This template call is missing a parameter!}}}}}}|Type=Missing parameter|Category=Pages containing missing template parameter errors}}</includeonly><noinclude>{{Doc/Template}} [[Category:Error templates]]</noinclude>

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

vde
Template Documentation

Usage

This template is used to signal to the editor that they have failed to supply a necessary template parameter, and consequently the template cannot give its intended output.

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

Parameters

Field Name Field Aliases Optional or Required? Description Example
1 (Unnamed field) Message Recommended The message to present to the user. Template parameter "Acronym" is required!

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/MissingParam}}

MISSING PARAMETER ERROR: This template call is missing a parameter!

{{Internal/Error/MissingParam|Template parameter "Acronym" is required!}}

MISSING PARAMETER ERROR: Template parameter "Acronym" is required!