Template:Equipment: Difference between revisions
OneDarkWolfy (talk | contribs) m Added "handling" & "armor grade" options |
OneDarkWolfy (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
<table style="width:100%; border-collapse:collapse; background-color:#c6c6c6;"> | <table style="width:100%; border-collapse:collapse; background-color:#c6c6c6;"> | ||
<td style="vertical-align:top; border:0; padding:0; background-color:#c6c6c6;"> | <td style="vertical-align:top; border:0; padding:0; background-color:#c6c6c6;"> | ||
<div style="width:100%; padding:0; margin:0; background-color:#c6c6c6;"> | |||
<div style="display:flex; flex-direction:column; align-items:center; gap:8px;"> | |||
{{#if: {{{image|}}} | | |||
<div style="width:100%; text-align:center;"> | |||
[[File:{{{image}}}|500px|link=|class=none|border=]] | |||
</div> | |||
}} | |||
{{#if: {{{image1|}}} | | |||
<div style="width:100%; text-align:center;"> | |||
[[File:{{{image1}}}|500px|link=|class=none|border=]] | |||
</div> | |||
}} | |||
{{#if: {{{image2|}}} | | |||
<div style="width:100%; text-align:center;"> | |||
[[File:{{{image2}}}|500px|link=|class=none|border=]] | |||
</div> | |||
}} | |||
</div> | </div> | ||
</td> | </div> | ||
</td> | |||
<td style="vertical-align:top; border:0; padding:0;"> | <td style="vertical-align:top; border:0; padding:0;"> | ||
<!--Template Infobox --> | <!--Template Infobox --> | ||
{{Infobox | {{Infobox | ||
|titlestyle = text-align:center; font-weight:bold; border:1px solid #aaa; | |titlestyle = text-align:center; font-weight:bold; border:1px solid #aaa; | ||
Line 29: | Line 46: | ||
|label13 = Combat Range | |label13 = Combat Range | ||
|data13 = {{{combat_range|}}} | |data13 = {{{combat_range|}}} | ||
|label14 = Arrow | |label14 = Arrow Velocity | ||
|data14 = {{{arrow_velocity|}}} | |data14 = {{{arrow_velocity|}}} | ||
<!-- 20-29 | Armor Stats --> | <!-- 20-29 | Armor Stats --> | ||
Line 58: | Line 75: | ||
}} | }} | ||
</td> | </td> | ||
</table> | |||
</includeonly> | |||
</tr> | </tr> | ||
</table> | </table> | ||
Line 67: | Line 86: | ||
<noinclude> | <noinclude> | ||
== Description == | == Description == | ||
This template is used for custom weapons and armor on Alathra. | This template is used for custom weapons and armor on Alathra. This template supports up to 3 images. | ||
== Weapon Example == | == Weapon Example == | ||
Line 75: | Line 94: | ||
| title = Copper Dagger | | title = Copper Dagger | ||
| image = Copper Dagger recipe.png | | image = Copper Dagger recipe.png | ||
| image1 = Copper Dagger recipe.png | |||
| image2 = Copper Dagger recipe.png | |||
| type = Dagger | | type = Dagger | ||
| crafting = | | crafting = | ||
Line 80: | Line 101: | ||
* 1 Copper Ingot | * 1 Copper Ingot | ||
* 1 Copper Nugget | * 1 Copper Nugget | ||
| attack_damage = | | attack_damage = 2.2 | ||
| attack_speed = 2.2 | | attack_speed = 2.2 | ||
| combat_range = -1 | | combat_range = -1 | ||
Line 93: | Line 114: | ||
| title = Copper Dagger | | title = Copper Dagger | ||
| image = Copper Dagger recipe.png | | image = Copper Dagger recipe.png | ||
| image1 = Copper Dagger recipe.png | |||
| image2 = Copper Dagger recipe.png | |||
| type = Dagger | | type = Dagger | ||
| crafting = | | crafting = |
Revision as of 14:46, 19 May 2025
</includeonly>
Description
This template is used for custom weapons and armor on Alathra. This template supports up to 3 images.
Weapon Example
Code
{{Equipment | title = Copper Dagger | image = Copper Dagger recipe.png | image1 = Copper Dagger recipe.png | image2 = Copper Dagger recipe.png | type = Dagger | crafting = * 1 Stick * 1 Copper Ingot * 1 Copper Nugget | attack_damage = 2.2 | attack_speed = 2.2 | combat_range = -1 | rune_slots = * 1 Red Rune slot | handling = One-handed | tier = Stone }}
How it looks
|
|
Armor Example
Code
{{Equipment | title = Wooden Helmet | image = Wooden Helmet recipe.png | type = Helmet | crafting = * 5 Oak Log | dodge_rating = +2% | armor = +1 | armor_toughness = +0.1 | movement_speed = +0.1 | rune_slots = * 1 Blue Rune slot | armor_grade = Light | tier = Wood }}
How it looks
|
|