Template:See also if exists
Appearance
This template is currently being merged with Template:See also. This template is being merged with another template, after which it will be redirected or deleted. Please check Wikipedia:Templates for discussion/Holding cell for any additional instructions. The decision to merge this template was made following this discussion initiated on 13 December 2024 at Templates for discussion. Note: Please review this template's instructions at Wikipedia:Templates for discussion/Holding cell before proceeding with any type of merging. |
This template uses Lua: |
Displays a "see also" link to one or more pages, followed by a line break, if the page exists. If none of the supplied pages exist, the template does nothing.
It allows the creation of links to pages which do not exist yet, but which will be displayed if and when the page is created. This is useful when articles/topics are being developed, because editors do not have to guess whether a target page is likely to exist any time soon: the link can be created now, rather than having to edit the page again later.
Usage
- Usual syntax
{{See also if exists|page}}
{{See also if exists|page1|page2|page3|...}}
Parameters:
- At least one page name
- Examples
- A page which does exist:
{{See also if exists|Poland}}
→ - A non-existent page:
{{See also if exists|1997 Presidential election in Planet Zxcvbmm}}
→ - A set of pages, some of which exist:
{{See also if exists | Argentina| | James Balfour (died 1845) | asdfghij2345 | Dinosaurs | poiytrewq6789 | zzzzzzzzy | Novels }}
→
See also
- {{See also}}
- {{Category see also}}
- {{Category see also if exists}}
- {{Category see also if exists 2}} – includes a fallback category which is tried if the first does not exist
- {{Link if exists}}