From Dark and Darker Wiki

(Created page with "<onlyinclude><includeonly><!-- --><div class="cardtabs" data-cardtabs> <div class="mytabs__panels" data-cardtabs-panels> <div data-cardtabs-panel="1" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|1||cardtabs__panel--js-hidden}}"> {{Infobox Weapon | name = {{{name1|}}} | classes = {{{classes1|}}} | damage = {{{damage1|}}} | rarity = 0 | movementspeed = {{{m...")
 
No edit summary
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<onlyinclude><includeonly><!--
<onlyinclude><includeonly><!--
--><div class="cardtabs" data-cardtabs>
--><div class="cardtabs" data-cardtabs><!--
<div class="mytabs__panels" data-cardtabs-panels>
--><div class="mytabs__panels" data-cardtabs-panels><!--
 
--><div data-cardtabs-panel="1" style="overflow: auto; background-color:rgb(var(--rarity-0),0.05)" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|1||cardtabs__panel--js-hidden}}"><!--
<div data-cardtabs-panel="1" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|1||cardtabs__panel--js-hidden}}">
-->{{Infobox Weapon
{{Infobox Weapon
| name                    = {{{name|}}}
| name                    = {{{name1|}}}
| classes                = {{{classes|}}}
| classes                = {{{classes1|}}}
| damage                  = {{{damage1|}}}
| damage                  = {{{damage1|}}}
| armor                  = {{{armor1|}}}
             | rarity                  = 0
             | rarity                  = 0
| movementspeed          = {{{movementspeed1|}}}
| movementspeed          = {{{movementspeed|}}}
| combo                  = {{{combo1|}}}
| combo                  = {{{combo|}}}
| combodamage            = {{{combodamage1|}}}
| combodamage            = {{{combodamage|}}}
| attackspeed            = {{{attackspeed1|}}}
| attackspeed            = {{{attackspeed|}}}
| sweetsour              = {{{sweetsour1|}}}
| sweetsour              = {{{sweetsour|}}}
| actionmovementspeed    = {{{actionmovementspeed1|}}}
| actionmovementspeed    = {{{actionmovementspeed|}}}
}}
            | quiver                  = {{{quiver|}}}
</div>
}}<!--
--></div><!--


<div data-cardtabs-panel="2" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|2||cardtabs__panel--js-hidden}}">
--><div data-cardtabs-panel="2" style="overflow: auto; background-color:rgb(var(--rarity-1),0.05)" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|2||cardtabs__panel--js-hidden}}"><!--
{{Infobox Weapon
-->{{Infobox Weapon
| name                    = {{{name1|}}} {{#if:{{{addTierNumbers|}}}|II}}
| name                    = {{{name|}}}
| classes                = {{{classes1|}}}
| classes                = {{{classes|}}}
| damage                  = {{{damage2|{{{damage1|}}}}}}
| damage                  = {{{damage2|}}}
| armor                  = {{{armor2|}}}
             | rarity                  = 1
             | rarity                  = 1
| movementspeed          = {{{movementspeed1|}}}
| movementspeed          = {{{movementspeed|}}}
| combo                  = {{{combo1|}}}
| combo                  = {{{combo|}}}
| combodamage            = {{{combodamage1|}}}
| combodamage            = {{{combodamage|}}}
| attackspeed            = {{{attackspeed1|}}}
| attackspeed            = {{{attackspeed|}}}
| sweetsour              = {{{sweetsour1|}}}
| sweetsour              = {{{sweetsour|}}}
| actionmovementspeed    = {{{actionmovementspeed1|}}}
| actionmovementspeed    = {{{actionmovementspeed|}}}
}}
            | quiver                  = {{{quiver|}}}
</div>
}}<!--
--></div><!--


<div data-cardtabs-panel="3" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|3||cardtabs__panel--js-hidden}}">
--><div data-cardtabs-panel="3" style="overflow: auto; background-color:rgb(var(--rarity-2),0.05)" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|3||cardtabs__panel--js-hidden}}"><!--
{{Infobox Weapon
-->{{Infobox Weapon
| name                    = {{{name1|}}} {{#if:{{{addTierNumbers|}}}|III}}
| name                    = {{{name|}}}
| classes                = {{{classes1|}}}
| classes                = {{{classes|}}}
| damage                  = {{{damage3|{{{damage2|{{{damage1|}}}}}}}}}
| damage                  = {{{damage3|}}}
| armor                  = {{{armor3|}}}
             | rarity                  = 2
             | rarity                  = 2
| movementspeed          = {{{movementspeed1|}}}
| movementspeed          = {{{movementspeed|}}}
| combo                  = {{{combo1|}}}
| combo                  = {{{combo|}}}
| combodamage            = {{{combodamage1|}}}
| combodamage            = {{{combodamage|}}}
| attackspeed            = {{{attackspeed1|}}}
| attackspeed            = {{{attackspeed|}}}
| sweetsour              = {{{sweetsour1|}}}
| sweetsour              = {{{sweetsour|}}}
| actionmovementspeed    = {{{actionmovementspeed1|}}}
| actionmovementspeed    = {{{actionmovementspeed|}}}
}}
            | quiver                  = {{{quiver|}}}
</div>
}}<!--
--></div><!--


<div data-cardtabs-panel="4" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|4||cardtabs__panel--js-hidden}}">
--><div data-cardtabs-panel="4" style="overflow: auto; background-color:rgb(var(--rarity-3),0.05)" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|4||cardtabs__panel--js-hidden}}"><!--
{{Infobox Weapon
-->{{Infobox Weapon
| name                    = {{{name1|}}} {{#if:{{{addTierNumbers|}}}|IV}}
| name                    = {{{name|}}}
| classes                = {{{classes1|}}}
| classes                = {{{classes|}}}
| damage                  = {{{damage4|{{{damage3|{{{damage2|{{{damage1|}}}}}}}}}}}}
| damage                  = {{{damage4|}}}
| armor                  = {{{armor4|}}}
             | rarity                  = 3
             | rarity                  = 3
| movementspeed          = {{{movementspeed1|}}}
| movementspeed          = {{{movementspeed|}}}
| combo                  = {{{combo1|}}}
| combo                  = {{{combo|}}}
| combodamage            = {{{combodamage1|}}}
| combodamage            = {{{combodamage|}}}
| attackspeed            = {{{attackspeed1|}}}
| attackspeed            = {{{attackspeed|}}}
| sweetsour              = {{{sweetsour1|}}}
| sweetsour              = {{{sweetsour|}}}
| actionmovementspeed    = {{{actionmovementspeed1|}}}
| actionmovementspeed    = {{{actionmovementspeed|}}}
}}
            | quiver                  = {{{quiver|}}}
</div>
}}<!--
--></div><!--


<div data-cardtabs-panel="5" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|5||cardtabs__panel--js-hidden}}">
--><div data-cardtabs-panel="5" style="overflow: auto; background-color:rgb(var(--rarity-4),0.05)" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|5||cardtabs__panel--js-hidden}}"><!--
{{Infobox Weapon
-->{{Infobox Weapon
| name                    = {{{name1|}}} {{#if:{{{addTierNumbers|}}}|V}}
| name                    = {{{name|}}}
| classes                = {{{classes1|}}}
| classes                = {{{classes|}}}
| damage                  = {{{damage5|{{{damage4|{{{damage3|{{{damage2|{{{damage1|}}}}}}}}}}}}}}}
| damage                  = {{{damage5|}}}
| armor                  = {{{armor5|}}}
             | rarity                  = 4
             | rarity                  = 4
| movementspeed          = {{{movementspeed1|}}}
| movementspeed          = {{{movementspeed|}}}
| combo                  = {{{combo1|}}}
| combo                  = {{{combo|}}}
| combodamage            = {{{combodamage1|}}}
| combodamage            = {{{combodamage|}}}
| attackspeed            = {{{attackspeed1|}}}
| attackspeed            = {{{attackspeed|}}}
| sweetsour              = {{{sweetsour1|}}}
| sweetsour              = {{{sweetsour|}}}
| actionmovementspeed    = {{{actionmovementspeed1|}}}
| actionmovementspeed    = {{{actionmovementspeed|}}}
}}
            | quiver                  = {{{quiver|}}}
</div>
}}<!--
--></div><!--


<div data-cardtabs-panel="6" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|6||cardtabs__panel--js-hidden}}">
--><div data-cardtabs-panel="6" style="overflow: auto; background-color:rgb(var(--rarity-5),0.05)" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|6||cardtabs__panel--js-hidden}}"><!--
{{Infobox Weapon
-->{{Infobox Weapon
| name                    = {{{name1|}}} {{#if:{{{addTierNumbers|}}}|VI}}
| name                    = {{{name|}}}
| classes                = {{{classes1|}}}
| classes                = {{{classes|}}}
| damage                  = {{{damage6|{{{damage5|{{{damage4|{{{damage3|{{{damage2|{{{damage1|}}}}}}}}}}}}}}}}}}
| damage                  = {{{damage6|}}}
| armor                  = {{{armor6|}}}
             | rarity                  = 5
             | rarity                  = 5
| movementspeed          = {{{movementspeed1|}}}
| movementspeed          = {{{movementspeed|}}}
| combo                  = {{{combo1|}}}
| combo                  = {{{combo|}}}
| combodamage            = {{{combodamage1|}}}
| combodamage            = {{{combodamage|}}}
| attackspeed            = {{{attackspeed1|}}}
| attackspeed            = {{{attackspeed|}}}
| sweetsour              = {{{sweetsour1|}}}
| sweetsour              = {{{sweetsour|}}}
| actionmovementspeed    = {{{actionmovementspeed1|}}}
| actionmovementspeed    = {{{actionmovementspeed|}}}
}}
            | quiver                  = {{{quiver|}}}
</div>
}}<!--
--></div><!--


<div data-cardtabs-panel="7" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|7||cardtabs__panel--js-hidden}}">
--><div data-cardtabs-panel="7" style="overflow: auto; background-color:rgb(var(--rarity-6),0.05)" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|7||cardtabs__panel--js-hidden}}"><!--
{{Infobox Weapon
-->{{Infobox Weapon
| name                    = {{{name1|}}} {{#if:{{{addTierNumbers|}}}|VII}}
| name                    = {{{name|}}}
| classes                = {{{classes1|}}}
| classes                = {{{classes|}}}
| damage                  = {{{classes7|{{{damage6|{{{damage5|{{{damage4|{{{damage3|{{{damage2|{{{damage1|}}}}}}}}}}}}}}}}}}}}}
| damage                  = {{{damage7|}}}
| armor                  = {{{armor7|}}}
             | rarity                  = 6
             | rarity                  = 6
| movementspeed          = {{{movementspeed1|}}}
| movementspeed          = {{{movementspeed|}}}
| combo                  = {{{combo1|}}}
| combo                  = {{{combo|}}}
| combodamage            = {{{combodamage1|}}}
| combodamage            = {{{combodamage|}}}
| attackspeed            = {{{attackspeed1|}}}
| attackspeed            = {{{attackspeed|}}}
| sweetsour              = {{{sweetsour1|}}}
| sweetsour              = {{{sweetsour|}}}
| actionmovementspeed    = {{{actionmovementspeed1|}}}
| actionmovementspeed    = {{{actionmovementspeed|}}}
}}
            | quiver                  = {{{quiver|}}}
</div>
}}<!--
--></div><!--


<div data-cardtabs-panel="8" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|8||cardtabs__panel--js-hidden}}">
--><div data-cardtabs-panel="8" style="overflow: auto; background-color:rgb(var(--rarity-7),0.05)" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|8||cardtabs__panel--js-hidden}}"><!--
{{Infobox Weapon
-->{{Infobox Weapon
| name                    = {{{name1|}}} {{#if:{{{addTierNumbers|}}}|VIII}}
| name                    = {{{name|}}}
| classes                = {{{classes1|}}}
| classes                = {{{classes|}}}
| damage                  = {{{damage8|{{{damage7|{{{damage6|{{{damage5|{{{damages4|{{{damage3|{{{damage2|{{{damage1|}}}}}}}}}}}}}}}}}}}}}}}}
| damage                  = {{{damage8|}}}
| armor                  = {{{armor8|}}}
             | rarity                  = 7
             | rarity                  = 7
| movementspeed          = {{{movementspeed1|}}}
| movementspeed          = {{{movementspeed|}}}
| combo                  = {{{combo1|}}}
| combo                  = {{{combo|}}}
| combodamage            = {{{combodamage1|}}}
| combodamage            = {{{combodamage|}}}
| attackspeed            = {{{attackspeed1|}}}
| attackspeed            = {{{attackspeed|}}}
| sweetsour              = {{{sweetsour1|}}}
| sweetsour              = {{{sweetsour|}}}
| actionmovementspeed    = {{{actionmovementspeed1|}}}
| actionmovementspeed    = {{{actionmovementspeed|}}}
}}
            | quiver                  = {{{quiver|}}}
</div>
}}<!--
         </div>
--></div><!--
         --></div><!--


<!--
<!--
Line 131: Line 146:
-->
-->
<div class="cardtabs__buttons" data-cardtabs-btns>
<div class="cardtabs__buttons" data-cardtabs-btns>
<div data-cardtabs-btn="{{#ifeq:{{{tier1disabled|}}}|1|-1|1}}" class="cardtabs__button colorrarity0 rarity0 {{#ifeq:{{{firstShownTier|}}}|1|cardtabs__button--active|}} {{#ifeq:{{{tier1disabled|}}}|1|cardtabs__button--disabled|}} <!--
<div data-cardtabs-btn="1" class="cardtabs__button rarity0 {{#ifeq:{{{firstShownTier|}}}|1|cardtabs__button--active|}} {{#ifeq:{{{tier1disabled|}}}|1|cardtabs__button--disabled|}} <!--
-->">&nbsp;I&nbsp;</div>
-->">&nbsp;I&nbsp;</div>
<div data-cardtabs-btn="{{#ifeq:{{{tier2disabled|}}}|1|-1|2}}" class="cardtabs__button colorrarity1 rarity1 {{#ifeq:{{{firstShownTier|}}}|2|cardtabs__button--active|}} {{#ifeq:{{{tier2disabled|}}}|1|cardtabs__button--disabled|}} <!--
<div data-cardtabs-btn="2" class="cardtabs__button rarity1 {{#ifeq:{{{firstShownTier|}}}|2|cardtabs__button--active|}} {{#ifeq:{{{tier2disabled|}}}|1|cardtabs__button--disabled|}} <!--
-->">&nbsp;II&nbsp;</div>
-->">&nbsp;II&nbsp;</div>
<div data-cardtabs-btn="{{#ifeq:{{{tier3disabled|}}}|1|-1|3}}" class="cardtabs__button colorrarity2 rarity2 {{#ifeq:{{{firstShownTier|}}}|3|cardtabs__button--active|}} {{#ifeq:{{{tier3disabled|}}}|1|cardtabs__button--disabled|}} <!--
<div data-cardtabs-btn="3" class="cardtabs__button rarity2 {{#ifeq:{{{firstShownTier|}}}|3|cardtabs__button--active|}} {{#ifeq:{{{tier3disabled|}}}|1|cardtabs__button--disabled|}} <!--
-->">&nbsp;III&nbsp;</div>
-->">&nbsp;III&nbsp;</div>
<div data-cardtabs-btn="{{#ifeq:{{{tier4disabled|}}}|1|-1|4}}" class="cardtabs__button colorrarity3 rarity3 {{#ifeq:{{{firstShownTier|}}}|4|cardtabs__button--active|}} {{#ifeq:{{{tier4disabled|}}}|1|cardtabs__button--disabled|}} <!--
<div data-cardtabs-btn="4" class="cardtabs__button rarity3 {{#ifeq:{{{firstShownTier|}}}|4|cardtabs__button--active|}} {{#ifeq:{{{tier4disabled|}}}|1|cardtabs__button--disabled|}} <!--
-->">&nbsp;IV&nbsp;</div>
-->">&nbsp;IV&nbsp;</div>
<div data-cardtabs-btn="{{#ifeq:{{{tier5disabled|}}}|1|-1|5}}" class="cardtabs__button colorrarity4 rarity4 {{#ifeq:{{{firstShownTier|}}}|5|cardtabs__button--active|}} {{#ifeq:{{{tier5disabled|}}}|1|cardtabs__button--disabled|}} <!--
<div data-cardtabs-btn="5" class="cardtabs__button rarity4 {{#ifeq:{{{firstShownTier|}}}|5|cardtabs__button--active|}} {{#ifeq:{{{tier5disabled|}}}|1|cardtabs__button--disabled|}} <!--
-->">&nbsp;V&nbsp;</div>
-->">&nbsp;V&nbsp;</div>
<div data-cardtabs-btn="{{#ifeq:{{{tier6disabled|}}}|1|-1|6}}" class="cardtabs__button colorrarity5 rarity5 {{#ifeq:{{{firstShownTier|}}}|6|cardtabs__button--active|}} {{#ifeq:{{{tier6disabled|}}}|1|cardtabs__button--disabled|}} <!--
<div data-cardtabs-btn="6" class="cardtabs__button rarity5 {{#ifeq:{{{firstShownTier|}}}|6|cardtabs__button--active|}} {{#ifeq:{{{tier6disabled|}}}|1|cardtabs__button--disabled|}} <!--
-->">&nbsp;VI&nbsp;</div>
-->">&nbsp;VI&nbsp;</div>
<div data-cardtabs-btn="{{#ifeq:{{{tier7disabled|}}}|1|-1|7}}" class="cardtabs__button colorrarity6 rarity6 {{#ifeq:{{{firstShownTier|}}}|7|cardtabs__button--active|}} {{#ifeq:{{{tier7disabled|}}}|1|cardtabs__button--disabled|}} <!--
<div data-cardtabs-btn="7" class="cardtabs__button rarity6 {{#ifeq:{{{firstShownTier|}}}|7|cardtabs__button--active|}} {{#ifeq:{{{tier7disabled|}}}|1|cardtabs__button--disabled|}} <!--
-->">&nbsp;VII&nbsp;</div>
-->">&nbsp;VII&nbsp;</div>
<div data-cardtabs-btn="{{#ifeq:{{{tier8disabled|}}}|1|-1|8}}" class="cardtabs__button colorrarity7 rarity7 {{#ifeq:{{{firstShownTier|}}}|8|cardtabs__button--active|}} {{#ifeq:{{{tier8disabled|}}}|1|cardtabs__button--disabled|}} <!--
<div data-cardtabs-btn="8" class="cardtabs__button rarity7 {{#ifeq:{{{firstShownTier|}}}|8|cardtabs__button--active|}} {{#ifeq:{{{tier8disabled|}}}|1|cardtabs__button--disabled|}} <!--
-->">&nbsp;VIII&nbsp;</div>
-->">&nbsp;VIII&nbsp;</div>
             </div>
             </div>
</div><!--
</div><!--
--></includeonly></onlyinclude><noinclude>
--></includeonly></onlyinclude><noinclude>


Creates a set of tabs for a weapon.
Creates a set of tabs for a weapon.
Similar to [[Template:StatsCardWeapon]] but with tabs to show stats at different tiers.


== Notes ==
== 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 <code>name1</code>).
If you don't include a damage 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 <code>damage1</code>).


The <code>firstShownTier</code> option is mandatory. Leaving it out will prevent anything from being shown.
The <code>firstShownTier</code> option is mandatory. Leaving it out will prevent anything from being shown.
Special effects are labelled "speciala" and "specialb" (plus their tier, eg <code>speciala3</code>), rather than "special1/special2/etc" like in [[Template:StatsCard|StatsCard]].


== Example ==
== 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.


<table class="wikitable">
<table class="wikitable">
Line 175: Line 185:
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
<pre>
<pre>
{{StatsCardWeaponTabs
 
| name1      = Isaac's Tears
{{InfoboxWeaponTabs
| class1    = Tears
|name                 = Arming Sword
| image1    = Mod-Isaac-isaacs_tears_icon.png
|classes               = [[Fighter]], [[Ranger]]
| image3    = Mod-Isaac-isaacs_tears_icon_bloody.png
|damage1               = 30
| damage1    = 7 ({{StatIcon|Ranged Damage}})
|damage2              = 123
| damage2    = 14 ({{StatIcon|Ranged Damage}})
|damage3              = 12333
| damage3    = 28 ({{StatIcon|Ranged Damage}})
|damage4              = 123233
| damage4    = 45 ({{StatIcon|Ranged Damage}})
|damage5              = 1232333
| critical1  = x2 (3% chance)
|damage6               = 123123123
| cooldown1  = 0.7s
|damage7              = 1231231231
| cooldown2  = 0.62s
|damage8              = 123123123123
| cooldown3  = 0.53s
|movementspeed        = -20
| cooldown4  = 0.45s
|combo                = Slash/Slash/Thrust
| knockback1 = 10
|combodamage          = 100%/100%/100%
| range1    = 700 (Ranged)
|attackspeed          = 0.6s/0.56s/0.75s
| piercing1  = {{Color|grey|0}}
|sweetsour            = 100%/90%/70%
| piercing3  = 1
|actionmovementspeed  = Attack: -25%
| firstShownTier = 1
| firstShownTier       = 1
| addTierNumbers = 1
| tier1disabled  = 0
| tier2disabled  = 0
| tier3disabled  = 0
| tier4disabled  = 0
}}
</pre>
</td>
<td style="padding: 20px 30px;">
{{Infobox Weapon
| name                   = Arming Sword
| classes                 = [[Fighter]], [[Ranger]]
| damage                  = {{{damage1|}}}
| image                  = {{{image1|}}}
| movementspeed          = {{{movementspeed1|}}}
| combo                  = {{{combo1|}}}
| combodamage            = {{{combodamage1|}}}
| attackspeed            = {{{attackspeed1|}}}
| sweetsour               = {{{sweetsour1|}}}
| actionmovementspeed    = {{{actionmovementspeed1|}}}
}}
</td>
</tr>
<tr>
<td style="padding: 20px 30px;"><pre>
{{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
}}</pre></td>
}}</pre></td>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
{{StatsCardWeaponTabs
{{InfoboxWeaponTabs
             |name1                = Arming Sword
             |name                  = Arming Sword
             |classes1              = [[Fighter]], [[Ranger]]
             |classes              = [[Fighter]], [[Ranger]]
             |damage1              = 30
             |damage1              = 30
             |damage2              = 33
             |damage2              = 123
             |movementspeed1        = -20
             |damage3              = 12333
             |combo1                = Slash/Slash/Thrust
            |damage4              = 123233
             |combodamage1          = 100%/100%/100%
            |damage5              = 1232333
             |attackspeed1          = 0.6s/0.56s/0.75s
            |damage6              = 123123123
             |sweetsour1            = 100%/90%/70%
            |damage7              = 1231231231
             |actionmovementspeed1  = Attack: -25%
            |damage8              = 123123123123
            |movementspeed        = -20
             |combo                = Slash/Slash/Thrust
             |combodamage          = 100%/100%/100%
             |attackspeed          = 0.6s/0.56s/0.75s
             |sweetsour            = 100%/90%/70%
             |actionmovementspeed  = Attack: -25%
            | firstShownTier      = 1
}}
}}
</td>
</td>
</tr>
</tr>
</table>
</table>


== All Options ==
== All Options ==
Line 261: Line 234:
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).
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).


{{ToggleStart|id=foo|btn=Toggle Full Options}}


<pre style="display: inline-block;">
<pre style="display: inline-block;">
{{StatsCardWeaponTabs
{{InfoboxWeaponTabs
| name1 =
|name                  =  
| name2 =
|classes              =  
| name3 =
|damage1               =  
| name4 =
|damage2               =  
| class1 =
|damage3               =  
| class2 =
|damage4               =  
| class3 =
|damage5              =
| class4 =
|damage6              =
| image1 =
|damage7              =  
| image2 =
|damage8              =
| image3 =
|movementspeed        =  
| image4 =
|combo                =
| damage1 =
|combodamage          =
| damage2 =
|attackspeed          =  
| damage3 =
|sweetsour            =  
| damage4 =
|actionmovementspeed  =  
| critical1 =
| firstShownTier       =  
| critical2 =
|quiver                =
| 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
}}
}}
</pre>
</pre>
{{ToggleEnd}}


<templatedata>
<templatedata>
Line 340: Line 270:
"suggested": true
"suggested": true
},
},
"addTierNumbers": {
"name": {
"label": "Add Tier Numbers?",
"label": "Name",
"description": "If enabled, automatically adds II, III and IV to tier names",
"example": "Arming Sword",
"type": "boolean",
"autovalue": "1",
"suggested": true
},
"tier1disabled": {
"label": "Disable Tier 1?",
"type": "boolean",
"suggested": true,
"description": "If enabled, Tier 1 won't be clickable. Make sure you also change the First Shown Tier to 2 (or 3/4)"
},
"tier2disabled": {
"label": "Disable Tier 2?",
"type": "boolean",
"suggested": true,
"description": "If enabled, Tier 2 won't be clickable. Make sure you also change the First Shown Tier to 3 (or 4)"
},
"tier3disabled": {
"label": "Disable Tier 3?",
"type": "boolean",
"suggested": true,
"description": "If enabled, Tier 3 won't be clickable. Make sure you also change the First Shown Tier to 4"
},
"tier4disabled": {
"label": "Disable Tier 4?",
"type": "boolean",
"suggested": true
},
"name1": {
"label": "Name - Tier 1",
"example": "Pistol",
"type": "string",
"type": "string",
"required": true,
"required": true,
"suggested": true
"suggested": true,
            "description": "The name of the weapon"
},
},
"name2": {
"classes": {
"label": "Name - Tier 2",
"label": "Classes",
"example": "Leave blank unless name changes",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
},
            "description": "One or more classes can be added"
"name3": {
"label": "Name - Tier 3",
"example": "Leave blank unless name changes",
"type": "string",
"suggested": true
},
"name4": {
"label": "Name - Tier 4",
"example": "Leave blank unless name changes",
"type": "string",
"suggested": true
},
"class1": {
"label": "Class - Tier 1",
"type": "string",
"required": true,
"suggested": true
},
"class2": {
"label": "Class - Tier 2",
"example": "Leave blank unless class changes",
"type": "string",
"suggested": true
},
"class3": {
"label": "Class - Tier 3",
"example": "Leave blank unless class changes",
"type": "string",
"suggested": true
},
"class4": {
"label": "Class - Tier 4",
"example": "Leave blank unless class changes",
"type": "string",
"suggested": true
},
"image1": {
"label": "Image - Tier 1",
"type": "string",
"required": true,
"suggested": true
},
"image2": {
"label": "Image - Tier 2",
"type": "string",
"suggested": true
},
"image3": {
"label": "Image - Tier 3",
"type": "string",
"suggested": true
},
"image4": {
"label": "Image - Tier 4",
"type": "string",
"suggested": true
},
},
"damage1": {
"damage1": {
Line 444: Line 288:
"type": "string",
"type": "string",
"required": true,
"required": true,
"suggested": true
"suggested": true,
            "description": "Damage of the item at corresponding rarity"
},
},
"damage2": {
"damage2": {
"label": "Damage - Tier 2",
"label": "Damage - Tier 2",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
            "description": "Damage of the item at corresponding rarity"
           
},
},
"damage3": {
"damage3": {
"label": "Damage - Tier 3",
"label": "Damage - Tier 3",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
            "description": "Damage of the item at corresponding rarity"
},
},
"damage4": {
"damage4": {
"label": "Damage - Tier 4",
"label": "Damage - Tier 4",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
            "description": "Damage of the item at corresponding rarity"
},
},
"critical1": {
"damage5": {
"label": "Critical - Tier 1",
"label": "Damage - Tier 5",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
            "description": "Damage of the item at corresponding rarity"
},
},
"critical2": {
"damage6": {
"label": "Critical - Tier 2",
"label": "Damage - Tier 6",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
            "description": "Damage of the item at corresponding rarity"
},
},
"critical3": {
"damage7": {
"label": "Critical - Tier 3",
"label": "Damage - Tier 7",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
            "description": "Damage of the item at corresponding rarity"
},
},
"critical4": {
"damage8": {
"label": "Critical - Tier 4",
"label": "Damage - Tier 8",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
            "description": "Damage of the item at corresponding rarity"
},
},
"cooldown1": {
"movementspeed": {
"label": "Cooldown - Tier 1",
"label": "Movement speed",
"type": "string",
"type": "string",
"required": true,
"suggested": true,
"suggested": true
            "description": "Movement speed of the item"
},
},
"cooldown2": {
"combo": {
"label": "Cooldown - Tier 2",
"label": "Combo",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
            "description": "Combo of the item"
           
},
},
"cooldown3": {
"combodamage": {
"label": "Cooldown - Tier 3",
"label": "Combo damage",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
            "description": "Combo damage of the item"
},
},
"cooldown4": {
"attackspeed": {
"label": "Cooldown - Tier 4",
"label": "Attackspeed",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
            "description": "Attackspeed of the item"
},
},
"knockback1": {
"sweetsour": {
"label": "Knockback - Tier 1",
"label": "Sweet and Sour spots",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
            "description": "Sweet and Sour spots of the item"
},
},
"knockback2": {
"quiver": {
"label": "Knockback - Tier 2",
"label": "Quiver Size",
"type": "string",
"type": "string",
"suggested": true
"suggested": true,
},
            "description": "Size of the quiver"
"knockback3": {
"label": "Knockback - Tier 3",
"type": "string",
"suggested": true
},
"knockback4": {
"label": "Knockback - Tier 4",
"type": "string",
"suggested": true
},
},
"range1": {
"actionmovementspeed": {
"label": "Range - Tier 1",
"label": "Action movement speed",
"type": "string",
"type": "string",
"required": true,
"suggested": true
},
"range2": {
"label": "Range - Tier 2",
"type": "string",
"suggested": true
},
"range3": {
"label": "Range - Tier 3",
"type": "string",
"suggested": true
},
"range4": {
"label": "Range - Tier 4",
"type": "string",
"suggested": true
},
"lifesteal1": {
"label": "Life Steal - Tier 1",
"type": "string",
"suggested": true
},
"lifesteal2": {
"label": "Life Steal - Tier 2",
"type": "string",
"suggested": true
},
"lifesteal3": {
"label": "Life Steal - Tier 3",
"type": "string",
"suggested": true
},
"lifesteal4": {
"label": "Life Steal - Tier 4",
"type": "string",
"suggested": true
},
"piercing1": {
"label": "Piercing - Tier 1",
"type": "string",
"suggested": true
},
"piercing2": {
"label": "Piercing - Tier 2",
"type": "string",
"suggested": true
},
"piercing3": {
"label": "Piercing - Tier 3",
"type": "string",
"suggested": true
},
"piercing4": {
"label": "Piercing - Tier 4",
"type": "string",
"suggested": true
},
"bounce1": {
"label": "Bounce - Tier 1",
"type": "string",
"suggested": true
},
"bounce2": {
"label": "Bounce - Tier 2",
"type": "string",
"suggested": true
},
"bounce3": {
"label": "Bounce - Tier 3",
"type": "string",
"suggested": true
},
"bounce4": {
"label": "Bounce - Tier 4",
"type": "string",
"suggested": true
},
"speciala1": {
"label": "Special A - Tier 1",
"type": "string",
"suggested": true
},
"speciala2": {
"label": "Special A - Tier 2",
"type": "string",
"suggested": true
},
"speciala3": {
"label": "Special A - Tier 3",
"type": "string",
"suggested": true
},
"speciala4": {
"label": "Special A - Tier 4",
"type": "string",
"suggested": true
},
"specialb1": {
"label": "Special B - Tier 1",
"type": "string",
"suggested": true
},
"specialb2": {
"label": "Special B - Tier 2",
"type": "string",
"suggested": true
},
"specialb3": {
"label": "Special B - Tier 3",
"type": "string",
"suggested": true
},
"specialb4": {
"label": "Special B - Tier 4",
"type": "string",
"suggested": true
},
"info": {
"label": "Info Tab",
"description": "Add any custom content here to show it in a special Info tab",
"type": "string",
"suggested": true
},
"info_br": {
"label": "Add Line Breaks to Info?",
"description": "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.",
"type": "boolean",
"suggested": true
},
"unlock": {
"label": "Unlock Tab",
"description": "Can be used to show unlock requirements",
"type": "string",
"suggested": true
},
"unlock_br": {
"label": "Add Line Breaks to Unlock?",
"description": "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.",
"suggested": true,
"suggested": true,
"type": "boolean"
            "description": "Action movement speed of the item"
}
}
},
},
"paramOrder": [
"paramOrder": [
"name1",
"name",
"name2",
"classes",
"name3",
"name4",
"class1",
"class2",
"class3",
"class4",
"image1",
"image2",
"image3",
"image4",
"damage1",
"damage1",
"damage2",
"damage2",
"damage3",
"damage3",
"damage4",
"damage4",
"critical1",
"damage5",
"critical2",
"damage6",
"critical3",
"damage7",
"critical4",
"damage8",
"cooldown1",
        "movementspeed",
"cooldown2",
        "combo",
"cooldown3",
        "combodamage",
"cooldown4",
        "attackspeed",
"knockback1",
        "sweetsour",
"knockback2",
        "quiver",
"knockback3",
        "actionmovementspeed",
"knockback4",
"firstShownTier"
"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",
"addTierNumbers",
"tier1disabled",
"tier2disabled",
"tier3disabled",
"tier4disabled",
"info",
"unlock",
"info_br",
"unlock_br"
]
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Latest revision as of 19:02, 5 February 2023


Creates a set of tabs for a weapon.

Notes

If you don't include a damage 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 damage1).

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

Example

Code Preview

{{InfoboxWeaponTabs
|name                  = Arming Sword
|classes               = [[Fighter]], [[Ranger]]
|damage1               = 30
|damage2               = 123
|damage3               = 12333
|damage4               = 123233
|damage5               = 1232333
|damage6               = 123123123
|damage7               = 1231231231
|damage8               = 123123123123
|movementspeed         = -20
|combo                 = Slash/Slash/Thrust
|combodamage           = 100%/100%/100%
|attackspeed           = 0.6s/0.56s/0.75s
|sweetsour             = 100%/90%/70%
|actionmovementspeed   = Attack: -25%
| firstShownTier       = 1
}}
Arming Sword 0.png
Arming Sword
Classes
Damage
30
Movement Speed
-20
Combo
Slash/Slash/Thrust
Combo Damage
100%/100%/100%
Attack Speed
0.6s/0.56s/0.75s
Sweet Sour
100%/90%/70%
Action Movement Speed
Attack: -25%
Arming Sword 1.png
Arming Sword
Classes
Damage
123
Movement Speed
-20
Combo
Slash/Slash/Thrust
Combo Damage
100%/100%/100%
Attack Speed
0.6s/0.56s/0.75s
Sweet Sour
100%/90%/70%
Action Movement Speed
Attack: -25%
Arming Sword 2.png
Arming Sword
Classes
Damage
12333
Movement Speed
-20
Combo
Slash/Slash/Thrust
Combo Damage
100%/100%/100%
Attack Speed
0.6s/0.56s/0.75s
Sweet Sour
100%/90%/70%
Action Movement Speed
Attack: -25%
Arming Sword 3.png
Arming Sword
Classes
Damage
123233
Movement Speed
-20
Combo
Slash/Slash/Thrust
Combo Damage
100%/100%/100%
Attack Speed
0.6s/0.56s/0.75s
Sweet Sour
100%/90%/70%
Action Movement Speed
Attack: -25%
Arming Sword 4.png
Arming Sword
Classes
Damage
1232333
Movement Speed
-20
Combo
Slash/Slash/Thrust
Combo Damage
100%/100%/100%
Attack Speed
0.6s/0.56s/0.75s
Sweet Sour
100%/90%/70%
Action Movement Speed
Attack: -25%
Arming Sword 5.png
Arming Sword
Classes
Damage
123123123
Movement Speed
-20
Combo
Slash/Slash/Thrust
Combo Damage
100%/100%/100%
Attack Speed
0.6s/0.56s/0.75s
Sweet Sour
100%/90%/70%
Action Movement Speed
Attack: -25%
Arming Sword 6.png
Arming Sword
Classes
Damage
1231231231
Movement Speed
-20
Combo
Slash/Slash/Thrust
Combo Damage
100%/100%/100%
Attack Speed
0.6s/0.56s/0.75s
Sweet Sour
100%/90%/70%
Action Movement Speed
Attack: -25%
Arming Sword 7.png
Arming Sword
Classes
Damage
123123123123
Movement Speed
-20
Combo
Slash/Slash/Thrust
Combo Damage
100%/100%/100%
Attack Speed
0.6s/0.56s/0.75s
Sweet Sour
100%/90%/70%
Action Movement Speed
Attack: -25%
 I 
 II 
 III 
 IV 
 V 
 VI 
 VII 
 VIII 


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).


{{InfoboxWeaponTabs
|name                  = 
|classes               = 
|damage1               = 
|damage2               = 
|damage3               = 
|damage4               = 
|damage5               =
|damage6               =
|damage7               = 
|damage8               =
|movementspeed         = 
|combo                 =
|combodamage           =
|attackspeed           = 
|sweetsour             = 
|actionmovementspeed   = 
| firstShownTier       = 
|quiver                =
}}

No description.

Template parameters

ParameterDescriptionTypeStatus
Namename

The name of the weapon

Example
Arming Sword
Stringrequired
Classesclasses

One or more classes can be added

Stringsuggested
Damage - Tier 1damage1

Damage of the item at corresponding rarity

Stringrequired
Damage - Tier 2damage2

Damage of the item at corresponding rarity

Stringsuggested
Damage - Tier 3damage3

Damage of the item at corresponding rarity

Stringsuggested
Damage - Tier 4damage4

Damage of the item at corresponding rarity

Stringsuggested
Damage - Tier 5damage5

Damage of the item at corresponding rarity

Stringsuggested
Damage - Tier 6damage6

Damage of the item at corresponding rarity

Stringsuggested
Damage - Tier 7damage7

Damage of the item at corresponding rarity

Stringsuggested
Damage - Tier 8damage8

Damage of the item at corresponding rarity

Stringsuggested
Movement speedmovementspeed

Movement speed of the item

Stringsuggested
Combocombo

Combo of the item

Stringsuggested
Combo damagecombodamage

Combo damage of the item

Stringsuggested
Attackspeedattackspeed

Attackspeed of the item

Stringsuggested
Sweet and Sour spotssweetsour

Sweet and Sour spots of the item

Stringsuggested
Quiver Sizequiver

Size of the quiver

Stringsuggested
Action movement speedactionmovementspeed

Action movement speed of the item

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