Difference between revisions of "Template:Infobox Equipment"

From Idlescape Wiki
Jump to navigation Jump to search
m (Decreased space in-between acc and melee-str fields try 3)
m (Added attack speed)
Line 27: Line 27:
 
</tr>
 
</tr>
 
|}}
 
|}}
{{#if: {{{aug-slots|}}}|
+
{{#if: {{{atk-speed|}}}|
 
<tr>
 
<tr>
     <th colspan="10">Augument Slots</th>
+
     <th colspan="10">Attack Speed</th>
     <td colspan="20">{{{aug-slots}}}</td>
+
     <td colspan="20">{{{atk-speed}}}</td>
 
</tr>
 
</tr>
 
|}}
 
|}}
Line 37: Line 37:
 
     <th colspan="10">Attack Type</th>
 
     <th colspan="10">Attack Type</th>
 
     <td colspan="20">{{{atk-type}}}</td>
 
     <td colspan="20">{{{atk-type}}}</td>
 +
</tr>
 +
|}}
 +
{{#if: {{{aug-slots|}}}|
 +
<tr>
 +
    <th colspan="10">Augument Slots</th>
 +
    <td colspan="20">{{{aug-slots}}}</td>
 
</tr>
 
</tr>
 
|}}
 
|}}
Line 152: Line 158:
 
  |source = Source of item
 
  |source = Source of item
 
  |slot = Helmet/Shield etc
 
  |slot = Helmet/Shield etc
 +
|atk-speed = Attack speed
 +
|atk-type = only needed for weapons or if armor gives attack bonus
 
  |aug-slots = Amount of aug slots
 
  |aug-slots = Amount of aug slots
|atk-type = only needed for weapons or if armor gives attack bonus
 
 
  |atk-stats = only needed for weapons or if armor gives defensive bonus, this field is never shown
 
  |atk-stats = only needed for weapons or if armor gives defensive bonus, this field is never shown
 
   |atk-stab = Requires atk-stats - stab stats
 
   |atk-stab = Requires atk-stats - stab stats
Line 188: Line 195:
 
|source =  
 
|source =  
 
|slot =  
 
|slot =  
 +
|atk-speed =
 +
|atk-type =
 
|aug-slots =  
 
|aug-slots =  
|atk-type =
 
 
|atk-stats =  
 
|atk-stats =  
 
|atk-stab =  
 
|atk-stab =  

Revision as of 14:22, 13 January 2021

Infobox Equipment




Usage

{{Infobox Equipment
|title = Automatic pagename, only use this if custom name is needed
|image = URL
|gold = vendor sell price
|level-req = level required to use item
|source = Source of item
|slot = Helmet/Shield etc
|atk-speed = Attack speed
|atk-type = only needed for weapons or if armor gives attack bonus
|aug-slots = Amount of aug slots
|atk-stats = only needed for weapons or if armor gives defensive bonus, this field is never shown
 |atk-stab = Requires atk-stats - stab stats
 |atk-slash = Requires atk-stats - slash stats
 |atk-crush = Requires atk-stats - crush stats
 |atk-magic = Requires atk-stats - magic stats
 |atk-range = Requires atk-stats - range stats
|def-stats = only needed for weapons or if armor gives defensive bonus, this field is never shown
 |def-stab = Requires def-stats - stab stats
 |def-slash = Requires def-stats - slash stats
 |def-crush = Requires def-stats - crush stats
 |def-magic = Requires def-stats - magic stats
 |def-range = Requires def-stats - range stats
|acc = Only shown if either acc or melee-str has a input - accuracy bonus
|melee-str = Only shown if either acc or melee-str has a input - melee strength bonus
|aug-stab = stab aug bonus
|aug-slash = slash aug bonus
|aug-crush = crush aug bonus
|aug-magic = magic aug bonus
|aug-range = range aug bonus
|aug-acc = Only shown if either aug-acc or aug-melee-str has a input - accuracy aug bonus
|aug-melee-str = Only shown if either aug-acc or aug-melee-str has a input - melee strength aug bonus
|aug-cost = augument material cost
}}

Copy pasta code:

{{Infobox Equipment
|title = 
|image = 
|gold = 
|level-req = 
|source = 
|slot = 
|atk-speed = 
|atk-type = 
|aug-slots = 
|atk-stats = 
|atk-stab = 
|atk-slash = 
|atk-crush = 
|atk-magic = 
|atk-range = 
|def-stats = 
|def-stab = 
|def-slash = 
|def-crush = 
|def-magic = 
|def-range = 
|acc = 
|melee-str = 
|aug-stab = 
|aug-slash = 
|aug-crush = 
|aug-magic = 
|aug-range = 
|aug-acc = 
|aug-melee-str = 
|aug-cost = 
}}