No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
* {{Code|1}} is the reference category. | * {{Code|1}} is the reference category. | ||
* {{Code|2}} (default: {{Code|referencing}}) is used to link between the two. | * {{Code|2}} (default: {{Code|referencing}}) is used to link between the two. | ||
As long as the article is not in the template namespace, it is added to a category named {{Code|<nowiki>{{NAMESPACE}} {{{2}}} {{{1}}}</nowiki>}} | |||
==Return== | ==Return== | ||
As it is context-sensitive, working examples are not possible. | As it is context-sensitive, working examples are not possible. | ||
Revision as of 16:18, 24 October 2022
Template:Categorize simplifies the generation of context-sensitive category assignments.
Usage
It accepts one mandatory string parameter and one optional string parameter.
1is the reference category.2(default:referencing) is used to link between the two.
As long as the article is not in the template namespace, it is added to a category named {{NAMESPACE}} {{{2}}} {{{1}}}
Return
As it is context-sensitive, working examples are not possible.
