Template:Category see also if exists/doc

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
  1. A category which does exist:
    {{Category see also if exists|Lua-based templates}}
  2. A non-existent category:
    {{Category see also if exists|1997 deaths on Planet Zxcvbmm}}
  3. 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]