Anonymous
×
Create a new article
Write your page title here:
We currently have 205 articles on Shadowrun Seattle Shutdown. Type your article name above or click on one of the titles below and start writing!



Shadowrun Seattle Shutdown

Template:CategorizeManual/Documentation: Difference between revisions

No edit summary
No edit summary
Line 2: Line 2:
{{Template|CategorizeManual}} is used to generate boilerplate text on categories that are populated via {{Category|Template}}s.
{{Template|CategorizeManual}} is used to generate boilerplate text on categories that are populated via {{Category|Template}}s.
==Usage==
==Usage==
It has two {{Parameter|mandatory|string}} and one {{Parameter|optional}}.
It has two {{Parameter|mandatory|string}}s and one {{Parameter|optional}}.
* {{Code|1}} must be a valid category. The broken bar character ({{code|¦}}) can be used to refine sorting.
* {{Code|1}} must be a valid category. The broken bar character ({{code|¦}}) can be used to refine sorting.
* {{Code|2}} is a string of descriptive text, explaining what is on the page.
* {{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.
* {{Code|3}} can be used to override the default source suggestion.
It also has one {{Parameter|optional|named}}:
* {{Code|hidden}} &mdash; If set to true, invokes the {{Code|<nowiki>__HIDDENCAT__</nowiki>}} magic word.
==Return==
==Return==
When invoked from the Category namespace, the category is added to the category specified by the first parameter.
When invoked from the Category namespace, the category is added to the category specified by the first parameter.

Revision as of 12:01, 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.

  • 1 must be a valid category. The broken bar character (¦) can be used to refine sorting.
  • 2 is a string of descriptive text, explaining what is on the page.
  • 3 can be used to override the default source suggestion.

It also has one optional named parameter:

  • hidden — If set to true, invokes the __HIDDENCAT__ magic word.

Return

When invoked from the Category namespace, the category is added to the category specified by the first parameter.

{{CategorizeManual|template|things and stuff}} returns:

This category includes templates that things and stuff.

Articles should not be added to this category manually, only via special configured Categorization Templates.

{{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.