Template:Internal/Error/InvalidParam: Difference between revisions
From Halopedia, the Halo wiki
No edit summary |
m (→top: Moving page, replaced: {{Documentation → {{Doc/Template) |
||
Line 1: | Line 1: | ||
<includeonly>{{Internal/Error|{{{1|{{{Message|Invalid parameters were given to this template!}}}}}}|Type=Invalid parameter|Category=Pages containing invalid template parameter errors}}</includeonly><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 17:50, December 15, 2021
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"! |