Difference between revisions of "Template:Infobox Item"

From Corruption of Champions II
Jump to navigation Jump to search
(removed a stray newline that shows up when a page begins with the template)
(Reformatted to include Coc2 Item values such as armor, ward, etc. Also changed some positions. (Hopefully this won't break anything))
Line 16: Line 16:
 
|data4 = {{{baseprice|}}}
 
|data4 = {{{baseprice|}}}
  
|header5 = {{ #if: {{{damage|}}}{{{damagetype|}}}{{{defense|}}}{{{shielddefense|}}}{{{bonusshield|}}}{{{accuracy|}}}{{{sexiness|}}}{{{critbonus|}}}{{{evasion|}}}{{{fortification|}}}{{{bonusresistances|}}}{{{lustvuln|}}}{{{usable|}}}{{{combatusable|}}}{{{deftarget|}}}{{{addflags|}}} | {{ #if: {{{info-hdr|}}}|{{{info-hdr}}}|Information }} }}
+
|header5 = {{ #if: {{{damage|}}}{{{damagetype|}}}{{{accuracy|}}}{{{critbonus|}}}{{{spellpower|}}}{{{spellpenetration|}}}{{{armorpenetration|}}}{{{armor|}}}{{{ward|}}}{{{evasion|}}}{{{focus|}}}{{{sexiness|}}}{{{bonusresistances|}}}{{{lustvuln|}}}{{{usable|}}}{{{combatusable|}}}{{{deftarget|}}}{{{addflags|}}} | {{ #if: {{{info-hdr|}}}|{{{info-hdr}}}|Additional Information }} }}
  
 
|label6 = Damage
 
|label6 = Damage
Line 24: Line 24:
 
|data7 = {{{damagetype|}}}
 
|data7 = {{{damagetype|}}}
  
|label8 = Defense
+
|label8 = Accuracy
|data8 = {{{defense|}}}
+
|data8 = {{{accuracy|}}}
  
|label9 = Accuracy
+
|label9 = Crit Bonus
|data9 = {{{accuracy|}}}
+
|data9 = {{{critbonus|}}}
  
|label10 = Sexiness
+
|label10 = Spellpower
|data10 = {{{sexiness|}}}
+
|data10 = {{{spellpower|}}}
  
|label11 = Crit Bonus
+
|label11 = Spell Penetration
|data11 = {{{critbonus|}}}
+
|data11 = {{{spellpenetration|}}}
  
|label12 = Evasion
+
|label12 = Armor Penetration
|data12 = {{{evasion|}}}
+
|data12 = {{{armorpenetration|}}}
  
|label13 = Bonus Resistances
+
|label13 = Armor
|data13 = {{{bonusresistances|}}}
+
|data13 = {{{armor|}}}
  
|label14 = Lust Vulnerability
+
|label14 = Ward
|data14 = {{{lustvuln|}}}
+
|data14 = {{{ward|}}}
  
|label15 = Usable
+
|label15 = Evasion
|data15 = {{{usable|}}}
+
|data15 = {{{evasion|}}}
  
|label16 = Combat Usable
+
|label16 = Focus
|data16 = {{{combatusable|}}}
+
|data16 = {{{focus|}}}
  
|label17 = Defensive Target
+
|label17 = Sexiness
|data17 = {{{deftarget|}}}
+
|data17 = {{{sexiness|}}}
  
|label18 = Additional Flags
+
|label18 = Bonus Resistances
|data18 = {{{addflags|}}}
+
|data18 = {{{bonusresistances|}}}
}}<noinclude>
 
  
 +
|label19 = Lust Vulnerability
 +
|data19 = {{{lustvuln|}}}
 +
 +
|label20 = Usable
 +
|data20 = {{{usable|}}}
 +
 +
|label21 = Combat Usable
 +
|data21 = {{{combatusable|}}}
 +
 +
|label22 = Defensive Target
 +
|data22 = {{{deftarget|}}}
 +
 +
|label23 = Additional Flags
 +
|data23 = {{{addflags|}}}
 +
}}
 +
 +
 +
<noinclude>
 
==Usage==
 
==Usage==
 
<pre>
 
<pre>
Line 65: Line 82:
 
| itemtype = Item Type
 
| itemtype = Item Type
 
| shortname = Short Name
 
| shortname = Short Name
| slotname = Slot
+
| slotname = Slot Name
 
| baseprice = Base Price
 
| baseprice = Base Price
 
| damage = Damage
 
| damage = Damage
 
| damagetype = Damage Type
 
| damagetype = Damage Type
 +
| accuracy = Accuracy
 +
| critbonus = Crit Bonus
 +
| spellpower = Spellpower
 +
| spellpenetration = Spell Penetration
 +
| armorpenetration = Armor Penetration
 
| armor = Armor
 
| armor = Armor
 
| ward = Ward
 
| ward = Ward
| accuracy = Accuracy
 
| sexiness = Sexiness
 
| critbonus = Crit Bonus
 
 
| evasion = Evasion
 
| evasion = Evasion
 
| focus = Focus
 
| focus = Focus
 +
| sexiness = Sexiness
 
| bonusresistances = Bonus Resistances
 
| bonusresistances = Bonus Resistances
 
| lustvuln = Lust Vulnerability
 
| lustvuln = Lust Vulnerability

Revision as of 08:40, 22 May 2019


Usage


{{Infobox Item
| name = Item Name
| itemtype = Item Type
| shortname = Short Name
| slotname = Slot Name
| baseprice = Base Price
| damage = Damage
| damagetype = Damage Type
| accuracy = Accuracy
| critbonus = Crit Bonus
| spellpower = Spellpower
| spellpenetration = Spell Penetration
| armorpenetration = Armor Penetration
| armor = Armor
| ward = Ward
| evasion = Evasion
| focus = Focus
| sexiness = Sexiness
| bonusresistances = Bonus Resistances
| lustvuln = Lust Vulnerability
| usable = Yes or omit
| combatusable = Yes or omit
| deftarget = Defensive Target
| addflags = Additional Flags
}}