Template:UndefParam

From Zombie Panic! Official Wiki
Revision as of 13:47, 10 June 2025 by Wuffesan (talk | contribs) (Created page with "<includeonly>{{#if:{{{1|}}}||NULL}}</includeonly><noinclude>{{documentation|type=Utility}}</noinclude>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

Used to allow for optional unspecified parameters when calling another template from within a template.

See https://www.mediawiki.org/wiki/Help:Parser_functions_in_templates#Testing_and_passing_undefined_parameters for more info.

Syntax

The first and only parameter is the value that would be passed to the actual parameter

This template should be used after the parameter name but before the "=" sign.
e.g. |myParam{{UndefParam|{{{myParam|}}}}}={{{myParam}}}

For unnamed parameters, use |<number>=<value> explicitly.
e.g. |1{{UndefParam|{{{1|}}}}}={{{1}}}

Examples

See {{Survivor}} or {{Game}}

Template Data

Template parameters

ParameterDescriptionTypeStatus
No parameters specified