Template:User Discord

#
This user chats on Discord.
Template documentation[view] [edit] [history] [purge]

Usage

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for User Discord

<templatedata> { "description": "A userbox to indicate that a user chats on Discord.", "params": { "account": { "type": "string", "description": "Your Discord account name.", "label": "Account" }, "nocat": { "description": "This page will not be added to the category \"Wikipedians who use Discord\" if this parameter is set to \"true\" (without the quotation marks).", "type": "string", "label": "Category Disabled", "default": "false" } } } </templatedata>

Categorization

This template automatically categorizes user pages where it is transcluded into Category:Wikipedians who use Discord.

  • User pages will not be categorized if the |nocat=yes parameter is used.

To add yourself to Category:Wikipedians who use Discord without using the userbox, add this to your user page:

[[Category:Wikipedians who use Discord|{{subst:PAGENAME}}]]

Note: In keeping with the userboxes and user categories guidelines, and to avoid category pollution, this template employs <includeonly> tags and conditional code to avoid automatically including any page other than a user page into the user category. This template will only categorize user pages where it is transcluded, and will not categorize pages in any other namespace.

See also