Difference between revisions of "Template:Infobox Item"

From Corruption of Champions II
Jump to navigation Jump to search
m (added contributors)
 
(15 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
| above = {{{name|}}}
 
| above = {{{name|}}}
  
|label1 = Type
+
| subheaderstyle = font-size: 125%; font-weight: bold;
|data1 = {{{itemtype|}}}
+
| subheader = {{{shortname|}}}
  
|label2 = Short Name
+
|label1 = Author
|data2 = {{{shortname|}}}
+
|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|}}}{{{bonusresistances|}}}{{{lustvuln|}}}{{{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 = Bonus Resistances
+
|label17 = Focus
|data18 = {{{bonusresistances|}}}
+
|data17 = {{{focus|}}}
  
|label19 = Lust Vulnerability
+
|label18 = Sexiness
|data19 = {{{lustvuln|}}}
+
|data18 = {{{sexiness|}}}
  
|label20 = Usable
+
|label19 = Temptation
|data20 = {{{usable|}}}
+
|data19 = {{{temptation|}}}
  
|label21 = Combat Usable
+
|label20 = Special Stats
|data21 = {{{combatusable|}}}
+
|data20 = {{{specialstats|}}}
  
|label22 = Defensive Target
+
|label21 = Bonus Resistances
|data22 = {{{deftarget|}}}
+
|data21 = {{{bonusresistances|}}}
  
|label23 = Additional Flags
+
|label22 = Lust Vulnerability
|data23 = {{{addflags|}}}
+
|data22 = {{{lustvuln|}}}
 +
 
 +
|label23 = Stack Limit
 +
|data23 = {{{stacklimit|}}}
 +
 
 +
|label24 = Usable
 +
|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 80: 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 96: Line 116:
 
| focus = Focus
 
| focus = Focus
 
| sexiness = Sexiness
 
| sexiness = Sexiness
 +
| temptation = Lust Penetration
 +
| specialstats = Other Bonus stats such as initiative
 
| 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
 
| 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
}}