Difference between revisions of "Template:Diffusing subcategory"
Jump to navigation
Jump to search
imported>Zyxw (Fix for empty parameter 2, tested with /sandbox and /testcases.) |
imported>Zyxw (Trim any leading or trailing spaces in parameter 1. Tested with /sandbox and /testcases.) |
||
Line 1: | Line 1: | ||
{{Cmbox | {{Cmbox | ||
| type=notice | | type=notice | ||
− | | text=This is a '''[[Wikipedia:Categorization#Diffusing large categories|diffusing subcategory]]''' of [[:Category:{{{1}}}]].<br>Articles about {{#if:{{{2<includeonly>|</includeonly>}}}|{{{2}}}|{{PAGENAME}}}} in the parent category should be moved to this subcategory. | + | | text=This is a '''[[Wikipedia:Categorization#Diffusing large categories|diffusing subcategory]]''' of [[:Category:{{#if:1|{{{1}}}}}]].<br>Articles about {{#if:{{{2<includeonly>|</includeonly>}}}|{{{2}}}|{{PAGENAME}}}} in the parent category should be moved to this subcategory. |
}}{{Single namespace|category}}<noinclude> | }}{{Single namespace|category}}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Latest revision as of 19:40, 20 October 2018
![]() | This is a diffusing subcategory of [[:Category:{{{1}}}]]. Articles about {{{2}}} in the parent category should be moved to this subcategory. |
See WP:DIFFUSE.
- May be used in conjunction with {{Non-diffusing subcategory}}.
Usage
{{Diffusing subcategory|parent}}
{{Diffusing subcategory|parent|topic}}
Parameters
- parent (required) – the parent category (without the prefix "Category:")
- topic (optional) – replaces the name of the parent category in the second sentence
Examples
Usage in Category:Boxers from Pennsylvania:
{{Diffusing subcategory|Sportspeople from Pennsylvania}}
![]() | This is a diffusing subcategory of Category:Sportspeople from Pennsylvania. Articles about Boxers from Pennsylvania in the parent category should be moved to this subcategory. |
{{Diffusing subcategory|Sportspeople from Pennsylvania|boxers}}
![]() | This is a diffusing subcategory of Category:Sportspeople from Pennsylvania. Articles about boxers in the parent category should be moved to this subcategory. |
{{Non-diffusing subcategory|American boxers|boxers}}
Template:Non-diffusing subcategory
Other category-header templates
The above documentation is transcluded from Template:Diffusing subcategory/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |