Template:Backlog progress bar: Difference between revisions
From Portals of Phereon Wiki
Content added Content deleted
portalsofphereon>Olaroll No edit summary |
portalsofphereon>Olaroll No edit summary |
||
Line 2: | Line 2: | ||
|<center> |
|<center> |
||
{{progression|{{#expr:{{{initial|500}}}-{{<!--- subst: --->PAGESINCATEGORY:{{{category|Stubs}}}|R}}}}|{{#expr:{{{initial|500}}}-{{{goal|0}}}}}}} |
{{progression|{{#expr:{{{initial|500}}}-{{<!--- subst: --->PAGESINCATEGORY:{{{category|Stubs}}}|R}}}}|{{#expr:{{{initial|500}}}-{{{goal|0}}}}}}} |
||
'''Backlog:''' [[:Category:{{{category| |
'''Backlog:''' [[:Category:{{{category|Stubs}}}|{{{category|Stubs}}}]]<br/> |
||
'''Goal:''' {{formatnum:{{{goal|0}}}}} {{{unit|articles}}}<br/> |
'''Goal:''' {{formatnum:{{{goal|0}}}}} {{{unit|articles}}}<br/> |
||
'''Current:''' {{<!--- subst: --->PAGESINCATEGORY:{{{category|Articles that need to be wikified from February 2009}}}}} {{{unit|articles}}}<br/> |
'''Current:''' {{<!--- subst: --->PAGESINCATEGORY:{{{category|Articles that need to be wikified from February 2009}}}}} {{{unit|articles}}}<br/> |
Revision as of 04:54, 21 November 2019
Backlog: Stubs |
Usage
This template draws a progress bar using {{Progression}}
and displays a statistics box. It differs from the original bar in that is designed for use in backlog category elimination drives; as articles are removed from the category specified, the percentage goes up based on the original population (e.g., at the start of the drive) and the goal.
At the end of the drive, if the statistics are to be preserved as they are, one must first |substitute the template, then substitute all the PAGESINCATEGORY magic words within. Invisible comments have been added to the code to make this process easier.
Parameters
- Full version
{{Backlog progress bar|initial= |goal= |category= |unit= }}
- Required fields
- initial: Initial backlog population (e.g., at the start of the drive)
- category: Backlog category, omitting the "Category:" prefix
- Optional fields
- goal: Target category population, defaults to "0"
- unit: Unit used, defaults to "articles"
- title: Replaces progress bar title text (link remains same)
- extra: Adds an extra operation to the current value (example: +34)
See also
{{Progression}}
[view | edit | purge]The above documentation is transcluded fromTemplate:Backlog progress bar/doc.