From Dark and Darker Wiki
No edit summary |
(added cobalt) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<div style="width: 300px;background-color: rgb(var(--background-color),0.3); padding: 16px; max-width:470px; border:2px solid rgb(var(--rarity-{{#switch:{{{rarity|}}} | <div style="width: 300px; background-color: rgb(var(--background-color),0.3); padding: 16px; max-width:470px; border:2px solid rgb(var(--rarity-{{#switch:{{{rarity|}}} | ||
|Ruby Silver = 5 | |Ruby Silver = 5 | ||
|Cobalt = 4 | |||
|#default = {{{rarity}}}}}),0.5); {{#ifeq:{{{nofloat|}}}|1||float:right;}}"> | |#default = {{{rarity}}}}}),0.5); {{#ifeq:{{{nofloat|}}}|1||float:right;}}"> | ||
<div style="display:flex; flex-direction:column; align-items:center;"class="itemboxheader"> | <div style="display:flex; flex-direction:column; align-items:center;"class="itemboxheader"> | ||
<div | <div> | ||
{{#switch:{{{rarity|}}} | {{#switch:{{{rarity|}}} | ||
|0 | |0 | ||
Line 15: | Line 16: | ||
|7 = {{Iconbox|{{{name}}}|image={{{name}}}.png|caption=no|size=150x150px|nolink=1}} | |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}} | |Ruby Silver = {{Iconbox|{{{name}}}|image={{{name}}} {{{rarity}}}.png|caption=no|size=150x150px|nolink=1}} | ||
|Cobalt = {{Iconbox|{{{name}}}|image={{{name}}} {{{rarity}}}.png|caption=no|size=150x150px|nolink=1}} | |||
|#default = {{Iconbox|{{{name}}}|image={{{name}}}.png|caption=no|size=150x150px|nolink=1}} | |#default = {{Iconbox|{{{name}}}|image={{{name}}}.png|caption=no|size=150x150px|nolink=1}} | ||
}}<!-- | }}<!-- | ||
Line 48: | Line 50: | ||
-->{{#if:{{{stats|}}}| | -->{{#if:{{{stats|}}}| | ||
<div class="stats-container" style="ggrid-column: span 1 / span 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr))"><!-- | <div class="stats-container" style="ggrid-column: span 1 / span 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr))"><!-- | ||
--><div style=" | --><div style="font-weight:bold; color:rgb(245,226,133);">Stats</div> | ||
<div style="display:flex; flex-direction:column;"><!-- | <div style="display:flex; flex-direction:column;"><!-- | ||
--><div>{{{stats}}}</div><!-- | --><div>{{{stats}}}</div><!-- | ||
Line 67: | Line 69: | ||
<th>Code</th> | <th>Code</th> | ||
<th>Preview</th> | <th>Preview</th> | ||
</tr> | |||
<tr> | |||
<td style="padding: 20px 30px;"> | |||
<pre> | |||
{{Infobox Armor | |||
|name = Frock | |||
|classes = [[Cleric]] | |||
|armor = 15 | |||
|rarity = Cobalt | |||
|movementspeed = -20 | |||
|stats = 14.0% Headshot Reduction | |||
|stats2 = -5 Magic Resistance | |||
}}</pre></td> | |||
<td style="padding: 20px 30px;"> | |||
{{Infobox Armor | |||
|name = Frock | |||
|classes = [[Cleric]] | |||
|armor = 15 | |||
|rarity = Cobalt | |||
|movementspeed = -20 | |||
|stats = 14.0% Headshot Reduction | |||
|stats2 = -5 Magic Resistance | |||
}} | |||
</td> | |||
</tr> | </tr> | ||
<tr> | <tr> |
Latest revision as of 20:47, 7 February 2023
Creates an infobox for a Armor.
Example
Code | Preview |
---|---|
{{Infobox Armor |name = Frock |classes = [[Cleric]] |armor = 15 |rarity = Cobalt |movementspeed = -20 |stats = 14.0% Headshot Reduction |stats2 = -5 Magic Resistance }} |
Frock
|
{{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
|
{{Infobox Armor |name = Armet |classes = [[Fighter]] |armor = 15 |movementspeed = -20 |stats = 14.0% Headshot Reduction |stats2 = -5 Magic Resistance }} |
Armet
|
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 |