Difference between revisions of "Template:Ammo tool"
m (eety beety tiny change) |
m |
||
Line 1: | Line 1: | ||
− | <includeonly><span style="font-family:TF2 Build; font-size:64px; color:#3d3923; text-shadow:1px 1px 1px #b0ab9f;">{{{1}}}</span>{{#switch: {{{2}}} | + | <includeonly><span style="font-family:TF2 Build; font-size:64px; color:#3d3923; text-shadow:1px 1px 1px #b0ab9f; position: relative; top: 8px;">{{{1}}}</span>{{#switch: {{{2}}} |
| 0 = {{ns:}} | | 0 = {{ns:}} | ||
− | | inf = <span style="font-family:Arial Narrow; font-size:40px; color:#3d3923; text-shadow:1px 1px 1px #b0ab9f;">∞</span> | + | | inf = <span style="font-family:Arial Narrow; font-size:40px; color:#3d3923; text-shadow:1px 1px 1px #b0ab9f; position: relative; top: 8px;">∞</span> |
− | | #default = <span style="font-family:tf2; font-size:34px; color:#3d3923; text-shadow:1px 1px 1px #b0ab9f;">{{{2}}}</span>}} | + | | #default = <span style="font-family:tf2; font-size:34px; color:#3d3923; text-shadow:1px 1px 1px #b0ab9f; position: relative; top: 8px;">{{{2}}}</span>}} |
</includeonly><noinclude>{{doc begin}} | </includeonly><noinclude>{{doc begin}} | ||
{{tl|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. | {{tl|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. |
Revision as of 21:07, 12 August 2011
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
Wep | Frag icon | Ammo | Dmg | Importnt |
---|---|---|---|---|
Stock Grenade Launcher |
416 | Base: A lot
Crit: Much more |
Shoot Shoot Shoot Profit! |