From Dark and Darker Wiki
No edit summary |
No edit summary |
||
Line 26: | Line 26: | ||
{{#if:{{{classes|}}}| | {{#if:{{{classes|}}}| | ||
<div class="stats-container"> | <div class="stats-container"> | ||
<div style="float: left; width: 40%; font-weight:bold; color:rgb( | <div style="float: left; width: 40%; font-weight:bold; color:rgb(245,226,133);">Classes</div> | ||
<div style="float: right;width: 60%;text-align-last: right;font-weight:bold;">{{{classes}}}</div> | <div style="float: right;width: 60%;text-align-last: right;font-weight:bold;">{{{classes}}}</div> | ||
</div> | </div> | ||
Line 32: | Line 32: | ||
{{#if:{{{armor|}}}| | {{#if:{{{armor|}}}| | ||
<div class="stats-container"> | <div class="stats-container"> | ||
<div style="float: left; width: 40%; font-weight:bold; color:rgb( | <div style="float: left; width: 40%; font-weight:bold; color:rgb(245,226,133);">Armor</div> | ||
{{#if:{{{rarity|}}} | {{#if:{{{rarity|}}} | ||
|<div style="float: right;width: 60%;text-align-last: right;font-weight:bold;">{{{armor}}}</div> | |<div style="float: right;width: 60%;text-align-last: right;font-weight:bold;">{{{armor}}}</div> | ||
Line 40: | Line 40: | ||
{{#if:{{{movementspeed|}}}| | {{#if:{{{movementspeed|}}}| | ||
<div class="stats-container" style="clear: both; padding: 0 0 -75px 0;"> | <div class="stats-container" style="clear: both; padding: 0 0 -75px 0;"> | ||
<div style="float: left; width: 40%; font-weight:bold; color:rgb( | <div style="float: left; width: 40%; font-weight:bold; color:rgb(245,226,133);">Movement Speed</div> | ||
<div style="float: right;width: 40%;text-align-last: right;font-weight:bold;">{{{movementspeed}}}</div> | <div style="float: right;width: 40%;text-align-last: right;font-weight:bold;">{{{movementspeed}}}</div> | ||
</div> | </div> | ||
Line 46: | Line 46: | ||
{{#if:{{{stats|}}}| | {{#if:{{{stats|}}}| | ||
<div class="stats-container" style="clear: both; padding: 0 0 -75px 0;"> | <div class="stats-container" style="clear: both; padding: 0 0 -75px 0;"> | ||
<div style="float: left; width: 40%; font-weight:bold; color:rgb( | <div style="float: left; width: 40%; font-weight:bold; color:rgb(245,226,133);">Stats</div> | ||
<div style="float: right; width: 60%;text-align-last: right;font-weight:bold;">{{{stats}}}</div> | <div style="float: right; width: 60%;text-align-last: right;font-weight:bold;">{{{stats}}}</div> | ||
<div style="float: right; width: 60%;text-align-last: right;font-weight:bold;">{{{stats2}}}</div> | <div style="float: right; width: 60%;text-align-last: right;font-weight:bold;">{{{stats2}}}</div> |
Revision as of 10:11, 5 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 |