Template:Ifexist series/doc
Appearance
This is a documentation subpage for Template:Ifexist series. It may contain usage information, categories and other content that is not part of the original template page. |
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:
{{ifexist series |Censorship in Afghanistan |Censorship in Albania |Censorship in Algeria |Censorship in American Samoa |Censorship in Andorra |Censorship in Angola |Censorship in Anguilla |Censorship in Antarctica |Censorship in Antigua and Barbuda |Censorship in Argentina |debug=true}}
- Censorship in American Samoa (Censorship in Afghanistan · Censorship in Albania · Censorship in Algeria · Censorship in American Samoa · Censorship in Andorra · Censorship in Angola · Censorship in Anguilla · Censorship in Antarctica · Censorship in Antigua and Barbuda · Censorship in Argentina)