Difference between revisions of "Template:Backlog/sandbox"

From blackwiki
Jump to navigation Jump to search
imported>Jonesey95
(adding silent feature from adminbacklog)
imported>UnitedStatesian
(and one more)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{CatTrack|Error=no}}{{#switch:
+
{{Sandbox notice}}
  {{#if:{{{1|}}}
 
  | {{#ifexpr:{{PAGESINCATEGORY:{{PAGENAME}}|R}} >= {{{1|}}}
 
    | report
 
    | noreport
 
    }}
 
  | report
 
  }}
 
| noreport =
 
{{#ifeq:{{{silent|}}}|yes||
 
  {{cmbox  <!-- Cmbox since autoreport is only for category pages. -->
 
  | image = [[File:Less busy desk red.svg|50x50px|link=|alt=]]
 
  | textstyle = text-align: center;
 
  | text = If this category has {{{1|}}} {{plural:{{{1|}}}|item|items}} or more, it will report as a [[:Category:Wikipedia backlog|backlog]]. <small>({{purge|recount}})</small>
 
  }}
 
}}
 
| report
 
| #default =
 
  {{mbox
 
  | demospace = {{{demospace|}}}  <!-- For the examples in the /doc. -->
 
  | type = style
 
  | style = text-align: center;
 
  | image = [[File:Busy desk red.svg|50x50px|link=|alt=]]
 
  | text = {{{page|This category}}} has a '''[[:Category:Wikipedia backlog|backlog]]''' that requires the attention of willing editors. <br> {{
 
    #if:{{{1|}}}
 
    | ''This notice will hide when this category has {{plural:{{{1|}}}|no|fewer than {{{1}}}}} items.'' <small>({{purge|recount}})</small>
 
    | {{#ifeq:{{{auto}}}|yes|<small>This notice will automatically hide when the backlog is cleared.</small>|''Please remove this notice if and when the backlog is cleared.''}}
 
    }}
 
  }}<includeonly>{{#ifeq:{{SUBJECTSPACE}}|{{ns:user}}
 
  | <!-- Don't categorise when on user or user talk pages. -->
 
  | {{{category|[[Category:Wikipedia backlog|{{PAGENAME}}]]}}}
 
  }}</includeonly>
 
 
 
}}<noinclude>
 
 
 
{{template sandbox notice}}
 
<!-- {{pp-template|small=yes}}
 
{{documentation}} -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 

Latest revision as of 12:39, 7 June 2019