Template:Add category if not on pages or subpages
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 pages or subpages
| category to add
| page to exclude 1 (including its subpages)
| page to exclude 2 (including its subpages)
| page to exclude N (including its subpages)
}}
| category to add
| page to exclude 1 (including its subpages)
| page to exclude 2 (including its subpages)
| page to exclude N (including its subpages)
}}
See also
- {{Add categories if not on page or subpage}} - reverse of this template - if you want to add one or more categories but want to exclude only a single page (and its subpages).
Adds a category unless used on specified pages or their subpages.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Category | 1 | Category to add unless on specified pages. | Page name | required |
Page 1 | 2 | Page to exclude from adding a category to. Includes its subpages. | Page name | required |
Page 2 | 3 | Page to exclude from adding a category to. Includes its subpages. | Page name | suggested |