From Brotato Wiki

Revision as of 05:50, 6 December 2022 by Darkly77 (talk | contribs) (add option: addTierNumbers)


Creates a set of tabs for a weapon.

Similar to Template:StatsCardWeapon but with tabs to show stats at different tiers.

Example

If you don't include a value for a tier, the previous tier's value will be used instead.

Code Preview
{{StatsCardWeaponTabs
| firstShownTier = 1
| addTierNumbers = 1
| tier1disabled  = 0
| tier2disabled  = 0
| tier3disabled  = 0
| tier4disabled  = 0
| name1 = Isaac's Tears
| class1 = Tears
| image1 = Mod-Isaac-isaacs_tears_icon.png
| image3 = Mod-Isaac-isaacs_tears_icon_bloody.png
| damage1 = 7 ({{StatIcon|Ranged Damage}})
| damage2 = 14 ({{StatIcon|Ranged Damage}})
| damage3 = 28 ({{StatIcon|Ranged Damage}})
| damage4 = 45 ({{StatIcon|Ranged Damage}})
| critical1 = x2 (3% chance)
| cooldown1 = 0.7s
| cooldown2 = 0.62s
| cooldown3 = 0.53s
| cooldown4 = 0.45s
| knockback1 = 2
| range1 = 350 (Melee)
| piercing1 = {{Color|grey|0}}
| piercing3 = 1
}}

Mod-Isaac-isaacs tears icon.png

Isaac's Tears
Tears
  • Damage: 7 (Ranged Damage.png)
  • Critical: x2 (3% chance)
  • Cooldown: 0.7s
  • Knockback: 2
  • Range: 350 (Melee)
  • Piercing: 0

Mod-Isaac-isaacs tears icon.png

Isaac's Tears II
Tears
  • Damage: 14 (Ranged Damage.png)
  • Critical: x2 (3% chance)
  • Cooldown: 0.62s
  • Knockback: 2
  • Range: 350 (Melee)
  • Piercing: 0

Mod-Isaac-isaacs tears icon bloody.png

Isaac's Tears III
Tears
  • Damage: 28 (Ranged Damage.png)
  • Critical: x2 (3% chance)
  • Cooldown: 0.53s
  • Knockback: 2
  • Range: 350 (Melee)
  • Piercing: 1

Mod-Isaac-isaacs tears icon bloody.png

Isaac's Tears IV
Tears
  • Damage: 45 (Ranged Damage.png)
  • Critical: x2 (3% chance)
  • Cooldown: 0.45s
  • Knockback: 2
  • Range: 350 (Melee)
  • Piercing: 1
Tier I
Tier II
Tier III
Tier IV

Notes

The firstShownTier is mandatory. Leaving it out will prevent anything from being shown.

In the example above, "Piercing" is shown as 0 at tiers 1 and 2. This is because this particular weapon gains piercing at tier 3, but leaving it off of tiers 1 and 2 will make the container change its height when you click through the tabs, which is jarring for users.

Special effects are labelled "speciala" and "specialb" (plus their tier, eg speciala3), rather than "special1/special2/etc" like in Template:StatsCardWeapon.

All Options

The full list of options are listed below. Please don't leave anything blank though, else the previous tier's values won't get used (ie., only include options if you use them).

Toggle Full Options

{{StatsCardWeaponTabs
| firstShownTier = 1
| addTierNumbers = 1
| tier1disabled  = 0
| tier2disabled  = 0
| tier3disabled  = 0
| tier4disabled  = 0
| name1 =
| name2 =
| name3 =
| name4 =
| class1 =
| class2 =
| class3 =
| class4 =
| image1 =
| image2 =
| image3 =
| image4 =
| damage1 =
| damage2 =
| damage3 =
| damage4 =
| critical1 =
| critical2 =
| critical3 =
| critical4 =
| cooldown1 =
| cooldown2 =
| cooldown3 =
| cooldown4 =
| knockback1 =
| knockback2 =
| knockback3 =
| knockback4 =
| range1 =
| range2 =
| range3 =
| range4 =
| lifesteal1 =
| lifesteal2 =
| lifesteal3 =
| lifesteal4 =
| bounce1 =
| bounce2 =
| bounce3 =
| bounce4 =
| piercing1 =
| piercing2 =
| piercing3 =
| piercing4 =
| speciala1 =
| speciala2 =
| speciala3 =
| speciala4 =
| specialb1 =
| specialb2 =
| specialb3 =
| specialb4 =
}}