Template:None exists/doc
Jump to navigation
Jump to search
| icon | 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 source]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 source]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