Template:Table stat: Difference between revisions

From TF2 Classified Wiki
Jump to navigation Jump to search
Skel (talk | contribs)
included instructions
Skel (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{#switch: {{{1|}}}
{{#switch: {{{1|}}}
| dmg = <b>Base:</b> {{{2}}}</br><b>Mini:</b> {{{3}}}</br><b>[[Critical hits|Crit:]]</b> {{{4}}}<br/>
| dmg = <b>Base:</b> {{{2}}}</br><b>Mini:</b> {{{3}}}</br><b>[[Critical hits|Crit:]]</b> {{{4}}}
| speed = <b>Attack interval:</b> {{tooltip|{{{2}}} s|{{{3}}} s (Haste boosted)}}<br/>
| speed = <b>Attack interval:</b> {{tooltip|{{{2}}} s|{{{3}}} s (Haste boosted)}}
| single_reload = <b>Reload:</b> {{tooltip|{{{2}}} s|{{{3}}} s (Haste boosted)}}<br/>
| single_reload = <b>Reload:</b> {{tooltip|{{{2}}} s|{{{3}}} s (Haste boosted)}}
| multi_reload = <b>Reload:</b> {{tooltip|{{{2}}} s <small>(first reload)</small>|{{{3}}} s (Haste boosted)}}, {{tooltip|{{{4}}} s <small>(consecutive reloads)</small>|{{{5}}} s (Haste boosted)}}<br/>
| multi_reload = <b>Reload:</b> {{tooltip|{{{2}}} s <small>(first reload)</small>|{{{3}}} s (Haste boosted)}}, {{tooltip|{{{4}}} s <small>(consecutive reloads)</small>|{{{5}}} s (Haste boosted)}}
| spread = <b>Spread:</b> {{tooltip|{{{2}}}|in radians}}<br/>
| spread = <b>Spread:</b> {{tooltip|{{{2}}}|in radians}}
| recovery = <b>Spread recovery:</b> {{{2}}} s<br/>
| recovery = <b>Spread recovery:</b> {{{2}}} s
| velocity = <b>Projectile velocity:</b> {{tooltip|{{{2}}}|in Hu/s}}<br/>
| velocity = <b>Projectile velocity:</b> {{tooltip|{{{2}}}|in Hu/s}}
| bullet = <b>Bullet count:</b> {{{2}}}<br/>
| bullet = <b>Bullet count:</b> {{{2}}}
| splash = <b>Splash radius:</b> {{tooltip|{{{2}}}|in Hu}}<br/>
| splash = <b>Splash radius:</b> {{tooltip|{{{2}}}|in Hu}}
| windup = <b>Windup time:</b> <i>Starting:</i> {{tooltip|{{{2}}} s|{{{3}}} s (Haste boosted)}}, <i>Stopping:</i> {{tooltip|{{{4}}} s|{{{5}}} s (Haste boosted)}}<br/>
| windup = <b>Windup time:</b> <i>Starting:</i> {{tooltip|{{{2}}} s|{{{3}}} s (Haste boosted)}}, <i>Stopping:</i> {{tooltip|{{{4}}} s|{{{5}}} s (Haste boosted)}}
}}
}}



Revision as of 01:29, 13 September 2026


used to simplify stat strings for future translating: current stat strings:

  • dmg = damage: takes 3 arguments (base|minicrit|critical hit)
  • speed = attack interval: takes 2 arguments (base|haste boosted)
  • single_reload = use for items that have a static reload speed: takes 2 arguments (base|haste boosted)
  • multi_reload = use for items that have an inital reload speed, and a repeated reload speed: takes 4 arguments (first|haste boosted|consecutive|haste boosted)
  • spread = bullet/projectile spread: takes 1 argument
  • recovery = spread recovery: takes 1 argument
  • velocity = projectile speed in Hu/s: takes 1 argument
  • bullet = bullet count: takes 1 argument
  • splash = splash radius in Hu: takes 1 argument
  • windup = (experimental) has both wind up and wind down. takes 4 arguments (spinup base|hasted|spindown base|hasted)