m (Arcology Expert Program moved page Template:CategorizeContent/Documentation to Template:CategorizeManual/Documentation without leaving a redirect) |
No edit summary |
||
| Line 2: | Line 2: | ||
{{Template|CategorizeContent}} is used to generate boilerplate text on {{Category|Content}} categories that are populated via {{Category|Template}}s. | {{Template|CategorizeContent}} is used to generate boilerplate text on {{Category|Content}} categories that are populated via {{Category|Template}}s. | ||
==Usage== | ==Usage== | ||
It has | It has two {{Parameter|mandatory|string}} and one {{Parameter|optional}}. | ||
* {{Code|1}} is a string of descriptive text, explaining what is on the page. | * {{Code|1}} must be a valid category. The broken bar character ({{code|¦}}) can be used to refine sorting. | ||
* {{Code| | * {{Code|2}} is a string of descriptive text, explaining what is on the page. | ||
* {{Code|3}} can be used to override the default source suggestion. | |||
==Return== | ==Return== | ||
When invoked from the Category namespace, the category is added to {{Category|Content}}. | When invoked from the Category namespace, the category is added to {{Category|Content}}. | ||
{{Code|<nowiki>{{ | {{Code|<nowiki>{{CategorizeManual|template|things and stuff}}</nowiki>}} returns: {{Return|{{CategorizeContent|template|things and stuff}}}} | ||
{{Code|<nowiki>{{ | {{Code|<nowiki>{{CategorizeManual|content|sentient intelligences|{{Template|Infobox Character}}}}</nowiki>}} returns: {{Return|{{CategorizeManual|content|sentient intelligences|{{Template|Infobox Character}}}}}} | ||
Revision as of 11:56, 24 October 2022
Template:CategorizeContent is used to generate boilerplate text on Content categories that are populated via Templates.
Usage
It has two mandatory string parameter and one optional parameter.
1must be a valid category. The broken bar character (¦) can be used to refine sorting.2is a string of descriptive text, explaining what is on the page.3can be used to override the default source suggestion.
Return
When invoked from the Category namespace, the category is added to Content.
{{CategorizeManual|template|things and stuff}} returns:
{{CategorizeManual|content|sentient intelligences|{{Template|Infobox Character}}}} returns:
This category includes content that sentient intelligences.
Articles should not be added to this category manually, only via Template:Infobox Character.
