From Dark and Darker Wiki
No edit summary |
No edit summary |
||
(9 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 = {{{name|}}} | ||
| classes = {{{classes|}}} | | classes = {{{classes|}}} | ||
| damage = {{{damage1|}}} | | damage = {{{damage1|}}} | ||
| armor = {{{armor1|}}} | |||
| rarity = 0 | | rarity = 0 | ||
| movementspeed = {{{movementspeed|}}} | | movementspeed = {{{movementspeed|}}} | ||
Line 15: | Line 15: | ||
| sweetsour = {{{sweetsour|}}} | | sweetsour = {{{sweetsour|}}} | ||
| actionmovementspeed = {{{actionmovementspeed|}}} | | 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 = {{{name|}}} | | name = {{{name|}}} | ||
| classes = {{{classes|}}} | | classes = {{{classes|}}} | ||
| damage = {{{damage2|{{{ | | damage = {{{damage2|}}} | ||
| armor = {{{armor2|}}} | |||
| rarity = 1 | | rarity = 1 | ||
| movementspeed = {{{movementspeed|}}} | | movementspeed = {{{movementspeed|}}} | ||
Line 30: | Line 32: | ||
| sweetsour = {{{sweetsour|}}} | | sweetsour = {{{sweetsour|}}} | ||
| actionmovementspeed = {{{actionmovementspeed|}}} | | 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 = {{{name|}}} | | name = {{{name|}}} | ||
| classes = {{{classes|}}} | | classes = {{{classes|}}} | ||
| damage = {{{damage3| | | damage = {{{damage3|}}} | ||
| armor = {{{armor3|}}} | |||
| rarity = 2 | | rarity = 2 | ||
| movementspeed = {{{movementspeed|}}} | | movementspeed = {{{movementspeed|}}} | ||
Line 45: | Line 49: | ||
| sweetsour = {{{sweetsour|}}} | | sweetsour = {{{sweetsour|}}} | ||
| actionmovementspeed = {{{actionmovementspeed|}}} | | 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 = {{{name|}}} | | name = {{{name|}}} | ||
| classes = {{{classes|}}} | | classes = {{{classes|}}} | ||
| damage = {{{damage4| | | damage = {{{damage4|}}} | ||
| armor = {{{armor4|}}} | |||
| rarity = 3 | | rarity = 3 | ||
| movementspeed = {{{movementspeed|}}} | | movementspeed = {{{movementspeed|}}} | ||
Line 60: | Line 66: | ||
| sweetsour = {{{sweetsour|}}} | | sweetsour = {{{sweetsour|}}} | ||
| actionmovementspeed = {{{actionmovementspeed|}}} | | 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 = {{{name|}}} | | name = {{{name|}}} | ||
| classes = {{{classes|}}} | | classes = {{{classes|}}} | ||
| damage = {{{damage5| | | damage = {{{damage5|}}} | ||
| armor = {{{armor5|}}} | |||
| rarity = 4 | | rarity = 4 | ||
| movementspeed = {{{movementspeed|}}} | | movementspeed = {{{movementspeed|}}} | ||
Line 75: | Line 83: | ||
| sweetsour = {{{sweetsour|}}} | | sweetsour = {{{sweetsour|}}} | ||
| actionmovementspeed = {{{actionmovementspeed|}}} | | 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 = {{{name|}}} | | name = {{{name|}}} | ||
| classes = {{{classes|}}} | | classes = {{{classes|}}} | ||
| damage = {{{damage6| | | damage = {{{damage6|}}} | ||
| armor = {{{armor6|}}} | |||
| rarity = 5 | | rarity = 5 | ||
| movementspeed = {{{movementspeed|}}} | | movementspeed = {{{movementspeed|}}} | ||
Line 90: | Line 100: | ||
| sweetsour = {{{sweetsour|}}} | | sweetsour = {{{sweetsour|}}} | ||
| actionmovementspeed = {{{actionmovementspeed|}}} | | 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 = {{{name|}}} | | name = {{{name|}}} | ||
| classes = {{{classes|}}} | | classes = {{{classes|}}} | ||
| damage = {{{ | | damage = {{{damage7|}}} | ||
| armor = {{{armor7|}}} | |||
| rarity = 6 | | rarity = 6 | ||
| movementspeed = {{{movementspeed|}}} | | movementspeed = {{{movementspeed|}}} | ||
Line 105: | Line 117: | ||
| sweetsour = {{{sweetsour|}}} | | sweetsour = {{{sweetsour|}}} | ||
| actionmovementspeed = {{{actionmovementspeed|}}} | | 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 = {{{name|}}} | | name = {{{name|}}} | ||
| classes = {{{classes|}}} | | classes = {{{classes|}}} | ||
| damage = {{{damage8| | | damage = {{{damage8|}}} | ||
| armor = {{{armor8|}}} | |||
| rarity = 7 | | rarity = 7 | ||
| movementspeed = {{{movementspeed|}}} | | movementspeed = {{{movementspeed|}}} | ||
Line 120: | Line 134: | ||
| sweetsour = {{{sweetsour|}}} | | sweetsour = {{{sweetsour|}}} | ||
| actionmovementspeed = {{{actionmovementspeed|}}} | | 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=" | <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> | ||
</div> | </div> | ||
Line 172: | Line 187: | ||
{{InfoboxWeaponTabs | {{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 | |||
}}</pre></td> | }}</pre></td> | ||
<td style="padding: 20px 30px;"> | <td style="padding: 20px 30px;"> | ||
Line 216: | Line 223: | ||
|sweetsour = 100%/90%/70% | |sweetsour = 100%/90%/70% | ||
|actionmovementspeed = Attack: -25% | |actionmovementspeed = Attack: -25% | ||
| firstShownTier = 1 | | firstShownTier = 1 | ||
}} | }} | ||
</td> | </td> | ||
Line 237: | Line 236: | ||
<pre style="display: inline-block;"> | <pre style="display: inline-block;"> | ||
{{ | {{InfoboxWeaponTabs | ||
|name = | |name = | ||
|classes = | |classes = | ||
Line 254: | Line 253: | ||
|sweetsour = | |sweetsour = | ||
|actionmovementspeed = | |actionmovementspeed = | ||
| firstShownTier = | | firstShownTier = | ||
| | |quiver = | ||
}} | }} | ||
</pre> | </pre> | ||
Line 276: | Line 268: | ||
"autovalue": "1", | "autovalue": "1", | ||
"required": true, | "required": true, | ||
"suggested": true | "suggested": true | ||
}, | }, | ||
Line 326: | Line 275: | ||
"type": "string", | "type": "string", | ||
"required": true, | "required": true, | ||
"suggested": true | "suggested": true, | ||
"description": "The name of the weapon" | |||
}, | }, | ||
"classes": { | "classes": { | ||
"label": "Classes", | "label": "Classes", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true, | ||
"description": "One or more classes can be added" | |||
}, | }, | ||
"damage1": { | "damage1": { | ||
Line 337: | 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" | |||
}, | }, | ||
"damage5": { | "damage5": { | ||
"label": "Damage - Tier 5", | "label": "Damage - Tier 5", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true, | ||
"description": "Damage of the item at corresponding rarity" | |||
}, | }, | ||
"damage6": { | "damage6": { | ||
"label": "Damage - Tier 6", | "label": "Damage - Tier 6", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true, | ||
"description": "Damage of the item at corresponding rarity" | |||
}, | }, | ||
"damage7": { | "damage7": { | ||
"label": "Damage - Tier 7", | "label": "Damage - Tier 7", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true, | ||
"description": "Damage of the item at corresponding rarity" | |||
}, | }, | ||
"damage8": { | "damage8": { | ||
"label": "Damage - Tier 8", | "label": "Damage - Tier 8", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true, | ||
"description": "Damage of the item at corresponding rarity" | |||
}, | }, | ||
"movementspeed": { | "movementspeed": { | ||
"label": "Movement speed", | "label": "Movement speed", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true, | ||
"description": "Movement speed of the item" | |||
}, | }, | ||
"combo": { | "combo": { | ||
"label": "Combo", | "label": "Combo", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true, | ||
"description": "Combo of the item" | |||
}, | }, | ||
"combodamage": { | "combodamage": { | ||
"label": "Combo damage", | "label": "Combo damage", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true, | ||
"description": "Combo damage of the item" | |||
}, | }, | ||
"attackspeed": { | "attackspeed": { | ||
"label": "Attackspeed", | "label": "Attackspeed", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true, | ||
"description": "Attackspeed of the item" | |||
}, | }, | ||
"sweetsour": { | "sweetsour": { | ||
"label": "Sweet and Sour spots", | "label": "Sweet and Sour spots", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true, | ||
"description": "Sweet and Sour spots of the item" | |||
}, | |||
"quiver": { | |||
"label": "Quiver Size", | |||
"type": "string", | |||
"suggested": true, | |||
"description": "Size of the quiver" | |||
}, | }, | ||
"actionmovementspeed": { | "actionmovementspeed": { | ||
"label": "Action movement speed", | "label": "Action movement speed", | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true, | ||
"description": "Action movement speed of the item" | |||
} | } | ||
}, | }, | ||
Line 421: | Line 394: | ||
"attackspeed", | "attackspeed", | ||
"sweetsour", | "sweetsour", | ||
"quiver", | |||
"actionmovementspeed", | "actionmovementspeed", | ||
"firstShownTier | "firstShownTier" | ||
] | ] | ||
} | } | ||
</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 }} |
|
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | The name of the weapon
| String | required |
Classes | classes | One or more classes can be added | String | suggested |
Damage - Tier 1 | damage1 | Damage of the item at corresponding rarity | String | required |
Damage - Tier 2 | damage2 | Damage of the item at corresponding rarity | String | suggested |
Damage - Tier 3 | damage3 | Damage of the item at corresponding rarity | String | suggested |
Damage - Tier 4 | damage4 | Damage of the item at corresponding rarity | String | suggested |
Damage - Tier 5 | damage5 | Damage of the item at corresponding rarity | String | suggested |
Damage - Tier 6 | damage6 | Damage of the item at corresponding rarity | String | suggested |
Damage - Tier 7 | damage7 | Damage of the item at corresponding rarity | String | suggested |
Damage - Tier 8 | damage8 | Damage of the item at corresponding rarity | String | suggested |
Movement speed | movementspeed | Movement speed of the item | String | suggested |
Combo | combo | Combo of the item | String | suggested |
Combo damage | combodamage | Combo damage of the item | String | suggested |
Attackspeed | attackspeed | Attackspeed of the item | String | suggested |
Sweet and Sour spots | sweetsour | Sweet and Sour spots of the item | String | suggested |
Quiver Size | quiver | Size of the quiver | String | suggested |
Action movement speed | actionmovementspeed | Action movement speed of the item | String | suggested |
First Shown Tier | firstShownTier | Either 1, 2, 3, or 4. Should always be 1, unless a lower tier is disabled
| Number | required |