Jump to content

Template:Admin backlog: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
update broom icon
convert to wrapper for Template:Backlog
 
(25 intermediate revisions by 18 users not shown)
Line 1: Line 1:
{{#invoke:Template wrapper|{{#if:{{yesno|{{{_debug|}}}}}|list|wrap}}
{{#ifeq:{{{disabled}}}|yes||{{#switch:
| _template = backlog
{{#if:{{{1|}}}
| _include-positional = yes
| {{#ifexpr:{{PAGESINCATEGORY:{{PAGENAME}}|R}} >= {{{1|}}}
| _exclude = _debug
| report
| _reuse = admin <!-- This prevents overriding the admin param (i.e. disallows {{admin backlog|admin=no}}) -->
| noreport
}}
| admin = yes
| remove = no<noinclude><!-- The module ignores empty params, so category param must exist -->
| report
| category = <nowiki />
}}

| noreport =
{{cmbox <!-- Cmbox since autoreport is only for category pages. -->
| image = [[File:Edit-clear.svg|40x40px]]
| textstyle = text-align: center;
| text = If this category contains {{{2|{{{1|}}}}}} {{plural:{{{2|{{{1|}}}}}}|item|items}} or more, it will report as a [[:Category:Administrative backlog|backlog]]. <small>({{purge|recount}})</small>
}}

| report
| #default =
{{mbox
| demospace = {{{demospace|}}} <!-- For the examples in the /doc. -->
| type = style
| style = text-align: center;
| text = This page has a '''[[:Category:Administrative backlog|backlog]]''' that requires the attention of one or more administrators. <br> {{
#if:{{{1|}}}
| ''This notice will hide when this category has fewer than {{{2|{{{1}}}}}} {{plural:{{{2|{{{1|}}}}}}|item|items}}.'' <small>({{purge|recount}})</small>
| {{#if:{{{bot|}}}|''This notice is automatically updated by {{User0|{{{bot}}}}} and will no longer be displayed when the backlog is cleared''|''Please remove this notice when the backlog is cleared.''}}
}}
}}<includeonly>{{#ifeq:{{SUBJECTSPACE}}|{{ns:user}}
| <!-- Don't categorise when on user or user talk pages. -->
| {{{category|[[Category:Administrative backlog|{{PAGENAME}}]]}}}
}}</includeonly>}}

}}<noinclude>

{{pp-template|small=yes}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>
}}<noinclude>{{documentation}}<!-- Add categories to the /doc subpage, interwikis go to wikidata; thanks! --></noinclude>

Latest revision as of 21:46, 27 August 2023