From Brotato Wiki

Revision as of 05:38, 18 June 2023 by Darkly77 (talk | contribs) (TemplateData: use format: block)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Creates a set of tabs for a weapon.

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

Notes

If you don't include a value for a tier, the previous tier's value will be used instead. This means you only need to enter data for, for example, name only once (with name1).

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

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

Example

In the first example below, "Piercing" is shown as 0 at tiers 1 and 2, even though it's an empty stat. This is done because this particular weapon gains piercing at tier 3, but if it wasn't listed in tiers 1 and 2 then clicking through the tabs would make the container change its height when you click, which looks janky.

Code Preview
{{StatsCardWeaponTabs
| 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
| firstShownTier = 1
| addTierNumbers = 1
| tier1disabled  = 0
| tier2disabled  = 0
| tier3disabled  = 0
| tier4disabled  = 0
}}

Mod-Isaac-isaacs tears icon.png

Isaac's Tears
Tears
  • Damage: 7 (Ranged Damage.png)
  • Critical: x2 (3% chance)
  • Cooldown: 0.7s
  • Knockback: 10
  • Range: 700 (Ranged)
  • 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: 10
  • Range: 700 (Ranged)
  • 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: 10
  • Range: 700 (Ranged)
  • 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: 10
  • Range: 700 (Ranged)
  • Piercing: 1
 I 
 II 
 III 
 IV 
{{StatsCardWeaponTabs
| name2      = Mom's Knife
| class2     = Precise, Demonic
| image2     = Mod-Isaac-moms_knife_icon.png
| damage2    = 30 (60%{{StatIcon|Melee Damage}})
| damage3    = 45 (60%{{StatIcon|Melee Damage}})
| damage4    = 55 (60%{{StatIcon|Melee Damage}})
| critical2  = x1.5 (30% chance)
| cooldown2  = 1.86s
| cooldown3  = 1.78s
| cooldown4  = 1.69s
| knockback2 = 2
| range2     = 350 (Melee)
| addTierNumbers = 1
| firstShownTier = 2
| tier1disabled  = 1
| info = Also deals damage when returning.
| unlock = Complete a run with Isaac
| info_br = 1
| unlock_br = 1
}}

[[File:|60x60px]]

Mod-Isaac-moms knife icon.png

Mom's Knife II
Precise, Demonic
  • Damage: 30 (60%Melee Damage.png)
  • Critical: x1.5 (30% chance)
  • Cooldown: 1.86s
  • Knockback: 2
  • Range: 350 (Melee)

Mod-Isaac-moms knife icon.png

Mom's Knife III
Precise, Demonic
  • Damage: 45 (60%Melee Damage.png)
  • Critical: x1.5 (30% chance)
  • Cooldown: 1.78s
  • Knockback: 2
  • Range: 350 (Melee)

Mod-Isaac-moms knife icon.png

Mom's Knife IV
Precise, Demonic
  • Damage: 55 (60%Melee Damage.png)
  • Critical: x1.5 (30% chance)
  • Cooldown: 1.69s
  • Knockback: 2
  • Range: 350 (Melee)

Mod-Isaac-moms knife icon.png

Mom's Knife
Precise, Demonic
  • Also deals damage when returning.




Mod-Isaac-moms knife icon.png

Mom's Knife
Precise, Demonic
  • Unlock:
  • Complete a run with Isaac



 I 
 II 
 III 
 IV 
Info Icon.png
Locked Icon.png

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
| 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 =
| piercing1 =
| piercing2 =
| piercing3 =
| piercing4 =
| bounce1 =
| bounce2 =
| bounce3 =
| bounce4 =
| speciala1 =
| speciala2 =
| speciala3 =
| speciala4 =
| specialb1 =
| specialb2 =
| specialb3 =
| specialb4 =
| firstShownTier = 1
| addTierNumbers = 1
| tier1disabled  = 0
| tier2disabled  = 0
| tier3disabled  = 0
| tier4disabled  = 0
}}

No description.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Name - Tier 1name1

no description

Example
Pistol
Stringrequired
Name - Tier 2name2

no description

Example
Leave blank unless name changes
Stringsuggested
Name - Tier 3name3

no description

Example
Leave blank unless name changes
Stringsuggested
Name - Tier 4name4

no description

Example
Leave blank unless name changes
Stringsuggested
Class - Tier 1class1

no description

Stringrequired
Class - Tier 2class2

no description

Example
Leave blank unless class changes
Stringsuggested
Class - Tier 3class3

no description

Example
Leave blank unless class changes
Stringsuggested
Class - Tier 4class4

no description

Example
Leave blank unless class changes
Stringsuggested
Image - Tier 1image1

no description

Stringrequired
Image - Tier 2image2

no description

Stringsuggested
Image - Tier 3image3

no description

Stringsuggested
Image - Tier 4image4

no description

Stringsuggested
Damage - Tier 1damage1

no description

Stringrequired
Damage - Tier 2damage2

no description

Stringsuggested
Damage - Tier 3damage3

no description

Stringsuggested
Damage - Tier 4damage4

no description

Stringsuggested
Critical - Tier 1critical1

no description

Stringsuggested
Critical - Tier 2critical2

no description

Stringsuggested
Critical - Tier 3critical3

no description

Stringsuggested
Critical - Tier 4critical4

no description

Stringsuggested
Cooldown - Tier 1cooldown1

no description

Stringrequired
Cooldown - Tier 2cooldown2

no description

Stringsuggested
Cooldown - Tier 3cooldown3

no description

Stringsuggested
Cooldown - Tier 4cooldown4

no description

Stringsuggested
Knockback - Tier 1knockback1

no description

Stringsuggested
Knockback - Tier 2knockback2

no description

Stringsuggested
Knockback - Tier 3knockback3

no description

Stringsuggested
Knockback - Tier 4knockback4

no description

Stringsuggested
Range - Tier 1range1

no description

Stringrequired
Range - Tier 2range2

no description

Stringsuggested
Range - Tier 3range3

no description

Stringsuggested
Range - Tier 4range4

no description

Stringsuggested
Life Steal - Tier 1lifesteal1

no description

Stringsuggested
Life Steal - Tier 2lifesteal2

no description

Stringsuggested
Life Steal - Tier 3lifesteal3

no description

Stringsuggested
Life Steal - Tier 4lifesteal4

no description

Stringsuggested
Piercing - Tier 1piercing1

no description

Stringsuggested
Piercing - Tier 2piercing2

no description

Stringsuggested
Piercing - Tier 3piercing3

no description

Stringsuggested
Piercing - Tier 4piercing4

no description

Stringsuggested
Bounce - Tier 1bounce1

no description

Stringsuggested
Bounce - Tier 2bounce2

no description

Stringsuggested
Bounce - Tier 3bounce3

no description

Stringsuggested
Bounce - Tier 4bounce4

no description

Stringsuggested
Special A - Tier 1speciala1

no description

Stringsuggested
Special A - Tier 2speciala2

no description

Stringsuggested
Special A - Tier 3speciala3

no description

Stringsuggested
Special A - Tier 4speciala4

no description

Stringsuggested
Special B - Tier 1specialb1

no description

Stringsuggested
Special B - Tier 2specialb2

no description

Stringsuggested
Special B - Tier 3specialb3

no description

Stringsuggested
Special B - Tier 4specialb4

no description

Stringsuggested
First Shown TierfirstShownTier

Either 1, 2, 3, or 4. Should always be 1, unless a lower tier is disabled

Example
1
Auto value
1
Numberrequired
Add Tier Numbers?addTierNumbers

If enabled, automatically adds II, III and IV to tier names

Auto value
1
Booleansuggested
Disable Tier 1?tier1disabled

If enabled, Tier 1 won't be clickable. Make sure you also change the First Shown Tier to 2 (or 3/4)

Booleansuggested
Disable Tier 2?tier2disabled

If enabled, Tier 2 won't be clickable. Make sure you also change the First Shown Tier to 3 (or 4)

Booleansuggested
Disable Tier 3?tier3disabled

If enabled, Tier 3 won't be clickable. Make sure you also change the First Shown Tier to 4

Booleansuggested
Disable Tier 4?tier4disabled

no description

Booleansuggested
Info Tabinfo

Add any custom content here to show it in a special Info tab

Stringsuggested
Unlock Tabunlock

Can be used to show unlock requirements

Stringsuggested
Add Line Breaks to Info?info_br

If enabled (with 1), adds 4 empty lines to the Info tab, which can make it a similar height to other tabs. Can also be achieved by adding <br> a few times after the info text.

Booleansuggested
Add Line Breaks to Unlock?unlock_br

If enabled (with 1), adds 3 empty lines to the Unlock tab, which can make it a similar height to other tabs. Can also be achieved by adding <br> a few times after the info text.

Booleansuggested