Şablon:Gedişat göy qurşağı
Usage
redaktə{{Gedişat göy qurşağı|List|Stub|Start|C|B|GA|A|FA+FL|Total}}
Each field should be the number of articles in that category for the wikiproject.
This may be automatically calculated with the {{PAGESINCATEGORY}}
magic word, e.g. {{PAGESINCATEGORY:FA-Class Square Enix articles|R}}
Adding together such categories for the total can be done with the {{#expr:}}
function call, e.g. {{#expr:{{PAGESINCATEGORY:FA-Class video game articles|R}}+{{PAGESINCATEGORY:FL-Class video game articles|R}}}}
The bar expands to fit the full width of the page or container it is in; to adjust the width of the bar, place the template inside of a smaller div or table.
Examples
redaktə- Raw numbers
{{Gedişat göy qurşağı|20|20|100|40|30|40|10|40|310}}
produces
Note that the total is ten higher than the actual inputs; this results in a gray bar representing unassessed articles.
{{Gedişat göy qurşağı|10|40|100|40|20|50|10|20|290}}
produces
This bar's inputs match the total, so there is no gray bar at the end.
- Calculated amounts
{{Gedişat göy qurşağı|{{PAGESINCATEGORY:List-Class video game articles|R}}|{{PAGESINCATEGORY:Stub-Class video game articles|R}}|{{PAGESINCATEGORY:Start-Class video game articles|R}}|{{PAGESINCATEGORY:C-Class video game articles|R}}|{{PAGESINCATEGORY:B-Class video game articles|R}}|{{PAGESINCATEGORY:GA-Class video game articles|R}}|0|{{#expr:{{PAGESINCATEGORY:FA-Class video game articles|R}}+{{PAGESINCATEGORY:FL-Class video game articles|R}}}}|{{#expr:{{PAGESINCATEGORY:FA-Class video game articles|R}} + {{PAGESINCATEGORY:FL-Class video game articles|R}} + {{PAGESINCATEGORY:GA-Class video game articles|R}} + {{PAGESINCATEGORY:A-Class video game articles|R}} + {{PAGESINCATEGORY:B-Class video game articles|R}} + {{PAGESINCATEGORY:C-Class video game articles|R}} + {{PAGESINCATEGORY:Start-Class video game articles|R}} + {{PAGESINCATEGORY:List-Class video game articles|R}} + {{PAGESINCATEGORY:Stub-Class video game articles|R}} + {{PAGESINCATEGORY:Unassessed video game articles|R}}}}}}
produces
See also
redaktə- {{VikiLayihə gedişat göy qurşağı}} – uses
|project=
parameter for easy entry for calculated amounts (much shorter)