Jump to content

Template:None exists/doc

From Wikipedia, the free encyclopedia

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

See also

[edit]