No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
<includeonly><onlyinclude>{{#ifeq:{{NAMESPACE}}|Category| | <includeonly><onlyinclude>{{#ifeq:{{NAMESPACE}}|Category| | ||
[[Category:{{#explode:{{{1|}}}|¦|0}}|{{{key|{{PAGENAME}}}}}]]{{#ifeq:{{{hidden|false}}}|true|__HIDDENCAT__}} | [[Category:{{#explode:{{{1|}}}|¦|0}}|{{{key|{{PAGENAME}}}}}]]{{#ifeq:{{{hidden|false}}}|true|__HIDDENCAT__}} | ||
}}<p>This category includes {{#switch:{{{1|}}} | }}<p>This category includes {{#switch:{{lc:{{{1|{{Required|2|CategorizeManual}}}}}}} | ||
| content | | content | ||
| articles | | articles | ||
Latest revision as of 08:35, 2 November 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 templates 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 content 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]
