Jump to content

Template:Further if exists/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by NotAG on AWB (talk | contribs) at 14:59, 3 January 2025. The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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]