Template:User Discord

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search
#This user chats on Discord.
Template documentation


Usage[edit]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

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[edit]

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

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

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

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

Note: In keeping with the userboxes 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.