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

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 one {{Parameter|mandatory|string}} and one {{Parameter|optional}}.
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|2}} can be used to override the default source suggestion.
* {{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>{{CategorizeContent|things and stuff}}</nowiki>}} returns: {{Return|{{CategorizeContent|things and stuff}}}}
{{Code|<nowiki>{{CategorizeManual|template|things and stuff}}</nowiki>}} returns: {{Return|{{CategorizeContent|template|things and stuff}}}}


{{Code|<nowiki>{{CategorizeContent|sentient intelligences|{{Template|Infobox Character}}}}</nowiki>}} returns: {{Return|{{CategorizeContent|sentient intelligences|{{Template|Infobox Character}}}}}}
{{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.

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

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.