m (Arcology Expert Program moved page Template:CategorizeContent to Template:CategorizeManual without leaving a redirect) |
No edit summary |
||
| (9 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
<includeonly><onlyinclude>{{#ifeq:{{NAMESPACE}}|Category|[[Category: | <includeonly><onlyinclude>{{#ifeq:{{NAMESPACE}}|Category| | ||
[[Category:{{#explode:{{{1|}}}|¦|0}}|{{{key|{{PAGENAME}}}}}]]{{#ifeq:{{{hidden|false}}}|true|__HIDDENCAT__}} | |||
}}<p>This category includes {{#switch:{{lc:{{{1|{{Required|2|CategorizeManual}}}}}}} | |||
| content | |||
| articles | |||
| admin = content | |||
| #default = {{lc:{{{1|}}}s}} | |||
}} that {{{2|{{Required|2|CategorizeManual}}}}}.</p><p>Articles should not be added to this category manually, only via {{{3|special configured {{Category|Categorization Template}}s}}}.</p></onlyinclude></includeonly> | |||
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]
