No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
<includeonly><onlyinclude>{{#ifeq:{{NAMESPACE}}|Category| | <includeonly><onlyinclude>{{#ifeq:{{NAMESPACE}}|Category| | ||
[[Category:{{#explode:{{{1|}}}|¦|0}}|{{#explode:{{{1|}}}|¦|-1}}]] | [[Category:{{#explode:{{{1|}}}|¦|0}}|{{#explode:{{{1|}}}|¦|-1}}]] | ||
}}This category includes articles that {{{2|}}}. Articles should not be added to this category manually, only via {{{3|special configured {{Category|Categorization Template}}s}}}.</onlyinclude></includeonly> | }}<p>This category includes articles that {{{2|}}}.</p><p>Articles should not be added to this category manually, only via {{{3|special configured {{Category|Categorization Template}}s}}}.</p></onlyinclude></includeonly> | ||
Revision as of 12:27, 24 October 2022
Template:CategorizeManual is used to generate boilerplate text on categories that are populated via Templates.
Usage
It has two mandatory string parameters and one optional parameter.
1must be a valid category.2is a string of descriptive text, explaining what is on the page.3can be used to override the default source suggestion.
It also has two optional named parameters:
hidden(default:false) — If set to true, invokes the__HIDDENCAT__magic word.key(default:{{PAGENAME}}) — Sets the sort key.
Return
When invoked from the Category namespace, the category is added to the category specified by the first parameter.
{{CategorizeManual|template|have things and stuff}} returns: This category includes articles that have things and stuff.
Articles should not be added to this category manually, only via special configured Categorization Templates.
{{CategorizeManual|content|discuss sentient intelligences|{{Template|Infobox Character}}}} returns: This category includes articles that discuss sentient intelligences.
Articles should not be added to this category manually, only via Template:Character.
The documentation above was transcluded from Template:CategorizeManual/Documentation. [edit]
