Difference between revisions of "Template:Infobox Item"
Jump to navigation
Jump to search
(removed a stray newline that shows up when a page begins with the template) |
(Reformatted to include Coc2 Item values such as armor, ward, etc. Also changed some positions. (Hopefully this won't break anything)) |
||
Line 16: | Line 16: | ||
|data4 = {{{baseprice|}}} | |data4 = {{{baseprice|}}} | ||
− | |header5 = {{ #if: {{{damage|}}}{{{damagetype|}}}{{{ | + | |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 }} }} |
|label6 = Damage | |label6 = Damage | ||
Line 24: | Line 24: | ||
|data7 = {{{damagetype|}}} | |data7 = {{{damagetype|}}} | ||
− | |label8 = | + | |label8 = Accuracy |
− | |data8 = {{{ | + | |data8 = {{{accuracy|}}} |
− | |label9 = | + | |label9 = Crit Bonus |
− | |data9 = {{{ | + | |data9 = {{{critbonus|}}} |
− | |label10 = | + | |label10 = Spellpower |
− | |data10 = {{{ | + | |data10 = {{{spellpower|}}} |
− | |label11 = | + | |label11 = Spell Penetration |
− | |data11 = {{{ | + | |data11 = {{{spellpenetration|}}} |
− | |label12 = | + | |label12 = Armor Penetration |
− | |data12 = {{{ | + | |data12 = {{{armorpenetration|}}} |
− | |label13 = | + | |label13 = Armor |
− | |data13 = {{{ | + | |data13 = {{{armor|}}} |
− | |label14 = | + | |label14 = Ward |
− | |data14 = {{{ | + | |data14 = {{{ward|}}} |
− | |label15 = | + | |label15 = Evasion |
− | |data15 = {{{ | + | |data15 = {{{evasion|}}} |
− | |label16 = | + | |label16 = Focus |
− | |data16 = {{{ | + | |data16 = {{{focus|}}} |
− | |label17 = | + | |label17 = Sexiness |
− | |data17 = {{{ | + | |data17 = {{{sexiness|}}} |
− | |label18 = | + | |label18 = Bonus Resistances |
− | |data18 = {{{ | + | |data18 = {{{bonusresistances|}}} |
− | |||
+ | |label19 = Lust Vulnerability | ||
+ | |data19 = {{{lustvuln|}}} | ||
+ | |||
+ | |label20 = Usable | ||
+ | |data20 = {{{usable|}}} | ||
+ | |||
+ | |label21 = Combat Usable | ||
+ | |data21 = {{{combatusable|}}} | ||
+ | |||
+ | |label22 = Defensive Target | ||
+ | |data22 = {{{deftarget|}}} | ||
+ | |||
+ | |label23 = Additional Flags | ||
+ | |data23 = {{{addflags|}}} | ||
+ | }} | ||
+ | |||
+ | |||
+ | <noinclude> | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
Line 65: | Line 82: | ||
| itemtype = Item Type | | itemtype = Item Type | ||
| shortname = Short Name | | shortname = Short Name | ||
− | | slotname = Slot | + | | slotname = Slot Name |
| baseprice = Base Price | | baseprice = Base Price | ||
| damage = Damage | | damage = Damage | ||
| damagetype = Damage Type | | damagetype = Damage Type | ||
+ | | accuracy = Accuracy | ||
+ | | critbonus = Crit Bonus | ||
+ | | spellpower = Spellpower | ||
+ | | spellpenetration = Spell Penetration | ||
+ | | armorpenetration = Armor Penetration | ||
| armor = Armor | | armor = Armor | ||
| ward = Ward | | ward = Ward | ||
− | |||
− | |||
− | |||
| evasion = Evasion | | evasion = Evasion | ||
| focus = Focus | | focus = Focus | ||
+ | | sexiness = Sexiness | ||
| bonusresistances = Bonus Resistances | | bonusresistances = Bonus Resistances | ||
| lustvuln = Lust Vulnerability | | lustvuln = Lust Vulnerability |
Revision as of 08:40, 22 May 2019
Usage
{{Infobox Item | name = Item Name | itemtype = Item Type | shortname = Short Name | slotname = Slot Name | 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 | combatusable = Yes or omit | deftarget = Defensive Target | addflags = Additional Flags }}