Template:None exists/doc
Appearance
This is a documentation subpage for Template:None exists. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]If all the numbered parameters (up to 11
but easily extensible) do not exist as page names, returns the parameter then
, if any, else returns the parameter else
if any.
Examples:
- {None exists|Bread|Butter|then=hungry|else=full}
full
- {None exists|Zread|Zupper|then=hungry|else=full}
hungry
Note
[edit]While technically it is possible to pass some higher level parameters using 5=xxx, or possibly blanks using |||, the template assumes that parameters are sequential starting at 1