Template:User Discord/doc

Jump to navigation Jump to search

Usage

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

TemplateData for User Discord

A userbox to indicate that a user chats on Discord.

Template parameters

ParameterDescriptionTypeStatus
Accountaccount

Your Discord account name.

Stringoptional
Category Disablednocat

This page will not be added to the category "Wikipedians who use Discord" if this parameter is set to "true" (without the quotation marks).

Default
false
Stringoptional

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