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

From blackwiki
Jump to navigation Jump to search
imported>Davidwr
(make documentation sub-page)
imported>Davidwr
(→‎Usage: tweak)
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''''':
+
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.
 +
 
 +
;Example:
 +
To format [[:Category:Accuracy disputes from {{CURRENTMONTHNAME}} {{CURRENTYEAR}}]] with its size, use
 
* <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|Accuracy disputes|</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code>
 
* <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>|Accuracy disputes|</nowiki>{{CURRENTMONTHNAME}} {{CURRENTYEAR}}<nowiki>}}</nowiki></code>
:returns
+
:which displays as
:{{{{BASEPAGENAME}}|Accuracy disputes|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
+
* {{{{BASEPAGENAME}}|Accuracy disputes|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
  
 
==See also==
 
==See also==

Revision as of 02:26, 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 and includes the size of the category.

Example

To format Category:Accuracy disputes from January 2026 with its size, use

  • {{Backlog count|Accuracy disputes|January 2026}}
which displays as
  1. Category:Accuracy disputes (January 2026—0)

See also