Difference between revisions of "Template:Itemcount"

From Team Fortress Wiki
Jump to: navigation, search
m
Line 1: Line 1:
 
<includeonly>{{#switch: {{lc:{{{1|}}}}}
 
<includeonly>{{#switch: {{lc:{{{1|}}}}}
   | h | hats = 297 <!-- up to date as of 27feb2013 -->
+
   | h | hats = 308 <!-- up to date as of 16may2013 -->
 
   | m | misc = 231 <!-- up to date as of 27feb2013 -->
 
   | m | misc = 231 <!-- up to date as of 27feb2013 -->
 
   | v | vintage = 106
 
   | v | vintage = 106

Revision as of 15:19, 16 May 2013

Documentation for Itemcount

Usage

This template was created for easier changing count of items in lots of articles.

  • hats - Count of hats.
  • misc - Count of miscellaneous items.
  • v - Count of vintage hats/misc items/weapons.
  • g - Count of genuine hats/misc items/weapons.
  • u - Count of unusual hats/misc items.
  • p - Count of paintable hats/misc items.
  • pv - Count of paint variants.
  • s - Count of items with alternate styles.

Example

There are {{Itemcount|hats}} hats. generates: There are hats.
There are {{Itemcount|v}} vintage hats/misc items/weapons. generates: There are 109 vintage hats/misc items/weapons.
There are {{Itemcount|g}} genuine hats/misc items/weapons. generates: There are 299 genuine hats/misc items/weapons.
There are {{Itemcount|u}} unusual hats/misc items. generates: There are 697 unusual hats/misc items.
There are {{Itemcount|p}} paintable hats/misc items. generates: There are 1255 paintable hats/misc items.
There are {{Itemcount|misc}} miscellaneous items. generates: There are miscellaneous items.
There are {{Itemcount|pv}} paint variants. generates: There are 29 paint variants.
There are {{Itemcount|s}} items with alternate styles. generates: There are 293 items with alternate styles.