Template:UndefParam/doc
Jump to navigation
Jump to search
This is the documentation page for UndefParam. It contains usage information, categories, and other content not part of the original template page. | ||
|---|---|---|
| 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 | ||||||