Difference between revisions of "Template:Ammo tool"

From Team Fortress Wiki
Jump to: navigation, search
m
m
 
Line 7: Line 7:
  
 
=== Parameters ===
 
=== Parameters ===
<code><nowiki>{{</nowiki>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)''}}</code>
+
<code><nowiki>{{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)''}}</nowiki></code>
  
 
=== Example usages ===
 
=== Example usages ===

Latest revision as of 18:59, 17 March 2022

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

632

200

5

12200


Wep Frag icon Ammo Dmg Importnt
Grenade Launcher
Stock
Grenade Launcher
Killicon grenade launcher.png 416 Base: A lot

Crit: Much more

Pictogram info.png Shoot

Pictogram info.png Shoot

Pictogram info.png Shoot

Pictogram plus.png Profit!