Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Template:User toolbox/doc

From Wikipedia, the free encyclopedia
<Template:User toolbox
iconThis is adocumentationsubpage forTemplate:User toolbox.
It may contain usage information,categories and other content that is not part of the original template page.

Shows various links to counters and other user stats tools, various sections, followed by anActions with tasks that someone (usually administrators) may take with regard to a user. Note that many of these are punitive; the|simple=y option should usually be used to suppress this section, and those relating to advanced user types like admins, bureaucrats and stewards, because they're usually not relevant.

Usage

[edit]

This template'sinitial visibility currently defaults toautocollapse, meaning that if there is another collapsible item on the page (anavbox, sidebar, ortable with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.

To change this template's initial visibility, the|state=parameter may be used:

  • {{User toolbox|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{User toolbox|state=expanded}} will show the template expanded, i.e. fully visible.

Add{{User toolbox|1=Username}} to a page to display a user's links in the toolbox. If added to a user page, it will automatically get the username. If used on a subpage, specify the username manually or use{{User toolbox|{{ROOTPAGENAME}}}}. If used outside of user space, e.g. in the "Wikipedia talk:" namespace, the username must be specified.

Typical example

{{User toolbox|1=Example}}

yields (when expanded):

User toolbox forExample
General
Skin customizations
Requests / Investigations
History
Admin history
Bureaucrat history
Steward history
Actions
Full example

{{User toolbox|1=Example|simple=n}}

yields (when expanded):

User toolbox forExample
General
Skin customizations
Requests / Investigations
History
Admin history
Bureaucrat history
Steward history
Actions
Parameters
  • |1= to specify a different user name
  • |state=uncollapsed will expand the toolbox
  • |heading= to change the "User toolbox" heading
  • |simple=n shows all of the sections listed below
    • |admin=y to show the display of the Admin history section if the user is an administrator
    • |bureaucrat=y to show the display of the Bureaucrat history section if the user is a bureaucrat
    • |steward=y to show the display of the Steward history section if the user is a steward

TemplateData

[edit]
This is theTemplateData for this template used byTemplateWizard,VisualEditor and other tools.See a monthly parameter usage report forTemplate:User toolbox in articles based on its TemplateData.

TemplateData for User toolbox

Shows various links to counters, stats tools, and administrative actions for a user.
ParameterDescriptionTypeStatus
Username1
An alternative username to use instead of the page title.
Stringoptional
Headingheading
The heading for the toolbox other than "User toolbox".
Stringoptional
Initial visibilitystate
The template's initial visibility.
Suggested values
  • collapsed
  • expanded
  • autocollapse
  • uncollapsed
Default
autocollapse
Stringoptional
Simple modesimple
When enabled, automatically hides the administrator, bureaucrat, and steward history sections unless directly specified.
Booleanoptional
Show admin historyadmin
Display the admin history section if the user is an administrator.
Booleanoptional
Show bureaucrat historybureaucrat
Display the bureaucrat history section if the user is a bureaucrat.
Booleanoptional
Show steward historysteward
Display the steward history section if the user is a steward.
Booleanoptional

See also

[edit]


Retrieved from "https://en.wikipedia.org/w/index.php?title=Template:User_toolbox/doc&oldid=1153834398"
Hidden category:

[8]ページ先頭

©2009-2025 Movatter.jp