Difference between revisions of "Template:Infobox Item"
Jump to navigation
Jump to search
(Reformatted to include Coc2 Item values such as armor, ward, etc. Also changed some positions. (Hopefully this won't break anything)) |
|||
Line 71: | Line 71: | ||
|label23 = Additional Flags | |label23 = Additional Flags | ||
|data23 = {{{addflags|}}} | |data23 = {{{addflags|}}} | ||
− | }} | + | }}<noinclude> |
+ | ==Usage== | ||
+ | Parameters with empty values usually can be removed without any bad effect. | ||
− | + | All possible parameters: | |
− | + | <pre><nowiki> | |
− | <pre> | ||
− | <nowiki> | ||
{{Infobox Item | {{Infobox Item | ||
− | | name = | + | | name = long item name |
− | | itemtype = | + | | itemtype = type of the item according to the vague system used on the wiki |
− | | shortname = | + | | shortname = short name, as used in inventory buttons, e.g. "Sp.Blade" for "Spiralled Blade"; omit if it's the same |
− | | slotname = | + | | slotname = name of the equipment slot, if the item can be equipped |
| baseprice = Base Price | | baseprice = Base Price | ||
| damage = Damage | | damage = Damage | ||
Line 98: | Line 98: | ||
| bonusresistances = Bonus Resistances | | bonusresistances = Bonus Resistances | ||
| lustvuln = Lust Vulnerability | | lustvuln = Lust Vulnerability | ||
− | | usable = Yes or omit | + | | usable = Yes or omit if the item can't be used outside of combat (usable = has the "use" button) |
− | | combatusable = Yes or omit | + | | combatusable = Yes or omit if the item can't be used in combat |
− | | deftarget = Defensive Target | + | | deftarget = Defensive Target (???) |
− | | addflags = | + | | addflags = item flags, such as METAL, HEAVY, etc. |
}} | }} | ||
− | </nowiki> | + | </nowiki></pre> |
− | </pre> | + | |
<noinclude> | <noinclude> |
Revision as of 09:08, 22 May 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 | bonusresistances = Bonus Resistances | lustvuln = Lust Vulnerability | 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. }}