Difference between revisions of "Template:Infobox Item"

From Corruption of Champions II
Jump to navigation Jump to search
(Added Stack Limit Parameter)
m (added contributors)
 
(8 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
| subheader = {{{shortname|}}}
 
| subheader = {{{shortname|}}}
  
|label1 = Type
+
|label1 = Author
|data1 = {{{itemtype|}}}
+
|data1 = {{{author|}}}
  
|label3 = Slot
+
|label2 = Contributors
|data3 = {{{slotname|}}}
+
|data2 = {{{contributors|}}}
  
|label4 = Base Price
+
|label3 = Type
|data4 = {{{baseprice|}}}
+
|data3 = {{{itemtype|}}}
  
|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 }} }}
+
|label4 = Slot
 +
|data4 = {{{slotname|}}}
  
|label6 = Damage
+
|label5 = Base Price
|data6 = {{{damage|}}}
+
|data5 = {{{baseprice|}}}
  
|label7 = Damage Type
+
|header6 = {{ #if: {{{damage|}}}{{{damagetype|}}}{{{accuracy|}}}{{{critbonus|}}}{{{spellpower|}}}{{{spellpenetration|}}}{{{armorpenetration|}}}{{{armor|}}}{{{ward|}}}{{{evasion|}}}{{{focus|}}}{{{sexiness|}}}{{{temptation|}}}{{{specialstats|}}}{{{bonusresistances|}}}{{{lustvuln|}}}{{{stacklimit|}}}{{{usable|}}}{{{combatusable|}}}{{{deftarget|}}}{{{addflags|}}} | {{ #if: {{{info-hdr|}}}|{{{info-hdr}}}|Additional Information }} }}
|data7 = {{{damagetype|}}}
 
  
|label8 = Accuracy
+
|label7 = Damage
|data8 = {{{accuracy|}}}
+
|data7 = {{{damage|}}}
  
|label9 = Crit Bonus
+
|label8 = Damage Type
|data9 = {{{critbonus|}}}
+
|data8 = {{{damagetype|}}}
  
|label10 = Spellpower
+
|label9 = Accuracy
|data10 = {{{spellpower|}}}
+
|data9 = {{{accuracy|}}}
  
|label11 = Spell Penetration
+
|label10 = Crit Bonus
|data11 = {{{spellpenetration|}}}
+
|data10 = {{{critbonus|}}}
  
|label12 = Armor Penetration
+
|label11 = Spellpower
|data12 = {{{armorpenetration|}}}
+
|data11 = {{{spellpower|}}}
  
|label13 = Armor
+
|label12 = Spell Penetration
|data13 = {{{armor|}}}
+
|data12 = {{{spellpenetration|}}}
  
|label14 = Ward
+
|label13 = Armor Penetration
|data14 = {{{ward|}}}
+
|data13 = {{{armorpenetration|}}}
  
|label15 = Evasion
+
|label14 = Armor
|data15 = {{{evasion|}}}
+
|data14 = {{{armor|}}}
  
|label16 = Focus
+
|label15 = Ward
|data16 = {{{focus|}}}
+
|data15 = {{{ward|}}}
  
|label17 = Sexiness
+
|label16 = Evasion
|data17 = {{{sexiness|}}}
+
|data16 = {{{evasion|}}}
  
|label18 = Special Stats
+
|label17 = Focus
|data18 = {{{specialstats|}}}
+
|data17 = {{{focus|}}}
  
|label19 = Bonus Resistances
+
|label18 = Sexiness
|data19 = {{{bonusresistances|}}}
+
|data18 = {{{sexiness|}}}
  
|label20 = Lust Vulnerability
+
|label19 = Temptation
|data20 = {{{lustvuln|}}}
+
|data19 = {{{temptation|}}}
  
|lable21 = Stack Limit
+
|label20 = Special Stats
|data21 = {{{stacklimit|}}}
+
|data20 = {{{specialstats|}}}
  
|label22 = Usable
+
|label21 = Bonus Resistances
|data22 = {{{usable|}}}
+
|data21 = {{{bonusresistances|}}}
  
|label23 = Combat Usable
+
|label22 = Lust Vulnerability
|data23 = {{{combatusable|}}}
+
|data22 = {{{lustvuln|}}}
  
|label24 = Defensive Target
+
|label23 = Stack Limit
|data24 = {{{deftarget|}}}
+
|data23 = {{{stacklimit|}}}
  
|label25 = Additional Flags
+
|label24 = Usable
|data25 = {{{addflags|}}}
+
|data24 = {{{usable|}}}
 +
 
 +
|label25 = Combat Usable
 +
|data25 = {{{combatusable|}}}
 +
 
 +
|label26 = Defensive Target
 +
|data26 = {{{deftarget|}}}
 +
 
 +
|label27 = Additional Flags
 +
|data27 = {{{addflags|}}}
 +
 
 +
|label28 = Version Added
 +
|data28 = {{{versionadded|}}}
 
}}<noinclude>
 
}}<noinclude>
  
Line 86: Line 98:
 
{{Infobox Item
 
{{Infobox Item
 
| name = long item name
 
| name = long item name
 +
| author = writer/creator of the item
 +
| contributors = contributors to the item
 
| itemtype = type of the item according to the vague system used on the wiki
 
| 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
 
| shortname = short name, as used in inventory buttons, e.g. "Sp.Blade" for "Spiralled Blade"; omit if it's the same
Line 102: Line 116:
 
| focus = Focus
 
| focus = Focus
 
| sexiness = Sexiness
 
| sexiness = Sexiness
 +
| temptation = Lust Penetration
 
| specialstats = Other Bonus stats such as initiative
 
| specialstats = Other Bonus stats such as initiative
 
| bonusresistances = Bonus Resistances
 
| bonusresistances = Bonus Resistances
Line 110: Line 125:
 
| deftarget = Defensive Target (???)
 
| deftarget = Defensive Target (???)
 
| addflags = item flags, such as METAL, HEAVY, etc.
 
| addflags = item flags, such as METAL, HEAVY, etc.
 +
| versionadded = What patch said item was added in
 
}}
 
}}
 
</nowiki></pre>
 
</nowiki></pre>
  
 
<noinclude>
 
<noinclude>

Latest revision as of 10:52, 22 August 2021

Usage

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

All possible parameters:

{{Infobox Item
| name = long item name
| author = writer/creator of the item
| contributors = contributors to the item
| 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
| temptation = Lust Penetration 
| 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.
| versionadded = What patch said item was added in
}}