Template:Further if exists
Appearance
This template uses Lua: |
Displays a "further information" hatnote, if and only if at least one of the linked pages exists. If some but not all linked pages exist, only the linked ones will be displayed.
This allows hatnotes to be created before the target page exists, and automatically become visible once it does. This may be especially useful for pages involving repeated events like annual sports tournaments.
Outside of its functionality to filter out nonexistent pages, it functions exactly like the related template {{further}}, including its label functionality.
Examples
[edit]{{further if exists|Nonexistent page}}
→{{further if exists|Foo|Nonexistent page|Bar}}
→
See also
[edit]- {{further}}
- {{see also if exists}}