From Dark and Darker Wiki

No edit summary
(Added Cobalt)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
--><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 Armor
{{Infobox Armor
| name                    = {{{name|}}}
| name                    = {{{name|}}}
Line 15: Line 14:
</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 Armor
{{Infobox Armor
| name                    = {{{name|}}}
| name                    = {{{name|}}}
Line 27: Line 26:
</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 Armor
{{Infobox Armor
| name                    = {{{name|}}}
| name                    = {{{name|}}}
Line 39: Line 38:
</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 Armor
{{Infobox Armor
| name                    = {{{name|}}}
| name                    = {{{name|}}}
Line 51: Line 50:
</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 Armor
{{Infobox Armor
| name                    = {{{name|}}}
| name                    = {{{name|}}}
Line 63: Line 62:
</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 Armor
{{Infobox Armor
| name                    = {{{name|}}}
| name                    = {{{name|}}}
Line 75: Line 74:
</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 Armor
{{Infobox Armor
| name                    = {{{name|}}}
| name                    = {{{name|}}}
Line 87: Line 86:
</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 Armor
{{Infobox Armor
| name                    = {{{name|}}}
| name                    = {{{name|}}}
Line 99: Line 98:
</div>
</div>
         {{#ifeq:{{{rubysilver|}}}|1|
         {{#ifeq:{{{rubysilver|}}}|1|
<div data-cardtabs-panel="9" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|9||cardtabs__panel--js-hidden}}">
<div data-cardtabs-panel="9" style="overflow: auto; background-color:rgb(var(--rarity-5),0.05)" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|9||cardtabs__panel--js-hidden}}">
{{Infobox Armor
{{Infobox Armor
| name                    = {{{name|}}}
| name                    = {{{name|}}}
Line 105: Line 104:
| armor                  = {{{armor9|}}}
| armor                  = {{{armor9|}}}
             | rarity                  = Ruby Silver
             | rarity                  = Ruby Silver
| movementspeed          = {{{movementspeed|}}}
            | stats                  = {{{stats|}}}
            | stats2                  = {{{stats2|}}}
}}
</div>|}}
        {{#ifeq:{{{cobalt|}}}|1|
<div data-cardtabs-panel="10" style="overflow: auto; background-color:rgb(var(--rarity-4),0.05)" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|10||cardtabs__panel--js-hidden}}">
{{Infobox Armor
| name                    = {{{name|}}}
| classes                = {{{classes|}}}
| armor                  = {{{armor10|}}}
            | rarity                  = Cobalt
| movementspeed          = {{{movementspeed|}}}
| movementspeed          = {{{movementspeed|}}}
             | stats                  = {{{stats|}}}
             | stats                  = {{{stats|}}}
Line 135: Line 146:
<div data-cardtabs-btn="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>
        {{#ifeq:{{{cobalt|}}}|1|<div data-cardtabs-btn="10" class="cardtabs__button  rarity4 {{#ifeq:{{{firstShownTier|}}}|CB|cardtabs__button--active|}} <!--
-->">&nbsp;CB&nbsp;</div>|}}
         {{#ifeq:{{{rubysilver|}}}|1|<div data-cardtabs-btn="9" class="cardtabs__button  rarity5 {{#ifeq:{{{firstShownTier|}}}|RS|cardtabs__button--active|}} <!--
         {{#ifeq:{{{rubysilver|}}}|1|<div data-cardtabs-btn="9" class="cardtabs__button  rarity5 {{#ifeq:{{{firstShownTier|}}}|RS|cardtabs__button--active|}} <!--
-->">&nbsp;RS&nbsp;</div>|}}
-->">&nbsp;RS&nbsp;</div>|}}
Line 211: Line 224:
|armor7                = 38 ~ 40
|armor7                = 38 ~ 40
|armor8                = 40 ~ 43
|armor8                = 40 ~ 43
|armor9                = 34 ~ 36
|movementspeed        = -12
|movementspeed        = -12
|stats                = 14.0% Headshot Reduction
|stats                = 14.0% Headshot Reduction
Line 229: Line 243:
|armor7                = 38 ~ 40
|armor7                = 38 ~ 40
|armor8                = 40 ~ 43
|armor8                = 40 ~ 43
|armor9                = 34 ~ 36
|movementspeed        = -12
|movementspeed        = -12
|stats                = 14.0% Headshot Reduction
|stats                = 14.0% Headshot Reduction
|stats2                = -5 Magic Resistance
|stats2                = -5 Magic Resistance
|rubysilver            = 1
|rubysilver            = 1
|firstShownTier        = 1
}}
</td>
</tr> 
    <tr>
<td style="padding: 20px 30px;">
<pre>
{{InfoboxArmorTabs
|name                  = Frock
|classes              = [[Cleric]]
|armor1                = 24
|armor2                = 25 ~ 27
|armor3                = 28 ~ 31
|armor4                = 32 ~ 34
|armor5                = 34 ~ 36
|armor6                = 36 ~ 38
|armor7                = 38 ~ 40
|armor8                = 40 ~ 43
|armor9                = 34 ~ 36
|movementspeed        = -12
|stats                = 14.0% Headshot Reduction
|stats2                = -5 Magic Resistance
|cobalt                = 1
|firstShownTier        = 1
}}</pre></td>
<td style="padding: 20px 30px;">
{{InfoboxArmorTabs
|name                  = Frock
|classes              = [[Cleric]]
|armor1                = 24
|armor2                = 25 ~ 27
|armor3                = 28 ~ 31
|armor4                = 32 ~ 34
|armor5                = 34 ~ 36
|armor6                = 36 ~ 38
|armor7                = 38 ~ 40
|armor8                = 40 ~ 43
|armor9                = 34 ~ 36
|movementspeed        = -12
|stats                = 14.0% Headshot Reduction
|stats2                = -5 Magic Resistance
|cobalt                = 1
|firstShownTier        = 1
|firstShownTier        = 1
}}
}}
Line 262: Line 320:
|stats2                =
|stats2                =
|rubysilver            =
|rubysilver            =
|cobalt                =
|firstShownTier        =  
|firstShownTier        =  
}}
}}
Line 351: Line 410:
"armor9": {
"armor9": {
"label": "Armor - Tier Ruby Silver",
"label": "Armor - Tier Ruby Silver",
"type": "string",
"required": true,
"suggested": true,
            "description": "Armor of the item at corresponding rarity"
},
"armor10": {
"label": "Armor - Tier Cobalt",
"type": "string",
"type": "string",
"required": true,
"required": true,
Line 380: Line 446:
"suggested": true,
"suggested": true,
             "description": "Enables Rubysilver Rarity"
             "description": "Enables Rubysilver Rarity"
},
"cobalt": {
"label": "Cobalt Enable",
"type": "number",
"autovalue": "0",
"suggested": true,
            "description": "Enables Cobalt Rarity"
}
}
},
},
Line 394: Line 467:
"armor8",
"armor8",
         "armor9",
         "armor9",
        "armor10",
         "movementspeed",
         "movementspeed",
         "stats",
         "stats",
         "stats2",
         "stats2",
         "rubysilver",
         "rubysilver",
        "cobalt",
"firstShownTier"
"firstShownTier"
]
]
}
}
</templatedata></noinclude>
</templatedata></noinclude>

Latest revision as of 20:50, 7 February 2023


Creates a set of tabs for a armor.

Notes

If you don't include a armor 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

{{InfoboxArmorTabs
|name                  = Armet
|classes               = [[Fighter]]
|armor1                = 24
|armor2                = 25 ~ 27
|armor3                = 28 ~ 31
|armor4                = 32 ~ 34
|armor5                = 34 ~ 36
|armor6                = 36 ~ 38
|armor7                = 38 ~ 40
|armor8                = 40 ~ 43
|movementspeed         = -12
|stats                 = 14.0% Headshot Reduction
|stats2                = -5 Magic Resistance
|firstShownTier        = 1
}}
Armet.png
Armet
Classes
Armor
24
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Armet.png
Armet
Classes
Armor
25 ~ 27
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Armet.png
Armet
Classes
Armor
28 ~ 31
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Armet.png
Armet
Classes
Armor
32 ~ 34
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Armet.png
Armet
Classes
Armor
34 ~ 36
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Armet.png
Armet
Classes
Armor
36 ~ 38
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Armet.png
Armet
Classes
Armor
38 ~ 40
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Armet.png
Armet
Classes
Armor
40 ~ 43
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance



 I 
 II 
 III 
 IV 
 V 
 VI 
 VII 
 VIII 



{{InfoboxArmorTabs
|name                  = Barbuta Helm
|classes               = [[Fighter]]
|armor1                = 24
|armor2                = 25 ~ 27
|armor3                = 28 ~ 31
|armor4                = 32 ~ 34
|armor5                = 34 ~ 36
|armor6                = 36 ~ 38
|armor7                = 38 ~ 40
|armor8                = 40 ~ 43
|armor9                = 34 ~ 36
|movementspeed         = -12
|stats                 = 14.0% Headshot Reduction
|stats2                = -5 Magic Resistance
|rubysilver            = 1
|firstShownTier        = 1
}}
Barbuta Helm.png
Barbuta Helm
Classes
Armor
24
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Barbuta Helm.png
Barbuta Helm
Classes
Armor
25 ~ 27
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Barbuta Helm.png
Barbuta Helm
Classes
Armor
28 ~ 31
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Barbuta Helm.png
Barbuta Helm
Classes
Armor
32 ~ 34
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Barbuta Helm.png
Barbuta Helm
Classes
Armor
34 ~ 36
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Barbuta Helm.png
Barbuta Helm
Classes
Armor
36 ~ 38
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Barbuta Helm.png
Barbuta Helm
Classes
Armor
38 ~ 40
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Barbuta Helm.png
Barbuta Helm
Classes
Armor
40 ~ 43
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Barbuta Helm Ruby Silver.png
Barbuta Helm
Classes
Armor
34 ~ 36
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


 I 
 II 
 III 
 IV 
 V 
 VI 
 VII 
 VIII 
 RS 

{{InfoboxArmorTabs
|name                  = Frock
|classes               = [[Cleric]]
|armor1                = 24
|armor2                = 25 ~ 27
|armor3                = 28 ~ 31
|armor4                = 32 ~ 34
|armor5                = 34 ~ 36
|armor6                = 36 ~ 38
|armor7                = 38 ~ 40
|armor8                = 40 ~ 43
|armor9                = 34 ~ 36
|movementspeed         = -12
|stats                 = 14.0% Headshot Reduction
|stats2                = -5 Magic Resistance
|cobalt                = 1
|firstShownTier        = 1
}}
Frock.png
Frock
Classes
Armor
24
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Frock.png
Frock
Classes
Armor
25 ~ 27
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Frock.png
Frock
Classes
Armor
28 ~ 31
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Frock.png
Frock
Classes
Armor
32 ~ 34
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Frock.png
Frock
Classes
Armor
34 ~ 36
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Frock.png
Frock
Classes
Armor
36 ~ 38
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Frock.png
Frock
Classes
Armor
38 ~ 40
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Frock.png
Frock
Classes
Armor
40 ~ 43
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


Frock Cobalt.png
Frock
Classes
Movement Speed
-12
Stats
14.0% Headshot Reduction
-5 Magic Resistance


 I 
 II 
 III 
 IV 
 V 
 VI 
 VII 
 VIII 
 CB 


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


{{InfoboxArmorTabs
|name                  = 
|classes               = 
|armor1                = 
|armor2                = 
|armor3                = 
|armor4                = 
|armor5                =
|armor6                =
|armor7                = 
|armor8                =
|armor9                =
|movementspeed         = 
|stats                 = 
|stats2                =
|rubysilver            =
|cobalt                =
|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
Armor - Tier 1armor1

Armor of the item at corresponding rarity

Stringrequired
Armor - Tier 2armor2

Armor of the item at corresponding rarity

Stringrequired
Armor - Tier 3armor3

Armor of the item at corresponding rarity

Stringrequired
Armor - Tier 4armor4

Armor of the item at corresponding rarity

Stringrequired
Armor - Tier 5armor5

Armor of the item at corresponding rarity

Stringrequired
Armor - Tier 6armor6

Armor of the item at corresponding rarity

Stringrequired
Armor - Tier 7armor7

Armor of the item at corresponding rarity

Stringrequired
Armor - Tier 8armor8

Armor of the item at corresponding rarity

Stringrequired
Armor - Tier Ruby Silverarmor9

Armor of the item at corresponding rarity

Stringrequired
Armor - Tier Cobaltarmor10

Armor of the item at corresponding rarity

Stringrequired
Movement speedmovementspeed

Movement speed of the item

Stringsuggested
Statsstats

Stats of the item

Stringsuggested
Stats2stats2

Stats of the item

Stringsuggested
Rubysilver Enablerubysilver

Enables Rubysilver Rarity

Auto value
0
Numbersuggested
Cobalt Enablecobalt

Enables Cobalt Rarity

Auto value
0
Numbersuggested
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