Difference between revisions of "Template:Infobox Item"

From Corruption of Champions II
Jump to navigation Jump to search
m
m (added contributors)
 
(3 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
|data1 = {{{author|}}}
 
|data1 = {{{author|}}}
  
|label2 = Type
+
|label2 = Contributors
|data2 = {{{itemtype|}}}
+
|data2 = {{{contributors|}}}
  
|label3 = Slot
+
|label3 = Type
|data3 = {{{slotname|}}}
+
|data3 = {{{itemtype|}}}
  
|label4 = Base Price
+
|label4 = Slot
|data4 = {{{baseprice|}}}
+
|data4 = {{{slotname|}}}
  
|header5 = {{ #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 }} }}
+
|label5 = Base Price
 +
|data5 = {{{baseprice|}}}
  
|label6 = Damage
+
|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 }} }}
|data6 = {{{damage|}}}
 
  
|label7 = Damage Type
+
|label7 = Damage
|data7 = {{{damagetype|}}}
+
|data7 = {{{damage|}}}
  
|label8 = Accuracy
+
|label8 = Damage Type
|data8 = {{{accuracy|}}}
+
|data8 = {{{damagetype|}}}
  
|label9 = Crit Bonus
+
|label9 = Accuracy
|data9 = {{{critbonus|}}}
+
|data9 = {{{accuracy|}}}
  
|label10 = Spellpower
+
|label10 = Crit Bonus
|data10 = {{{spellpower|}}}
+
|data10 = {{{critbonus|}}}
  
|label11 = Spell Penetration
+
|label11 = Spellpower
|data11 = {{{spellpenetration|}}}
+
|data11 = {{{spellpower|}}}
  
|label12 = Armor Penetration
+
|label12 = Spell Penetration
|data12 = {{{armorpenetration|}}}
+
|data12 = {{{spellpenetration|}}}
  
|label13 = Armor
+
|label13 = Armor Penetration
|data13 = {{{armor|}}}
+
|data13 = {{{armorpenetration|}}}
  
|label14 = Ward
+
|label14 = Armor
|data14 = {{{ward|}}}
+
|data14 = {{{armor|}}}
  
|label15 = Evasion
+
|label15 = Ward
|data15 = {{{evasion|}}}
+
|data15 = {{{ward|}}}
  
|label16 = Focus
+
|label16 = Evasion
|data16 = {{{focus|}}}
+
|data16 = {{{evasion|}}}
  
|label17 = Sexiness
+
|label17 = Focus
|data17 = {{{sexiness|}}}
+
|data17 = {{{focus|}}}
  
|label18 = Temptation
+
|label18 = Sexiness
|data18 = {{{temptation|}}}
+
|data18 = {{{sexiness|}}}
  
|label19 = Special Stats
+
|label19 = Temptation
|data19 = {{{specialstats|}}}
+
|data19 = {{{temptation|}}}
  
|label20 = Bonus Resistances
+
|label20 = Special Stats
|data20 = {{{bonusresistances|}}}
+
|data20 = {{{specialstats|}}}
  
|label21 = Lust Vulnerability
+
|label21 = Bonus Resistances
|data21 = {{{lustvuln|}}}
+
|data21 = {{{bonusresistances|}}}
  
|label22 = Stack Limit
+
|label22 = Lust Vulnerability
|data22 = {{{stacklimit|}}}
+
|data22 = {{{lustvuln|}}}
  
|label23 = Usable
+
|label23 = Stack Limit
|data23 = {{{usable|}}}
+
|data23 = {{{stacklimit|}}}
  
|label24 = Combat Usable
+
|label24 = Usable
|data24 = {{{combatusable|}}}
+
|data24 = {{{usable|}}}
  
|label25 = Defensive Target
+
|label25 = Combat Usable
|data25 = {{{deftarget|}}}
+
|data25 = {{{combatusable|}}}
  
|label26 = Additional Flags
+
|label26 = Defensive Target
|data26 = {{{addflags|}}}
+
|data26 = {{{deftarget|}}}
 +
 
 +
|label27 = Additional Flags
 +
|data27 = {{{addflags|}}}
 +
 
 +
|label28 = Version Added
 +
|data28 = {{{versionadded|}}}
 
}}<noinclude>
 
}}<noinclude>
  
Line 93: Line 99:
 
| name = long item name
 
| name = long item name
 
| author = writer/creator of the item
 
| 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 118: 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>
[[Category:Templates]]
 

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
}}