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 2)
m (Decreased space in-between acc and melee-str fields try 3)
Line 87: Line 87:
 
<table class="fullWidth-table" style="padding: 1em; margin:auto;">
 
<table class="fullWidth-table" style="padding: 1em; margin:auto;">
 
   <tr>
 
   <tr>
     <td colspan="25" class="infobox-nested">Accuracy</td>
+
     <td colspan="15" class="infobox-nested">Accuracy</td>
     <td colspan="25" class="infobox-nested">Melee Str</td>
+
     <td colspan="15" class="infobox-nested">Melee Str</td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
     <td colspan="25" class="infobox-nested">{{{acc}}}</td>
+
     <td colspan="15" class="infobox-nested">{{{acc}}}</td>
     <td colspan="25" class="infobox-nested">{{{melee-str}}}</td>
+
     <td colspan="15" class="infobox-nested">{{{melee-str}}}</td>
 
   </tr>
 
   </tr>
 
</table>
 
</table>
Line 122: Line 122:
 
<table class="fullWidth-table" style="padding: 1em; margin:auto;">
 
<table class="fullWidth-table" style="padding: 1em; margin:auto;">
 
   <tr>
 
   <tr>
     <td colspan="25" class="infobox-nested">Acc</td>
+
     <td colspan="15" class="infobox-nested">Accuracy</td>
     <td colspan="25" class="infobox-nested">Melee Str</td>
+
     <td colspan="15" class="infobox-nested">Melee Str</td>
 
   </tr>
 
   </tr>
 
   <tr>
 
   <tr>
     <td colspan="25" class="infobox-nested">{{{aug-acc}}}</td>
+
     <td colspan="15" class="infobox-nested">{{{aug-acc}}}</td>
     <td colspan="25" class="infobox-nested">{{{aug-melee-str}}}</td>
+
     <td colspan="15" class="infobox-nested">{{{aug-melee-str}}}</td>
 
   </tr>
 
   </tr>
 
</table>
 
</table>

Revision as of 14:20, 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
|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-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 = 
|aug-slots = 
|atk-type = 
|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 = 
}}