Difference between revisions of "Template:Backlog count/doc"

From blackwiki
Jump to navigation Jump to search
imported>Davidwr
(→‎Usage: tweak)
imported>Davidwr
(tweak - make it clear that the template name isn't exactly what it does)
Line 2: Line 2:
 
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
 
<!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata -->
 
== Usage ==
 
== Usage ==
This template is used by [[Wikipedia:Backlog]].  It is not intended for general use in the encyclopedia.  It nicely formats categories whose names end in '''from ''month'' ''YEAR''''' and includes the size of the category.
+
This template is used by [[Wikipedia:Backlog]].  It is not intended for general use in the encyclopedia.  It nicely formats categories whose names end in '''from ''month'' ''YEAR''''' so they can be displayed in a numbered list.  It includes the size of the category.  Since it does '''not''' count sub-categories, it is not an actual count of the total backlog, just the backlog in the particular month and year.
  
 
;Example:
 
;Example:
To format [[:Category:Accuracy disputes from {{CURRENTMONTHNAME}} {{CURRENTYEAR}}]] with its size, use  
+
To format
* <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|Accuracy disputes|</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code>
+
:[[:Category:Accuracy disputes from {{CURRENTMONTHNAME}} {{CURRENTYEAR}}]]  
 +
:[[:Category:Articles with unsourced statements from {{CURRENTMONTHNAME}} {{CURRENTYEAR}}]]
 +
 
 +
as a numbered list, with their sizes, use  
 +
:<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|Accuracy disputes|</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code>
 +
:<code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|Articles with unsourced statements|</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code>
 +
 
 
:which displays as  
 
:which displays as  
* {{{{BASEPAGENAME}}|Accuracy disputes|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
+
:{{{{BASEPAGENAME}}|Accuracy disputes|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
 +
:{{{{BASEPAGENAME}}|Articles with unsourced statements|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
  
 
==See also==
 
==See also==

Revision as of 02:59, 6 September 2020

Usage

This template is used by Wikipedia:Backlog. It is not intended for general use in the encyclopedia. It nicely formats categories whose names end in from month YEAR so they can be displayed in a numbered list. It includes the size of the category. Since it does not count sub-categories, it is not an actual count of the total backlog, just the backlog in the particular month and year.

Example

To format

Category:Accuracy disputes from November 2025
Category:Articles with unsourced statements from November 2025

as a numbered list, with their sizes, use

{{Backlog count|Accuracy disputes|November 2025}}
{{Backlog count|Articles with unsourced statements|November 2025}}
which displays as
  1. Category:Accuracy disputes (November 2025—0)
  1. Category:Articles with unsourced statements (November 2025—0)

See also