Jump to content

Template:Ifexist series/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

Accepts a series (of up to ten) arguments, and follow this series to return the first one where a page doesn't exist, using parser functions. Like this:

  • We don't have a page called "[[{{ifexist series|World War 1|World War 2|World War 3|World War 4|World War 5|World War 6|World War 7|World War 8|World War 9|World War 10}}]]".
  • We don't have a page called "World War 5".

Useful for whenever you need a redlink and don't feel like checking up on it regularly.

You can also specify debug=true to get a list of all the pages. Like this: