Template:UndefParam: Difference between revisions
Jump to navigation
Jump to search
Created page with "<includeonly>{{#if:{{{1|}}}||NULL}}</includeonly><noinclude>{{documentation|type=Utility}}</noinclude>" |
(No difference)
|
Latest revision as of 13:47, 10 June 2025
Note: parts of or the entire template might not be visible without values provided.
| Main | Documentation | Usage |
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
Template Data
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||