Difference between revisions of "Template:Infobox Item"

From Corruption of Champions II
Jump to navigation Jump to search
Line 1: Line 1:
{{Infobox Item
+
{{Infobox
| name = Name
+
|bodystyle = border-spacing: 2px 5px;
| image = missing.png
+
 
| caption = Caption
+
| above = {{{name|}}}
| itemtype = Item Type
+
 
| shortname = Short Name
+
|image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}}}
| slotname = Slot Name
+
|caption = {{{caption|}}}
| baseprice = Base Price
+
 
| info-hdr = Information
+
|label1 = Type
| damage = Damage
+
|data1 = {{{itemtype|}}}
| damagetype = Damage Type
+
 
| defense = Defense
+
|label2 = Short Name
| shielddefense = Shield Defense
+
|data2 = {{{shortname|}}}
| bonusshield = Bonus Shield
+
 
| accuracy = Accuracy
+
|label3 = Slot
| sexiness = Sexiness
+
|data3 = {{{slotname|}}}
| critbonus = Crit Bonus
+
 
| evasion = Evasion
+
|label4 = Base Price
| fortification = Fortification
+
|data4 = {{{baseprice|}}}
| bonusresistances = Bonus Resistances
+
 
| lustvuln = Lust Vulnerability
+
|header5 = {{ #if: {{{damage|}}}{{{damagetype|}}}{{{defense|}}}{{{shielddefense|}}}{{{bonusshield|}}}{{{accuracy|}}}{{{sexiness|}}}{{{critbonus|}}}{{{evasion|}}}{{{fortification|}}}{{{bonusresistances|}}}{{{lustvuln|}}}{{{usable|}}}{{{combatusable|}}}{{{deftarget|}}}{{{addflags|}}} | {{ #if: {{{info-hdr|}}}|{{{info-hdr}}}|Information }} }}
| usable = Yes or Omit
+
 
| combatusable = Combat Usable Yes or Omit
+
|label6 = Damage
| deftarget = Default Target
+
|data6 = {{{damage|}}}
| addflags =  
+
 
 +
|label7 = Damage Type
 +
|data7 = {{{damagetype|}}}
 +
 
 +
|label8 = Defense
 +
|data8 = {{{defense|}}}
 +
 
 +
|label9 = Shield Defense
 +
|data9 = {{{shielddefense|}}}
 +
 
 +
|label10 = Bonus Shields
 +
|data10 = {{{bonusshield|}}}
 +
 
 +
|label11 = Accuracy
 +
|data11 = {{{accuracy|}}}
 +
 
 +
|label12 = Sexiness
 +
|data12 = {{{sexiness|}}}
 +
 
 +
|label13 = Crit Bonus
 +
|data13 = {{{critbonus|}}}
 +
 
 +
|label14 = Evasion
 +
|data14 = {{{evasion|}}}
 +
 
 +
|label15 = Fortification
 +
|data15 = {{{fortification|}}}
 +
 
 +
|label16 = Bonus Resistances
 +
|data16 = {{{bonusresistances|}}}
 +
 
 +
|label17 = Lust Vulnerability
 +
|data17 = {{{lustvuln|}}}
 +
 
 +
|label18 = Usable
 +
|data18 = {{{usable|}}}
 +
 
 +
|label19 = Combat Usable
 +
|data19 = {{{combatusable|}}}
 +
 
 +
|label20 = Defensive Target
 +
|data20 = {{{deftarget|}}}
 +
 
 +
|label21 = Additional Flags
 +
|data21 = {{{addflags|}}}
 +
 
 +
|label22 = Hardlight-Compatible
 +
|data22 = {{{hardLightEquipped|}}}
 
}}
 
}}

Revision as of 21:55, 7 May 2018