Difference between revisions of "Template:Infobox Item"

From Corruption of Champions II
Jump to navigation Jump to search
(the row can probably be safely removed without having to re-number everything)
(Added Stack Limit Parameter)
Line 16: Line 16:
 
|data4 = {{{baseprice|}}}
 
|data4 = {{{baseprice|}}}
  
|header5 = {{ #if: {{{damage|}}}{{{damagetype|}}}{{{accuracy|}}}{{{critbonus|}}}{{{spellpower|}}}{{{spellpenetration|}}}{{{armorpenetration|}}}{{{armor|}}}{{{ward|}}}{{{evasion|}}}{{{focus|}}}{{{sexiness|}}}{{{specialstats|}}}{{{bonusresistances|}}}{{{lustvuln|}}}{{{usable|}}}{{{combatusable|}}}{{{deftarget|}}}{{{addflags|}}} | {{ #if: {{{info-hdr|}}}|{{{info-hdr}}}|Additional Information }} }}
+
|header5 = {{ #if: {{{damage|}}}{{{damagetype|}}}{{{accuracy|}}}{{{critbonus|}}}{{{spellpower|}}}{{{spellpenetration|}}}{{{armorpenetration|}}}{{{armor|}}}{{{ward|}}}{{{evasion|}}}{{{focus|}}}{{{sexiness|}}}{{{specialstats|}}}{{{bonusresistances|}}}{{{lustvuln|}}}{{{stacklimit|}}}{{{usable|}}}{{{combatusable|}}}{{{deftarget|}}}{{{addflags|}}} | {{ #if: {{{info-hdr|}}}|{{{info-hdr}}}|Additional Information }} }}
  
 
|label6 = Damage
 
|label6 = Damage
Line 63: Line 63:
 
|data20 = {{{lustvuln|}}}
 
|data20 = {{{lustvuln|}}}
  
|label21 = Usable
+
|lable21 = Stack Limit
|data21 = {{{usable|}}}
+
|data21 = {{{stacklimit|}}}
  
|label22 = Combat Usable
+
|label22 = Usable
|data22 = {{{combatusable|}}}
+
|data22 = {{{usable|}}}
  
|label23 = Defensive Target
+
|label23 = Combat Usable
|data23 = {{{deftarget|}}}
+
|data23 = {{{combatusable|}}}
  
|label24 = Additional Flags
+
|label24 = Defensive Target
|data24 = {{{addflags|}}}
+
|data24 = {{{deftarget|}}}
 +
 
 +
|label25 = Additional Flags
 +
|data25 = {{{addflags|}}}
 
}}<noinclude>
 
}}<noinclude>
  
Line 102: Line 105:
 
| bonusresistances = Bonus Resistances
 
| bonusresistances = Bonus Resistances
 
| lustvuln = Lust Vulnerability
 
| lustvuln = Lust Vulnerability
 +
| stacklimit = How many times the item can stack in one inventory slot
 
| usable = Yes or omit if the item can't be used outside of combat (usable = has the "use" button)
 
| usable = Yes or omit if the item can't be used outside of combat (usable = has the "use" button)
 
| combatusable = Yes or omit if the item can't be used in combat
 
| combatusable = Yes or omit if the item can't be used in combat

Revision as of 02:31, 18 June 2019

Usage

Parameters with empty values usually can be removed without any bad effect.

All possible parameters:

{{Infobox Item
| name = long item name
| itemtype = type of the item according to the vague system used on the wiki
| shortname = short name, as used in inventory buttons, e.g. "Sp.Blade" for "Spiralled Blade"; omit if it's the same
| slotname = name of the equipment slot, if the item can be equipped
| 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
| specialstats = Other Bonus stats such as initiative
| bonusresistances = Bonus Resistances
| lustvuln = Lust Vulnerability
| stacklimit = How many times the item can stack in one inventory slot
| usable = Yes or omit if the item can't be used outside of combat (usable = has the "use" button)
| combatusable = Yes or omit if the item can't be used in combat
| deftarget = Defensive Target (???)
| addflags = item flags, such as METAL, HEAVY, etc.
}}