Jump to content

英文维基 | 中文维基 | 日文维基 | 草榴社区

Template:Admin dashboard/doc

From Wikipedia, the free encyclopedia

Usage

[edit]
{{Admin dashboard/header}}

{{Admin dashboard/ab}}
{{#ifeq:{{Yesno|{{{showaiv|7 days}}}}}|yes|{{#ifexpr:{{#time:U|-{{{showaiv|7 days}}}}}-{{#time:U|{{REVISIONTIMESTAMP:WP:Administrator intervention against vandalism}}}} <= 0|{{Admin dashboard/aiv}}}}}}
{{Admin dashboard/csd}}
{{Admin dashboard/uaarfpp}}
{{Admin dashboard/rfarfp
 | 1 = {{{style|}}}{{#if:{{{showperm|}}}|
 {{!}} showperm {{=}} {{{showperm}}} }}{{#if:{{{showrfab|}}}|
 {{!}} showrfab {{=}} {{{showrfab}}} }}{{#if:{{{showacc|}}}|
 {{!}} showacc  {{=}} {{{showacc}}}} }}{{#if:{{{showaptl|}}}|
 {{!}} showaptl {{=}} {{{showaptl}}} }}{{#if:{{{showawb|}}}|
 {{!}} showacc  {{=}} {{{showawb}}}} }}{{#if:{{{showconf|}}}|
 {{!}} showconf {{=}} {{{showconf}}} }}{{#if:{{{showfmvr|}}}|
 {{!}} showext  {{=}} {{{showext}}}  }}{{#if:{{{showacc|}}}|
 {{!}} showacc  {{=}} {{{showevco}}}} }}{{#if:{{{showext|}}}|
 {{!}} showfmvr {{=}} {{{showfmvr}}} }}{{#if:{{{showmms|}}}|
 {{!}} showmms  {{=}} {{{showmms}}}  }}{{#if:{{{showrevr|}}}|
 {{!}} shownpr  {{=}} {{{shownpr}}}  }}{{#if:{{{shownpr|}}}|
 {{!}} showpmvr {{=}} {{{showpmvr}}} }}{{#if:{{{showpmvr|}}}|
 {{!}} showrevr {{=}} {{{showrevr}}} }}{{#if:{{{showrlbk|}}}|
 {{!}} showrlbk {{=}} {{{showrlbk}}} }}{{#if:{{{showte|}}}|
 {{!}} showte   {{=}} {{{showte}}} }}
}}
{{Admin dashboard/footer|newadmin={{{newadmin|no}}}}}<!--

You can re-arrange the order or pick and choose by transcluding elements separately -->

Note that directly transcluding the template or using all the subtemplates above can cause the page to exceed the post-expand include size.

Parameters

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Admin dashboard in articles based on its TemplateData.

TemplateData for Admin dashboard

Administrators Dashboard

Template parameters

ParameterDescriptionTypeStatus
style1

Backwards compatibility. Not entirely show of purpose at this time.

Default
Stringoptional
New administratornewadmin

Allows you to toggle the 'New administrators' navbox on/off. Set to 'yes' to transclude.

Default
no
Stringoptional
Show AIVshowaiv

Allows you to toggle the WP:AIV section on/off. Set to 'no' to prevent transclusion.

Default
yes
Stringoptional
Show PERMshowperm

Allows control over the entire WP:PERM section in one parameter. Setting this parameter to a valid time offset will only show sections that have had an edit in the specified amount of time.

Default
7 days
Stringoptional
Show RfA/RfBshowrfab

Allows hiding the requests for RfA/RfB section of WP:PERM. Setting this parameter to a valid time offset will only show this section if it has had an edit in the specified amount of time.

Default
7 days
Stringoptional
Show account creatorshowacc

Allows hiding the requests for account creator section of WP:PERM. Setting this parameter to a valid time offset will only show this section if it has had an edit in the specified amount of time.

Default
7 days
Stringoptional
Show autopatrolledshowaptl

Allows hiding the requests for autopatrolled section of WP:PERM. Setting this parameter to a valid time offset will only show this section if it has had an edit in the specified amount of time.

Default
7 days
Stringoptional
Show confirmedshowconf

Allows hiding the requests for confirmed section of WP:PERM. Setting this parameter to a valid time offset will only show this section if it has had an edit in the specified amount of time.

Default
7 days
Stringoptional
Show extended confirmedshowext

Allows hiding the requests for extended confirmed section of WP:PERM. Setting this parameter to a valid time offset will only show this section if it has had an edit in the specified amount of time.

Default
7 days
Stringoptional
Show file movershowfmvr

Allows hiding the requests for file mover section of WP:PERM. Setting this parameter to a valid time offset will only show this section if it has had an edit in the specified amount of time.

Default
7 days
Stringoptional
Show new page reviewershownpr

Allows hiding the requests for new page reviewer section of WP:PERM. Setting this parameter to a valid time offset will only show this section if it has had an edit in the specified amount of time.

Default
7 days
Stringoptional
Show page movershowpmvr

Allows hiding the requests for page mover section of WP:PERM. Setting this parameter to a valid time offset will only show this section if it has had an edit in the specified amount of time.

Default
7 days
Stringoptional
Show reviewershowrevr

Allows hiding the requests for reviewer section of WP:PERM. Setting this parameter to a valid time offset will only show this section if it has had an edit in the specified amount of time.

Default
7 days
Stringoptional
Show rollbackshowrlbk

Allows hiding the requests for rollback section of WP:PERM. Setting this parameter to a valid time offset will only show this section if it has had an edit in the specified amount of time.

Default
7 days
Stringoptional
Show template editorshowte

Allows hiding the requests for template editor section of WP:PERM. Setting this parameter to a valid time offset will only show this section if it has had an edit in the specified amount of time.

Default
7 days
Stringoptional

See also

[edit]