Template:Category see also if exists/doc
Sarna News
- Bad 'Mechs - Thresher Mk II
- HEXTECH Wave 9 Review - Winding Rivers, Tall Walls, and Underground Tunnels
- Hired Steel and Making MechWarrior 5: Clans Cinematics with Constantin & Bernhard of TMC
- Your BattleTech News Round-Up For December, 2024
- Community Outreach - Caterwauling On CamoSpecs With Matt "00Dawg" Frederiksen
- Read more →
This is a documentation subpage for Template:Category see also if exists. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Displays a "see also" link to one or more categories, if the category exists. If none of the supplied categories exists, the template does nothing.
It allows the creation of links to categories which do not yet exist, but which will be displayed if and when the category is created. This is useful as a category tree is being developed, because the editor does not have guess whether a target category is likely to exist any time soon. The link can be created now, rather than having to edit the page again later.
Usage[edit]
- Usual syntax
{{Category see also if exists|category}}
{{Category see also if exists|category1|category2|category3|...}}
Parameters:
- At least one category name
- Examples
- A category which does exist:
{{Category see also if exists|Lua-based templates}}
→ - A non-existent category:
{{Category see also if exists|1997 deaths on Planet Zxcvbmm}}
→ - A set of categories, some of which exist:
{{Category see also if exists|Products|Spain|asdfghij|Dinosaurs|poiytrewq|zzzzzzzz| Novels }}
→
Redirects[edit]
See also[edit]
- {{Category see also if exists 2}} – includes a fallback category which is tried if the first does not exist
- {{Category see also}}
- {{Link if exists}}