From Dark and Darker Wiki

(Added quiver size variable)
mNo edit summary
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" style="overflow: auto; background-color:rgb(var(--rarity-0),0.05)" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|1||cardtabs__panel--js-hidden}}">
{{Infobox Weapon
{{Infobox Weapon
| name                    = {{{name|}}}
| name                    = {{{name|}}}
Line 17: Line 16:
             | quiver                  = {{{quiver|}}}
             | quiver                  = {{{quiver|}}}
}}
}}
</div>
</div><!--


<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}}">
--><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                    = {{{name|}}}
| name                    = {{{name|}}}
Line 33: Line 32:
             | quiver                  = {{{quiver|}}}
             | quiver                  = {{{quiver|}}}
}}
}}
</div>
</div><!--


<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}}">
--><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                    = {{{name|}}}
| name                    = {{{name|}}}
Line 49: Line 48:
             | quiver                  = {{{quiver|}}}
             | quiver                  = {{{quiver|}}}
}}
}}
</div>
</div><!--


<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}}">
--><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                    = {{{name|}}}
| name                    = {{{name|}}}
Line 65: Line 64:
             | quiver                  = {{{quiver|}}}
             | quiver                  = {{{quiver|}}}
}}
}}
</div>
</div><!--


<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}}">
--><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                    = {{{name|}}}
| name                    = {{{name|}}}
Line 81: Line 80:
             | quiver                  = {{{quiver|}}}
             | quiver                  = {{{quiver|}}}
}}
}}
</div>
</div><!--


<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}}">
--><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                    = {{{name|}}}
| name                    = {{{name|}}}
Line 97: Line 96:
             | quiver                  = {{{quiver|}}}
             | quiver                  = {{{quiver|}}}
}}
}}
</div>
</div><!--


<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}}">
--><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                    = {{{name|}}}
| name                    = {{{name|}}}
Line 113: Line 112:
             | quiver                  = {{{quiver|}}}
             | quiver                  = {{{quiver|}}}
}}
}}
</div>
</div><!--


<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}}">
--><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                    = {{{name|}}}
| name                    = {{{name|}}}
Line 129: Line 128:
             | quiver                  = {{{quiver|}}}
             | quiver                  = {{{quiver|}}}
}}
}}
</div>
</div><!--
         </div>
         --></div><!--


<!--
<!--

Revision as of 07:12, 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