Template:Wiki admin/doc

This template is used to manage the display of administrators, moderators, etc. on Terraria Wiki:List of administrators.

Usage
The template has two modes, user registration and user display. The first mode is used to store information about a user, while the second mode is used to display the table rows for a group of users.

User registration
Name of the group that the user belongs to. This can be completely custom and is referenced in the second mode.
 * group

Whether the user should be displayed in the section of active users or in the section of inactive users.
 * active

Name of the user.
 * user

Language spoken by the user. If this is an / code that is recognized by langInfo, then the $flag will be set automatically. Omit this parameter if no information about the language should be displayed.
 * lang

code of the country whose flag should be displayed next to the user's name. The flag's hovertext will be the language as defined by $lang. Note that there might not be a flag image available for all countries and that the country code used in a flag's file name might not be the country's ISO 3166-1 code. See Category:Flags on the Commons wiki for the full list of available flag images.
 * flag

Set this parameter to suppress the display of a link to the user's talk page, e.g. if they prefer communicating via UserProfile comments.
 * notalk

Custom text displayed in place of the user's name.
 * displaytext

User display
If this parameter is set, the template will display the number of users in the specified group.
 * countgroup

If this parameter is set, the template will display a table row for each user in the specified group. The users are sorted alphabetically and duplicate names are discarded.
 * listgroup

Whether to consider users registered as active or inactive.
 * active

Examples
{| class="wikitable" ! Code !! Result








 * }