Jump to content

Template:User Admin/doc: Difference between revisions

From BattleIntelligence
imported>Deadfire
creation
 
m Text replacement - "BattleTechWiki" to "BattleIntelligence"
 
Line 7: Line 7:


== Categorization ==
== Categorization ==
This template automatically categorizes [[BattleTechWiki:User pages|user pages]] where it is [[BattleTechWiki:Transclusion|transcluded]] into [[:Category:Editors who are Administrators]] and [[:Category:Editors who are BTW Staff]].
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 [[BattleTechWiki:Userboxes|userboxes]] and [[BattleTechWiki:User categories|user categories]] guidelines, and to avoid category pollution, this template employs &lt;includeonly&gt; 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.
Note: In keeping with the [[BattleIntelligence:Userboxes|userboxes]] and [[BattleIntelligence:User categories|user categories]] guidelines, and to avoid category pollution, this template employs &lt;includeonly&gt; 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 ==
* [[BattleTechWiki:Masthead]]
* [[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

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=yes parameter 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.

See also