Template:Ammo tool
Revision as of 17:37, 5 August 2011 by Markfrompoland (talk | contribs) (A quick fix for template to work until there is a possibility to render text in "tf2" font.)
Documentation for Ammo tool
{{Ammo tool}}
can display the amount of ammunition carried/loaded in a way resembling the indicator on the in-game HUD. It was designed to be used in weapon charts to improve the aesthetical features of the presentation.
Parameters
{{Ammo tool|integer value of ammo loaded|integer value of ammo carried (including 0 for weapons like Minigun or Flamethrower) OR string "inf" to indicate the carried ammo is unlimited (for weapons like Cow Mangler 5000 or Jarate)}}
Example usages
{{Ammo tool|6|32}}
generates:
632
{{Ammo tool|200|0}}
generates:
200
{{Ammo tool|5|inf}}
generates:
5∞
{{Ammo tool|12|200}}
generates:
12200