From Dark and Darker Wiki

(removed color rarity)
No edit summary
Line 22: Line 22:
| name                    = {{{name|}}}
| name                    = {{{name|}}}
| classes                = {{{classes|}}}
| classes                = {{{classes|}}}
| damage                  = {{{damage2|{{{damage1|}}}}}}
| damage                  = {{{damage2}}}
             | rarity                  = 1
             | rarity                  = 1
| movementspeed          = {{{movementspeed|}}}
| movementspeed          = {{{movementspeed|}}}
Line 37: Line 37:
| name                    = {{{name|}}}
| name                    = {{{name|}}}
| classes                = {{{classes|}}}
| classes                = {{{classes|}}}
| damage                  = {{{damage3|{{{damage2|{{{damage1|}}}}}}}}}
| damage                  = {{{damage3}}}
             | rarity                  = 2
             | rarity                  = 2
| movementspeed          = {{{movementspeed|}}}
| movementspeed          = {{{movementspeed|}}}
Line 52: Line 52:
| name                    = {{{name|}}}
| name                    = {{{name|}}}
| classes                = {{{classes|}}}
| classes                = {{{classes|}}}
| damage                  = {{{damage4|{{{damage3|{{{damage2|{{{damage1|}}}}}}}}}}}}
| damage                  = {{{damage4}}}
             | rarity                  = 3
             | rarity                  = 3
| movementspeed          = {{{movementspeed|}}}
| movementspeed          = {{{movementspeed|}}}
Line 67: Line 67:
| name                    = {{{name|}}}
| name                    = {{{name|}}}
| classes                = {{{classes|}}}
| classes                = {{{classes|}}}
| damage                  = {{{damage5|{{{damage4|{{{damage3|{{{damage2|{{{damage1|}}}}}}}}}}}}}}}
| damage                  = {{{damage5}}}
             | rarity                  = 4
             | rarity                  = 4
| movementspeed          = {{{movementspeed|}}}
| movementspeed          = {{{movementspeed|}}}
Line 82: Line 82:
| name                    = {{{name|}}}
| name                    = {{{name|}}}
| classes                = {{{classes|}}}
| classes                = {{{classes|}}}
| damage                  = {{{damage6|{{{damage5|{{{damage4|{{{damage3|{{{damage2|{{{damage1|}}}}}}}}}}}}}}}}}}
| damage                  = {{{damage6}}}
             | rarity                  = 5
             | rarity                  = 5
| movementspeed          = {{{movementspeed|}}}
| movementspeed          = {{{movementspeed|}}}
Line 97: Line 97:
| name                    = {{{name|}}}
| name                    = {{{name|}}}
| classes                = {{{classes|}}}
| classes                = {{{classes|}}}
| damage                  = {{{classes7|{{{damage6|{{{damage5|{{{damage4|{{{damage3|{{{damage2|{{{damage1|}}}}}}}}}}}}}}}}}}}}}
| damage                  = {{{damage7}}}
             | rarity                  = 6
             | rarity                  = 6
| movementspeed          = {{{movementspeed|}}}
| movementspeed          = {{{movementspeed|}}}
Line 112: Line 112:
| name                    = {{{name|}}}
| name                    = {{{name|}}}
| classes                = {{{classes|}}}
| classes                = {{{classes|}}}
| damage                  = {{{damage8|{{{damage7|{{{damage6|{{{damage5|{{{damages4|{{{damage3|{{{damage2|{{{damage1|}}}}}}}}}}}}}}}}}}}}}}}}
| damage                  = {{{damage8}}}
             | rarity                  = 7
             | rarity                  = 7
| movementspeed          = {{{movementspeed|}}}
| movementspeed          = {{{movementspeed|}}}
Line 131: Line 131:
-->
-->
<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  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  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  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  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  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  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  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  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>
Line 189: Line 189:
|actionmovementspeed  = Attack: -25%
|actionmovementspeed  = Attack: -25%
| firstShownTier      = 1
| firstShownTier      = 1
| tier1disabled        = 0
| tier2disabled        = 0
| tier3disabled        = 0
| tier4disabled        = 0
| tier5disabled        = 0
| tier6disabled        = 0
| tier7disabled        = 0
| tier8disabled        = 0
}}</pre></td>
}}</pre></td>
<td style="padding: 20px 30px;">
<td style="padding: 20px 30px;">
Line 217: Line 209:
             |actionmovementspeed  = Attack: -25%
             |actionmovementspeed  = Attack: -25%
             | firstShownTier      = 1
             | firstShownTier      = 1
| tier1disabled        = 0
| tier2disabled        = 0
| tier3disabled        = 0
| tier4disabled        = 0
            | tier5disabled        = 0
| tier6disabled        = 0
| tier7disabled        = 0
| tier8disabled        = 0
}}
}}
</td>
</td>
Line 255: Line 239:
|actionmovementspeed  =  
|actionmovementspeed  =  
| firstShownTier =  
| firstShownTier =  
| tier1disabled  =
| tier2disabled  =
| tier3disabled  =
| tier4disabled  =
| tier5disabled  =
| tier6disabled  =
| tier7disabled  =
| tier8disabled  =
}}
}}
</pre>
</pre>
Line 277: Line 253:
"required": true,
"required": true,
"suggested": true
"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,
            "description": "If enabled, Tier 4 won't be clickable. Make sure you also change the First Shown Tier to 5"
},
"tier5disabled": {
"label": "Disable Tier 5?",
"type": "boolean",
"suggested": true,
            "description": "If enabled, Tier 5 won't be clickable. Make sure you also change the First Shown Tier to 6"
},
"tier6disabled": {
"label": "Disable Tier 6?",
"type": "boolean",
"suggested": true,
            "description": "If enabled, Tier 6 won't be clickable. Make sure you also change the First Shown Tier to 7"
},
"tier7disabled": {
"label": "Disable Tier 7?",
"type": "boolean",
"suggested": true,
            "description": "If enabled, Tier 7 won't be clickable. Make sure you also change the First Shown Tier to 8"
},
"tier8disabled": {
"label": "Disable Tier 8?",
"type": "boolean",
"suggested": true,
            "description": "If enabled, Tier 8 won't be clickable. Make sure you also change the First Shown Tier"
},
},
"name": {
"name": {
Line 445: Line 373:
         "sweetsour",
         "sweetsour",
         "actionmovementspeed",
         "actionmovementspeed",
"firstShownTier",
"firstShownTier"
"tier1disabled",
"tier2disabled",
"tier3disabled",
"tier4disabled",
"tier5disabled",
"tier6disabled",
"tier7disabled",
"tier8disabled"
]
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Revision as of 10:43, 4 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 = 
}}

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