Home  

Random  

Nearby  



Log in  



Settings  



Donate  



About Wikipedia  

Disclaimers  



Wikipedia





Template:Ucat





Template  

Talk  



Language  

Watch  

View source  





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 following a user template. This template will only declare categories in the User namespace (NS:2) (other than User:UBX), 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

To use this template, place the following line of Help:Wikitext after a user template or alone on your user page:

{{ucat|usercat01|...|usercat10|nocat=}}

where:

Caution: If Template:Ucat is used after a userbox template in the User namespace (NS:2) other than User:UBX (most commonly your own user namespace), it must be enclosed in "includeonly" brackets, e.g. <includeonly>{{ucat|Wikipedian cyclists}}</includeonly>
This prevents Template:Ucat from including the user template itself in the category or categories.

Examples

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


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:Ucat&oldid=969307091"
 



Last edited on 24 July 2020, at 16:49  


Languages

 


العربية
تۆرکجه

فارسی

Bahasa Indonesia
Kurdî
Oʻzbekcha / ўзбекча
Română
Simple English
سنڌي
کوردی
Српски / srpski
 


اردو
Tiếng Vit
 

Wikipedia


This page was last edited on 24 July 2020, at 16:49 (UTC).

Content is available under CC BY-SA 4.0 unless otherwise noted.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Terms of Use

Desktop