Difference between revisions of "Template:Infobox Equipment"

From Idlescape Wiki
Jump to navigation Jump to search
m (reduced width slightly)
m (Fixed misspelling)
Line 41: Line 41:
 
{{#if: {{{aug-slots|}}}|
 
{{#if: {{{aug-slots|}}}|
 
<tr>
 
<tr>
     <th colspan="10">Augument Slots</th>
+
     <th colspan="10">Augment Slots</th>
 
     <td colspan="20">{{{aug-slots}}}</td>
 
     <td colspan="20">{{{aug-slots}}}</td>
 
</tr>
 
</tr>
Line 107: Line 107:
 
|}}
 
|}}
 
{{#if: {{{aug-stab|{{{aug-slash|{{{aug-crush|{{{aug-magic|{{{aug-range|}}}}}}}}}}}}}}}|
 
{{#if: {{{aug-stab|{{{aug-slash|{{{aug-crush|{{{aug-magic|{{{aug-range|}}}}}}}}}}}}}}}|
<div class="infobox-title">Augument Bonus</div>
+
<div class="infobox-title">Augment Bonus</div>
 
<div class="infobox-stats">
 
<div class="infobox-stats">
 
<table class="fullWidth-table">
 
<table class="fullWidth-table">
Line 210: Line 210:
 
  |aug-miscname2 = Name of second misc stat. Only shown of miscname1 is filled
 
  |aug-miscname2 = Name of second misc stat. Only shown of miscname1 is filled
 
  |aug-miscstat2 = Requires miscname1 and miscname2
 
  |aug-miscstat2 = Requires miscname1 and miscname2
  |aug-cost = augument material cost
+
  |aug-cost = augment material cost
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
  

Revision as of 16:48, 22 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
|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
|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
|miscname1 = Name of first misc stat
|miscstat1 = Requires miscname1
|miscname2 = Name of second misc stat. Only shown of miscname1 is filled
|miscstat2 = Requires miscname1 and miscname2
|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-miscname1 = Name of first misc stat
|aug-miscstat1 = Requires miscname1
|aug-miscname2 = Name of second misc stat. Only shown of miscname1 is filled
|aug-miscstat2 = Requires miscname1 and miscname2
|aug-cost = augment material cost
}}

Copy pasta code:

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