More actions
Add optional parameters for subcategory links. Tested with /sandbox and /testcases. |
m 1 revision imported |
||
(No difference)
|
Latest revision as of 07:38, 7 June 2024
This is a non-diffusing subcategory of [[:Category:{{{1}}}]]. It includes {{{2}}} that can also be found in the parent category, or in diffusing subcategories of the parent. |
This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
See WP:DIFFUSE
- To be used in conjunction with {{Non-diffusing parent category}}
Usage
{{Non-diffusing subcategory|parent}}
{{Non-diffusing subcategory|parent|specific}}
Parameters
- parent (required) – the parent category (without the prefix "Category:")
- specific (optional) – replaces the name of the parent category in the second sentence
Examples
{{Non-diffusing subcategory|American film actors}}
This is a non-diffusing subcategory of Category:American film actors. It includes American film actors that can also be found in the parent category, or in diffusing subcategories of the parent. |
{{Non-diffusing subcategory|American film actors|actors}}
This is a non-diffusing subcategory of Category:American film actors. It includes actors that can also be found in the parent category, or in diffusing subcategories of the parent. |