Template:Regcats/doc

This user categories template will declare up to nine regional and national categories when placed on your user page. This template is commonly invoked by other templates as a metatemplate. The complete syntax is:

 

where: The following seven parameters pertain only if the region is a subdivision of a sovereign state:
 * region= the required region name as listed in Wikipedia
 * the= places a "the " before the region name in the regional resident and regional interest user categories (default=null)
 * adj= the adjective form of the region name (default= )
 * root= the root name of the regional project (default= )
 * group= the type of regional project:
 * group=WikiProject (default)
 * group=work group
 * group=task force
 * group=</tt>other
 * member=</tt> the type of regional project membership:
 * member=none</tt>
 * member=member</tt> (default)
 * member=participant</tt>
 * member=volunteer</tt>
 * member=</tt>other
 * res=</tt> determines the regional residence user category:
 * res=no</tt> (default)
 * res=yes</tt> declares the user a member of  </tt>
 * res=</tt>other declares the user a member of  </tt>
 * cit=</tt> determines the regional citizenship user category:
 * cit=no</tt> (default)
 * cit=yes</tt> declares the user a member of <tt> </tt>
 * <tt>cit=</tt>other declares the user a member of <tt> </tt>
 * <tt>des=</tt> determines the regional ancestry user category:
 * <tt>des=no</tt> (default)
 * <tt>des=yes</tt> declares the user a member of <tt> </tt>
 * <tt>des=</tt>other declares the user a member of <tt> </tt>
 * <tt>int=</tt> determines the regional interest user category:
 * <tt>int=no</tt> (default)
 * <tt>int=yes</tt> declares the user a member of <tt> </tt>
 * <tt>int=</tt>other declares the user a member of <tt> </tt>
 * <tt>pro=</tt> determines the regional WikiProject membership category:
 * <tt>pro=no</tt> (default)
 * <tt>pro=yes</tt> declares the user a member of <tt> </tt> or <tt>  </tt>
 * <tt>pro=</tt>other declares the user a member of <tt> </tt>
 * <tt>nocat=true</tt> disables the operation of this template
 * nation= the required nation name as listed in Wikipedia only if the region is a subdivision of a sovereign state
 * nthe= places a "the " before the nation name in the national resident and national interest user categories (default=<tt>null</tt>)
 * nadj= the adjective form of the nation name (default=<tt> </tt>)
 * <tt>nres=</tt> determines the national residence user category:
 * <tt>nres=no</tt> (default)
 * <tt>nres=yes</tt> declares the user a member of <tt> </tt>
 * <tt>nres=</tt>other declares the user a member of <tt> </tt>
 * <tt>ncit=</tt> determines the national citizenship user category:
 * <tt>ncit=no</tt> (default)
 * <tt>ncit=yes</tt> declares the user a member of <tt> </tt>
 * <tt>ncit=</tt>other declares the user a member of <tt> </tt>
 * <tt>ndes=</tt> determines the national ancestry user category:
 * <tt>ndes=no</tt> (default)
 * <tt>ndes=yes</tt> declares the user a member of <tt> </tt>
 * <tt>ndes=</tt>other declares the user a member of <tt> </tt>
 * <tt>nint=</tt> determines the national interest user category:
 * <tt>nint=no</tt> (default)
 * <tt>nint=yes</tt> declares the user a member of <tt> </tt>
 * <tt>nint=</tt>other declares the user a member of <tt> </tt>

Restrictions

 * This template will function only in the user namespace.
 * This template may be disabled with a nocat=true parameter.

Example
Placing the following Wikitext on your user page:
 * <tt> </tt>

will declare the user page a member of the following five user categories:
 * Category:Wikipedians in Puerto Rico
 * Category:Puerto Rican Wikipedians
 * Category:Wikipedians of Puerto Rican descent
 * Category:Wikipedians interested in Puerto Rico
 * Category:WikiProject Puerto Rico members