Difference between revisions of "Template:Itemcount"

From Team Fortress Wiki
Jump to: navigation, search
m (Added note)
m
 
Line 12: Line 12:
 
   | p | paintable = {{PAGESINCATEGORY:Paintable items|pages|R}}
 
   | p | paintable = {{PAGESINCATEGORY:Paintable items|pages|R}}
 
   | pv | paint variants = {{PAGESINCATEGORY:Paint images|files|R}} -{{PAGESINCATEGORY:Custom paint colors|files|R}} -(({{PAGESINCATEGORY:Paint images|files|R}} -{{PAGESINCATEGORY:Custom paint colors|files|R}})/2)
 
   | pv | paint variants = {{PAGESINCATEGORY:Paint images|files|R}} -{{PAGESINCATEGORY:Custom paint colors|files|R}} -(({{PAGESINCATEGORY:Paint images|files|R}} -{{PAGESINCATEGORY:Custom paint colors|files|R}})/2)
   | uc | unusual cosmetics = {{PAGESINCATEGORY:Unusual items|pages|R}} -{{PAGESINCATEGORY:Unusual taunts|pages|R}}
+
   | uc | unusual cosmetics = {{PAGESINCATEGORY:Unusual items|pages|R}} -{{PAGESINCATEGORY:Unusual taunts|pages|R}} -3
 
   | ut | unusual taunts = {{PAGESINCATEGORY:Unusual taunts|pages|R}}
 
   | ut | unusual taunts = {{PAGESINCATEGORY:Unusual taunts|pages|R}}
 
   | uw | unusual weapons = {{PAGESINCATEGORY:Decorated items|pages|R}} -1
 
   | uw | unusual weapons = {{PAGESINCATEGORY:Decorated items|pages|R}} -1

Latest revision as of 21:24, 2 February 2024

Documentation for Itemcount

Usage

Pictogram comment.png 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.

Example

There are {{Itemcount|c}} cosmetic items. generates: There are 1820 cosmetic items.