Template:Ucat/doc
| This is a documentation subpage for Template:Ucat. It contains usage information, categories and other content that is not part of the original template page. |
This template adds the current user page to as many as ten user categories. This template may be used directly on your user page or within a user template. This template will only declare categories in the User namespace (NS:2), and will not declare categories in other namespaces. This template may be used with Template:Userbox to create userboxes that only declare user categories in the User namespace.
Use[edit]
To use this template, place the following line of Wiki markup in a user template or on your user page:
{{Ucat|usercat01|...|usercat10|nocat=}}
where:
usercat01|...|usercat10are the base names of up to 10 user categories.nocat=is the optional category declaration switch:nocat=falsedeclare the user categories if in User namespace (NS:2). (default)nocat=truedo not declare any categories.
Examples[edit]
The Wiki markup {{ucat|Wikipedians interested in chess}} adds the user page to the following category:
The Wiki markup {{ucat|Canadian Wikipedians|Wikipedian engineers|Wikipedians in Alberta}} adds the user page to the following categories:
The Wiki markup {{ucat|Wikipedian lawyers|Wikipedians interested in politics|nocat=true}} does not declare any categories.
See also[edit]
- For help with this template, please post a comment on the template talk page.