Template:User Admin/doc: Difference between revisions
imported>Deadfire creation |
Tungstenchan (talk | contribs) m Text replacement - "BattleTechWiki" to "BattleIntelligence" |
||
| Line 7: | Line 7: | ||
== 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 are Administrators]] and [[:Category:Editors who are BTW Staff]]. | ||
* 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 19: | Line 19: | ||
:<code><nowiki>[[Category:Editors who are BTW Staff|{{subst:PAGENAME}}]]</nowiki></code> | :<code><nowiki>[[Category:Editors who are BTW Staff|{{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:Masthead]] | ||
<includeonly>{{Sandbox other|| | <includeonly>{{Sandbox other|| | ||
<!--Categories below this line, please; interwikis at Wikidata--> | <!--Categories below this line, please; interwikis at Wikidata--> | ||
[[Category:Usergroup user templates|Administrator]] | [[Category:Usergroup user templates|Administrator]] | ||
}}</includeonly> | }}</includeonly> | ||
Latest revision as of 01:03, 1 May 2025
| This is a documentation subpage for Template:User Admin. 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
{{User Admin}}
Categorization
This template automatically categorizes user pages where it is transcluded into Category:Editors who are Administrators and Category:Editors who are BTW Staff.
- User pages will not be categorized if the
|nocat=yesparameter is used.
To add yourself to Category:Editors who are Administrators without using the userbox, add this to your user page:
[[Category:Editors who are Administrators|{{subst:PAGENAME}}]]
To add yourself to Category:Editors who are BTW Staff without using the userbox, add this to your user page:
[[Category:Editors who are BTW Staff|{{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.