From Brotato Wiki

Darkly77 (talk | contribs)
add option: addTierNumbers
Darkly77 (talk | contribs)
m fix some incorrect stats for Isaac's Tears
Line 135: Line 135:
| cooldown3 = 0.53s
| cooldown3 = 0.53s
| cooldown4 = 0.45s
| cooldown4 = 0.45s
| knockback1 = 2
| knockback1 = 10
| range1 = 350 (Melee)
| range1 = 700 (Ranged)
| piercing1 = {{Color|grey|0}}
| piercing1 = {{Color|grey|0}}
| piercing3 = 1
| piercing3 = 1
Line 163: Line 163:
| cooldown3 = 0.53s
| cooldown3 = 0.53s
| cooldown4 = 0.45s
| cooldown4 = 0.45s
| knockback1 = 2
| knockback1 = 10
| range1 = 350 (Melee)
| range1 = 700 (Ranged)
| piercing1 = {{Color|grey|0}}
| piercing1 = {{Color|grey|0}}
| piercing3 = 1
| piercing3 = 1

Revision as of 05:53, 6 December 2022


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 = 10
| range1 = 700 (Ranged)
| piercing1 = {{Color|grey|0}}
| piercing3 = 1
}}

Isaac's Tears
Tears
  • Damage: 7 ()
  • Critical: x2 (3% chance)
  • Cooldown: 0.7s
  • Knockback: 10
  • Range: 700 (Ranged)
  • Piercing: 0

Isaac's Tears II
Tears
  • Damage: 14 ()
  • Critical: x2 (3% chance)
  • Cooldown: 0.62s
  • Knockback: 10
  • Range: 700 (Ranged)
  • Piercing: 0

Isaac's Tears III
Tears
  • Damage: 28 ()
  • Critical: x2 (3% chance)
  • Cooldown: 0.53s
  • Knockback: 10
  • Range: 700 (Ranged)
  • Piercing: 1

Isaac's Tears IV
Tears
  • Damage: 45 ()
  • Critical: x2 (3% chance)
  • Cooldown: 0.45s
  • Knockback: 10
  • Range: 700 (Ranged)
  • 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 =
}}