Template:Add categories if not on page or subpage
From Space Station 14 Wiki
For use in other templates
This template is meant to be used within other templates and not by itself.
Populates categories
This template will add a category or multiple categories when used — check out the template logic for details.
Usage
{{Add categories if not on page or subpage
| page to exclude (including its subpages)
| category to add 1
| category to add 2
| category to add N
}}
| page to exclude (including its subpages)
| category to add 1
| category to add 2
| category to add N
}}
See also
- {{Add category if not on pages or subpages}} - reverse of this template - if you want to add a single category but want to exclude multiple pages (and their subpages).
Adds categories unless used on specified page or its subpages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page | 1 | Page to exclude from adding categories to. Includes all its subpages, if it has any. | Page name | required |
Category 1 | 2 | Category to add. | Page name | required |
Category 2 | 3 | Category to add | Page name | suggested |