Template:Internal/Warning/MissingParam: Difference between revisions

From Halopedia, the Halo wiki

(Created page with "<includeonly>{{Internal/Warning|{{{1|{{{Message|This template call is missing a recommended parameter!}}}}}}|Type=Missing parameter|Category=Pages containing missing template...")
 
m (Reverted edits by Dab1001 (talk) to last revision by Superintendent)
Tag: Rollback
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{Internal/Warning|{{{1|{{{Message|This template call is missing a recommended parameter!}}}}}}|Type=Missing parameter|Category=Pages containing missing template parameter warnings}}</includeonly><noinclude>{{Documentation}} [[Category:Warning templates]]</noinclude>
<includeonly>{{Internal/Warning|{{{1|{{{Message|This template call is missing a recommended parameter!}}}}}}|Type=Missing parameter|Category={{{Category|Pages containing missing template parameter warnings}}}|Template={{{Template|}}}}}</includeonly><noinclude>{{Doc/Template}} [[Category:Warning templates]]</noinclude>

Latest revision as of 05:35, August 23, 2022

vde
Template Documentation

Usage

This template is used to signal to the editor that they have failed to supply a recommended template parameter.

Simplified Version Full Version
{{Internal/Warning/MissingParam
|
}}
{{Internal/Warning/MissingParam
|Category=
|Template=
|
}}

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 recommended!
Catgory - Optional The category to insert pages into if they contain this warning. Pages containing invalid template parameter warnings
Template - Recommended The name of the template in which the error has occurred. Acronym

Error states

This template is guaranteed never to throw an error, but will always issue a warning - that is its purpose.

Example

Here is an example of how to use this template:

Wiki Markup Resulting Warning
{{Internal/Error/MissingParam}}

MISSING PARAMETER WARNING: This template call is missing a recommended parameter!

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

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