Template:Equipment: Difference between revisions

m Added "handling" & "armor grade" options
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; text-align:center; background-color:#c6c6c6;">
<div style="width:100%; padding:0; margin:0; background-color:#c6c6c6;">
    [[File:{{{image|}}}|500px|link=|class=none|border=]]
  <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 Velcocity
     |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 = 4.5
| 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 =