From Dark and Darker Wiki
(removed color rarity) |
No edit summary |
||
Line 19: | Line 19: | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
| classes = {{{classes|}}} | | classes = {{{classes|}}} | ||
| armor = {{{armor2| | | armor = {{{armor2|}}} | ||
| rarity = 1 | | rarity = 1 | ||
| movementspeed = {{{movementspeed|}}} | | movementspeed = {{{movementspeed|}}} | ||
Line 31: | Line 31: | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
| classes = {{{classes|}}} | | classes = {{{classes|}}} | ||
| armor = {{{armor3| | | armor = {{{armor3|}}} | ||
| rarity = 2 | | rarity = 2 | ||
| movementspeed = {{{movementspeed|}}} | | movementspeed = {{{movementspeed|}}} | ||
Line 43: | Line 43: | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
| classes = {{{classes|}}} | | classes = {{{classes|}}} | ||
| armor = {{{armor4| | | armor = {{{armor4|}}} | ||
| rarity = 3 | | rarity = 3 | ||
| movementspeed = {{{movementspeed|}}} | | movementspeed = {{{movementspeed|}}} | ||
Line 55: | Line 55: | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
| classes = {{{classes|}}} | | classes = {{{classes|}}} | ||
| armor = {{{armor5| | | armor = {{{armor5|}}} | ||
| rarity = 4 | | rarity = 4 | ||
| movementspeed = {{{movementspeed|}}} | | movementspeed = {{{movementspeed|}}} | ||
Line 67: | Line 67: | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
| classes = {{{classes|}}} | | classes = {{{classes|}}} | ||
| armor = {{{armor6| | | armor = {{{armor6|}}} | ||
| rarity = 5 | | rarity = 5 | ||
| movementspeed = {{{movementspeed|}}} | | movementspeed = {{{movementspeed|}}} | ||
Line 79: | Line 79: | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
| classes = {{{classes|}}} | | classes = {{{classes|}}} | ||
| armor = {{{armor7| | | armor = {{{armor7|}}} | ||
| rarity = 6 | | rarity = 6 | ||
| movementspeed = {{{movementspeed|}}} | | movementspeed = {{{movementspeed|}}} | ||
Line 91: | Line 91: | ||
| name = {{{name|}}} | | name = {{{name|}}} | ||
| classes = {{{classes|}}} | | classes = {{{classes|}}} | ||
| armor = {{{armor8| | | armor = {{{armor8|}}} | ||
| rarity = 7 | | rarity = 7 | ||
| movementspeed = {{{movementspeed|}}} | | movementspeed = {{{movementspeed|}}} | ||
Line 98: | Line 98: | ||
}} | }} | ||
</div> | </div> | ||
{{#ifeq:{{{rubysilver|}}}|1| | |||
<div data-cardtabs-panel="9" class="cardtabs__panel {{#ifeq:{{{firstShownTier|}}}|9||cardtabs__panel--js-hidden}}"> | |||
{{Infobox Armor | |||
| name = {{{name|}}} | |||
| classes = {{{classes|}}} | |||
| armor = {{{armor9|}}} | |||
| rarity = Ruby Silver | |||
| movementspeed = {{{movementspeed|}}} | |||
| stats = {{{stats|}}} | |||
| stats2 = {{{stats2|}}} | |||
}} | |||
</div>|}} | |||
</div> | </div> | ||
Line 107: | Line 119: | ||
--> | --> | ||
<div class="cardtabs__buttons" data-cardtabs-btns> | <div class="cardtabs__buttons" data-cardtabs-btns> | ||
<div data-cardtabs-btn=" | <div data-cardtabs-btn="1" class="cardtabs__button rarity0 {{#ifeq:{{{firstShownTier|}}}|1|cardtabs__button--active|}} {{#ifeq:{{{tier1disabled|}}}|1|cardtabs__button--disabled|}} <!-- | ||
-->"> I </div> | -->"> I </div> | ||
<div data-cardtabs-btn=" | <div data-cardtabs-btn="2" class="cardtabs__button rarity1 {{#ifeq:{{{firstShownTier|}}}|2|cardtabs__button--active|}} {{#ifeq:{{{tier2disabled|}}}|1|cardtabs__button--disabled|}} <!-- | ||
-->"> II </div> | -->"> II </div> | ||
<div data-cardtabs-btn=" | <div data-cardtabs-btn="3" class="cardtabs__button rarity2 {{#ifeq:{{{firstShownTier|}}}|3|cardtabs__button--active|}} {{#ifeq:{{{tier3disabled|}}}|1|cardtabs__button--disabled|}} <!-- | ||
-->"> III </div> | -->"> III </div> | ||
<div data-cardtabs-btn=" | <div data-cardtabs-btn="4" class="cardtabs__button rarity3 {{#ifeq:{{{firstShownTier|}}}|4|cardtabs__button--active|}} {{#ifeq:{{{tier4disabled|}}}|1|cardtabs__button--disabled|}} <!-- | ||
-->"> IV </div> | -->"> IV </div> | ||
<div data-cardtabs-btn=" | <div data-cardtabs-btn="5" class="cardtabs__button rarity4 {{#ifeq:{{{firstShownTier|}}}|5|cardtabs__button--active|}} {{#ifeq:{{{tier5disabled|}}}|1|cardtabs__button--disabled|}} <!-- | ||
-->"> V </div> | -->"> V </div> | ||
<div data-cardtabs-btn=" | <div data-cardtabs-btn="6" class="cardtabs__button rarity5 {{#ifeq:{{{firstShownTier|}}}|6|cardtabs__button--active|}} {{#ifeq:{{{tier6disabled|}}}|1|cardtabs__button--disabled|}} <!-- | ||
-->"> VI </div> | -->"> VI </div> | ||
<div data-cardtabs-btn=" | <div data-cardtabs-btn="7" class="cardtabs__button rarity6 {{#ifeq:{{{firstShownTier|}}}|7|cardtabs__button--active|}} {{#ifeq:{{{tier7disabled|}}}|1|cardtabs__button--disabled|}} <!-- | ||
-->"> VII </div> | -->"> VII </div> | ||
<div data-cardtabs-btn=" | <div data-cardtabs-btn="8" class="cardtabs__button rarity7 {{#ifeq:{{{firstShownTier|}}}|8|cardtabs__button--active|}} {{#ifeq:{{{tier8disabled|}}}|1|cardtabs__button--disabled|}} <!-- | ||
-->"> VIII </div> | -->"> VIII </div> | ||
{{#ifeq:{{{rubysilver|}}}|1|<div data-cardtabs-btn="9" class="cardtabs__button rarity5 {{#ifeq:{{{firstShownTier|}}}|RS|cardtabs__button--active|}} <!-- | |||
-->"> RS </div>|}} | |||
</div> | </div> | ||
</div><!-- | </div><!-- | ||
Line 161: | Line 175: | ||
|stats = 14.0% Headshot Reduction | |stats = 14.0% Headshot Reduction | ||
|stats2 = -5 Magic Resistance | |stats2 = -5 Magic Resistance | ||
| firstShownTier = 1 | |firstShownTier = 1 | ||
}}</pre></td> | }}</pre></td> | ||
<td style="padding: 20px 30px;"> | <td style="padding: 20px 30px;"> | ||
Line 186: | Line 192: | ||
|stats = 14.0% Headshot Reduction | |stats = 14.0% Headshot Reduction | ||
|stats2 = -5 Magic Resistance | |stats2 = -5 Magic Resistance | ||
| firstShownTier = 1 | |firstShownTier = 1 | ||
| | }} | ||
| | </td> | ||
| | </tr> | ||
| | <tr> | ||
| | <td style="padding: 20px 30px;"> | ||
| | <pre> | ||
| | |||
| | {{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 | |||
|movementspeed = -12 | |||
|stats = 14.0% Headshot Reduction | |||
|stats2 = -5 Magic Resistance | |||
|rubysilver = 1 | |||
|firstShownTier = 1 | |||
}}</pre></td> | |||
<td style="padding: 20px 30px;"> | |||
{{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 | |||
|movementspeed = -12 | |||
|stats = 14.0% Headshot Reduction | |||
|stats2 = -5 Magic Resistance | |||
|rubysilver = 1 | |||
|firstShownTier = 1 | |||
}} | }} | ||
</td> | </td> | ||
Line 218: | Line 257: | ||
|armor7 = | |armor7 = | ||
|armor8 = | |armor8 = | ||
|armor9 = | |||
|movementspeed = | |movementspeed = | ||
|stats = | |stats = | ||
|stats2 = | |stats2 = | ||
| | |rubysilver = | ||
| | |firstShownTier = | ||
}} | }} | ||
</pre> | </pre> | ||
Line 244: | Line 277: | ||
"required": true, | "required": true, | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
"name": { | "name": { | ||
Line 317: | Line 302: | ||
"label": "Armor - Tier 2", | "label": "Armor - Tier 2", | ||
"type": "string", | "type": "string", | ||
"required": true, | |||
"suggested": true, | "suggested": true, | ||
"description": "Armor of the item at corresponding rarity" | "description": "Armor of the item at corresponding rarity" | ||
Line 324: | Line 310: | ||
"label": "Armor - Tier 3", | "label": "Armor - Tier 3", | ||
"type": "string", | "type": "string", | ||
"required": true, | |||
"suggested": true, | "suggested": true, | ||
"description": "Armor of the item at corresponding rarity" | "description": "Armor of the item at corresponding rarity" | ||
Line 330: | Line 317: | ||
"label": "Armor - Tier 4", | "label": "Armor - Tier 4", | ||
"type": "string", | "type": "string", | ||
"required": true, | |||
"suggested": true, | "suggested": true, | ||
"description": "Armor of the item at corresponding rarity" | "description": "Armor of the item at corresponding rarity" | ||
Line 336: | Line 324: | ||
"label": "Armor - Tier 5", | "label": "Armor - Tier 5", | ||
"type": "string", | "type": "string", | ||
"required": true, | |||
"suggested": true, | "suggested": true, | ||
"description": "Armor of the item at corresponding rarity" | "description": "Armor of the item at corresponding rarity" | ||
Line 342: | Line 331: | ||
"label": "Armor - Tier 6", | "label": "Armor - Tier 6", | ||
"type": "string", | "type": "string", | ||
"required": true, | |||
"suggested": true, | "suggested": true, | ||
"description": "Armor of the item at corresponding rarity" | "description": "Armor of the item at corresponding rarity" | ||
Line 348: | Line 338: | ||
"label": "Armor - Tier 7", | "label": "Armor - Tier 7", | ||
"type": "string", | "type": "string", | ||
"required": true, | |||
"suggested": true, | "suggested": true, | ||
"description": "Armor of the item at corresponding rarity" | "description": "Armor of the item at corresponding rarity" | ||
Line 354: | Line 345: | ||
"label": "Armor - Tier 8", | "label": "Armor - Tier 8", | ||
"type": "string", | "type": "string", | ||
"required": true, | |||
"suggested": true, | |||
"description": "Armor of the item at corresponding rarity" | |||
}, | |||
"armor9": { | |||
"label": "Armor - Tier Ruby Silver", | |||
"type": "string", | |||
"required": true, | |||
"suggested": true, | "suggested": true, | ||
"description": "Armor of the item at corresponding rarity" | "description": "Armor of the item at corresponding rarity" | ||
Line 368: | Line 367: | ||
"suggested": true, | "suggested": true, | ||
"description": "Stats of the item" | "description": "Stats of the item" | ||
}, | }, | ||
"stats2": { | "stats2": { | ||
Line 375: | Line 373: | ||
"suggested": true, | "suggested": true, | ||
"description": "Stats of the item" | "description": "Stats of the item" | ||
}, | |||
"rubysilver": { | |||
"label": "Rubysilver Enable", | |||
"type": "number", | |||
"autovalue": "0", | |||
"suggested": true, | |||
"description": "Enables Rubysilver Rarity" | |||
} | } | ||
}, | }, | ||
Line 389: | Line 393: | ||
"armor7", | "armor7", | ||
"armor8", | "armor8", | ||
"armor9", | |||
"movementspeed", | "movementspeed", | ||
"stats", | "stats", | ||
"stats2", | "stats2", | ||
"rubysilver", | |||
" | "firstShownTier" | ||
] | ] | ||
} | } | ||
</templatedata></noinclude> | </templatedata></noinclude> |
Revision as of 10:40, 4 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
Armet
Armet
Armet
Armet
Armet
Armet
Armet
|
{{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 |movementspeed = -12 |stats = 14.0% Headshot Reduction |stats2 = -5 Magic Resistance |rubysilver = 1 |firstShownTier = 1 }} |
Barbuta Helm
Barbuta Helm
Barbuta Helm
Barbuta Helm
Barbuta Helm
Barbuta Helm
Barbuta Helm
Barbuta Helm
Barbuta Helm
|
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 = |firstShownTier = }}
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the weapon
| String | required |
Classes | classes | One or more classes can be added | String | suggested |
Armor - Tier 1 | armor1 | Armor of the item at corresponding rarity | String | required |
Armor - Tier 2 | armor2 | Armor of the item at corresponding rarity | String | required |
Armor - Tier 3 | armor3 | Armor of the item at corresponding rarity | String | required |
Armor - Tier 4 | armor4 | Armor of the item at corresponding rarity | String | required |
Armor - Tier 5 | armor5 | Armor of the item at corresponding rarity | String | required |
Armor - Tier 6 | armor6 | Armor of the item at corresponding rarity | String | required |
Armor - Tier 7 | armor7 | Armor of the item at corresponding rarity | String | required |
Armor - Tier 8 | armor8 | Armor of the item at corresponding rarity | String | required |
Armor - Tier Ruby Silver | armor9 | Armor of the item at corresponding rarity | String | required |
Movement speed | movementspeed | Movement speed of the item | String | suggested |
Stats | stats | Stats of the item | String | suggested |
Stats2 | stats2 | Stats of the item | String | suggested |
Rubysilver Enable | rubysilver | Enables Rubysilver Rarity
| Number | suggested |
First Shown Tier | firstShownTier | Either 1, 2, 3, or 4. Should always be 1, unless a lower tier is disabled
| Number | required |