Template:Itemcount
Documentation for Itemcount
Usage
Some counts are not directly taken from the categories, but rather use calculations to exclude certain pages. Please see template's source for specifics.
This template was created for easier changing count of items in lots of articles.
- c or cosmetics - Total count of cosmetic items. Count taken from Category:Cosmetic items: (1890)
- t or taunts - Total count of taunts, minus any default ones. Count taken from Category:Taunts: (106)
- w or weapons - Total count of weapons, including reskins. Count taken from Category:Weapons: (209)
- str or strange - Total count of items that can be obtained in Strange quality. Count taken from Category:Strange items: (1377)
- Optional second argument cosmetic to get the total count of cosmetic items obtainable in Strange quality: (1214)
- v or vintage - Total count of items that can be obtained in Vintage quality. Count taken from Category:Vintage items: (109)
- Optional second argument cosmetic to get the total count of cosmetic items obtainable in Vintage quality: (58)
- g or genuine - Total count of items that can be obtained in Genuine quality. Count taken from Category:Genuine items: (301)
- Optional second argument cosmetic to get the total count of cosmetic items obtainable in Genuine quality: (268)
- h or haunted - Total count of items that can be obtained in Haunted quality. Count taken from Category:Haunted items: (220)
- Optional second argument cosmetic to get the total count of cosmetic items obtainable in Haunted quality: (218)
- u or unusual - Total count of items that can be obtained in Unusual quality. Count taken from Category:Unusual items: (740)
- Optional second argument cosmetic to get the total count of cosmetic items obtainable in Unusual quality: (631)
- col or collectors - Total count of items that can be obtained in Collector's quality. Count taken from Category:Collector's items: (370)
- Optional second argument cosmetic to get the total count of cosmetic items obtainable in Collector's quality: (234)
- s or styles - Total count of items with styles. Count taken from Category:Items with styles: (329)
- p or paintable - Total count of items that can be painted. Count taken from Category:Paintable items: (1315)
- pv or paint variants - Total count of paint colors. Count taken from Category:Paint images: (29)
*uc or unusual cosmetics - Total count of cosmetic items that can be obtained in Unusual quality. Count taken from Category:Unusual items: (631) Use {{Itemcount|u|cosmetic}}
for unusual cosmetics count.
- ut or unusual taunts - Total count of taunts that can be obtained in Unusual quality. Count taken from Category:Unusual taunts: (106)
- uw or unusual weapons - Total count of weapons that can be obtained in Unusual quality. Count taken from Category:Decorated items: (44)
- uce or unusual cosmetic effects - Total count of Unusual cosmetic effects. Count taken from Category:Cosmetic Unusuals: (307)
- ute or unusual taunt effects - Total count of Unusual taunt effects. Count taken from Category:Taunt Unusuals: (155)
- uwe or unusual weapon effects - Total count of Unusual weapon effects. Count taken from Category:Weapon Unusuals: (5)
Example
There are {{Itemcount|c}}
cosmetic items. generates: There are 1890 cosmetic items.