Anonymous
×
Create a new article
Write your page title here:
We currently have 55 articles on SR5 Foundry VTT System Wiki. Type your article name above or click on one of the titles below and start writing!



SR5 Foundry VTT System Wiki

Template:Categorize: Difference between revisions

No edit summary
No edit summary
 
Line 3: Line 3:
| Template = <!-- Do Nothing -->
| Template = <!-- Do Nothing -->
| Stub = <!-- Do Nothing -->
| Stub = <!-- Do Nothing -->
| Category = <!-- Do Nothing -->
| #default = [[Category:{{#ifeq:{{NAMESPACENUMBER}}|0|Articles|{{NAMESPACE}}s}} {{{2|referencing}}} {{{1|}}}]]
| #default = [[Category:{{#ifeq:{{NAMESPACENUMBER}}|0|Articles|{{NAMESPACE}}s}} {{{2|referencing}}} {{{1|}}}]]
}}</onlyinclude></includeonly>
}}</onlyinclude></includeonly>

Latest revision as of 17:37, 12 December 2023

Template:Categorize

Template:Categorize simplifies the generation of context-sensitive category assignments.

Usage

It accepts one mandatory string parameter and one optional string parameter.

  • 1 is the reference category.
  • 2 (default: referencing) is used to link between the two.

As long as the article is not in the Template or Stub namespace, it is added to a category named {{NAMESPACE}} {{{2}}} {{{1}}}. In the case of the main namespace, {{NAMESPACE}} is replaced with Article

Return

As it is context-sensitive and adds articles to categories, working examples are not practical.

The documentation above was transcluded from Template:Categorize/Documentation.