From Dark and Darker Wiki
No edit summary |
No edit summary |
||
| Line 3: | Line 3: | ||
<div style="display:flex"class="itemboxheader"> | <div style="display:flex"class="itemboxheader"> | ||
<div style="float:left"> | <div style="float:left"> | ||
{{# | {{#switch:{{{rarity|}}} | ||
|{{Iconbox|{{{name}}}|image={{{name}}} {{{rarity}}}.png|caption=no|size=150x150px|nolink=1}} | |0 | ||
|{{Iconbox|{{{name}}}|image={{{name}}}.png|caption=no|size=150x150px|nolink=1}} | |1 | ||
|2 | |||
|3 | |||
|4 | |||
|5 | |||
|6 | |||
|7 = {{Iconbox|{{{name}}}|image={{{name}}}.png|caption=no|size=150x150px|nolink=1}} | |||
|Ruby Silver = {{Iconbox|{{{name}}}|image={{{name}}} {{{rarity}}}.png|caption=no|size=150x150px|nolink=1}} | |||
|#default = {{Iconbox|{{{name}}}|image={{{name}}}.png|caption=no|size=150x150px|nolink=1}} | |||
}} | }} | ||
Revision as of 09:39, 4 February 2023
Creates an infobox for a Armor.
Example
| Code | Preview |
|---|---|
{{Infobox Armor
|name = Barbuta Helm
|classes = [[Fighter]]
|armor = 15
|rarity = Ruby Silver
|movementspeed = -20
|stats = 14.0% Headshot Reduction
|stats2 = -5 Magic Resistance
}} |
Barbuta Helm
Classes
Armor
15
Movement Speed
-20
Stats
14.0% Headshot Reduction
-5 Magic Resistance
|
{{Infobox Armor
|name = Armet
|classes = [[Fighter]]
|armor = 15
|movementspeed = -20
|stats = 14.0% Headshot Reduction
|stats2 = -5 Magic Resistance
}} |
Armet
Classes
Armor
15
Movement Speed
-20
Stats
14.0% Headshot Reduction
-5 Magic Resistance
|
All Options
The full list of options are listed below.
{{Infobox Armor
|name =
|classes =
|armor =
|rarity =
|movementspeed =
|stats =
|stats2 =
}}
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 | armor | Armor of the item at corresponding rarity | String | suggested |
| 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 |
| Rarity | rarity | Rarity of the item | String | suggested |