Template:User Discord/doc: Difference between revisions
imported>Deadfire m updating |
Tungstenchan (talk | contribs) m Text replacement - "BattleTechWiki" to "BattleIntelligence" |
||
| Line 25: | Line 25: | ||
== Categorization == | == Categorization == | ||
This template automatically categorizes [[ | This template automatically categorizes [[BattleIntelligence:User pages|user pages]] where it is [[BattleIntelligence:Transclusion|transcluded]] into [[:Category:Editors who use Discord]]. | ||
* User pages will not be categorized if the {{para|nocat|yes}} parameter is used. | * User pages will not be categorized if the {{para|nocat|yes}} parameter is used. | ||
| Line 33: | Line 33: | ||
:<code><nowiki>[[Category:Editors who use Discord|{{subst:PAGENAME}}]]</nowiki></code> | :<code><nowiki>[[Category:Editors who use Discord|{{subst:PAGENAME}}]]</nowiki></code> | ||
Note: In keeping with the [[ | Note: In keeping with the [[BattleIntelligence:Userboxes|userboxes]] and [[BattleIntelligence:User categories|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 == | == See also == | ||
* [[ | * [[BattleIntelligence:Discord]] | ||
Latest revision as of 01:15, 1 May 2025
| This is a documentation subpage for Template:User Discord. It may contain usage information, categories and other content that is not part of the original template page. |
| This template should not be substituted. |
Usage
TemplateData for User Discord
A userbox to indicate that a user chats on the community Discord server.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Account | account | Your Discord account name. | String | optional |
| Category Disabled | nocat | This page will not be added to the category "Editors who use Discord" if this parameter is set to "true" (without the quotation marks).
| String | optional |
Categorization
This template automatically categorizes user pages where it is transcluded into Category:Editors who use Discord.
- User pages will not be categorized if the
|nocat=yesparameter is used.
To add yourself to Category:Editors who use Discord without using the userbox, add this to your user page:
[[Category:Editors 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