Difference between revisions of "Template:Infobox item"

(Trimmed all redundant spaces)
(Re-ordered a bit)
Line 8: Line 8:
 
{{#if: {{{weight|}}}|
 
{{#if: {{{weight|}}}|
 
! Weight: {{{weight}}} Stones
 
! Weight: {{{weight}}} Stones
}}
 
 
<!----------Spell Channeling--------->
 
|-
 
{{#if: {{{spellchanneling|}}}|
 
! Spell Channeling
 
}}
 
 
<!----------Mage Weapon--------->
 
|-
 
{{#if: {{{mageweapon|}}}|
 
! Mage Weapon -{{{mageweapon}}} Skill
 
}}
 
 
<!----------Hit Cold Area--------->
 
|-
 
{{#if: {{{hitdispel|}}}|
 
! Hit Dispel {{{hitdispel}}}%
 
}}
 
 
<!----------Hit Dispel--------->
 
|-
 
{{#if: {{{hitdispel|}}}|
 
! Hit Dispel {{{hitdispel}}}%
 
}}
 
 
<!----------Hit Energy Area--------->
 
|-
 
{{#if: {{{hitenergyarea|}}}|
 
! Hit Energy Area {{{hitenergyarea}}}%
 
}}
 
 
<!----------Hit Fire Area--------->
 
|-
 
{{#if: {{{hitfirearea|}}}|
 
! Hit Fire Area {{{hitfirearea}}}%
 
}}
 
 
<!----------Hit Fireball--------->
 
|-
 
{{#if: {{{hitfireball|}}}|
 
! Hit Fireball {{{hitfireball}}}%
 
}}
 
 
<!----------Hit Harm--------->
 
|-
 
{{#if: {{{hitharm|}}}|
 
! Hit Harm {{{hitharm}}}%
 
}}
 
 
<!----------Hit Life Leech--------->
 
|-
 
{{#if: {{{hitlifeleech|}}}|
 
! Hit Life Leech {{{hitlifeleech}}}%
 
}}
 
 
<!----------Hit Lightning--------->
 
|-
 
{{#if: {{{hitlightning|}}}|
 
! Hit Lightning {{{hitlightning}}}%
 
}}
 
 
<!----------Hit Lower Attack--------->
 
|-
 
{{#if: {{{hitlowerattack|}}}|
 
! Hit Lower Attack {{{hitlowerattack}}}%
 
}}
 
 
<!----------Hit Lower Defense--------->
 
|-
 
{{#if: {{{hitlowerdefense|}}}|
 
! Hit Lower Defense {{{hitlowerdefense}}}%
 
}}
 
 
<!----------Hit Magic Arrow--------->
 
|-
 
{{#if: {{{hitmagicarrow|}}}|
 
! Hit Magic Arrow {{{hitmagicarrow}}}%
 
}}
 
 
<!----------Hit Mana Leech--------->
 
|-
 
{{#if: {{{hitmanaleech|}}}|
 
! Hit Mana Leech {{{hitmanaleech}}}%
 
}}
 
 
<!----------Hit Physical Area--------->
 
|-
 
{{#if: {{{hitphysicalarea|}}}|
 
! Hit Physical Area {{{hitphysicalarea}}}%
 
}}
 
 
<!----------Hit Poison Area--------->
 
|-
 
{{#if: {{{hitpoisonarea|}}}|
 
! Hit Poison Area {{{hitpoisonarea}}}%
 
}}
 
 
<!----------Hit Stamina Leech--------->
 
|-
 
{{#if: {{{hitstaminaleech|}}}|
 
! Hit Stamina Leech {{{hitstaminaleech}}}%
 
 
}}
 
}}
  
Line 458: Line 356:
 
{{#if: {{{wrestling|}}}|
 
{{#if: {{{wrestling|}}}|
 
! +{{{wrestling}}} Wrestling
 
! +{{{wrestling}}} Wrestling
 +
}}
 +
 +
<!----------Mage Weapon--------->
 +
|-
 +
{{#if: {{{mageweapon|}}}|
 +
! Mage Weapon -{{{mageweapon}}} Skill
 +
}}
 +
 +
<!----------Hit Stamina Leech--------->
 +
|-
 +
{{#if: {{{hitstaminaleech|}}}|
 +
! Hit Stamina Leech {{{hitstaminaleech}}}%
 +
}}
 +
 +
<!----------Hit Mana Leech--------->
 +
|-
 +
{{#if: {{{hitmanaleech|}}}|
 +
! Hit Mana Leech {{{hitmanaleech}}}%
 +
}}
 +
 +
<!----------Hit Life Leech--------->
 +
|-
 +
{{#if: {{{hitlifeleech|}}}|
 +
! Hit Life Leech {{{hitlifeleech}}}%
 +
}}
 +
 +
<!----------Hit Cold Area--------->
 +
|-
 +
{{#if: {{{hitdispel|}}}|
 +
! Hit Dispel {{{hitdispel}}}%
 +
}}
 +
 +
<!----------Hit Dispel--------->
 +
|-
 +
{{#if: {{{hitdispel|}}}|
 +
! Hit Dispel {{{hitdispel}}}%
 +
}}
 +
 +
<!----------Hit Energy Area--------->
 +
|-
 +
{{#if: {{{hitenergyarea|}}}|
 +
! Hit Energy Area {{{hitenergyarea}}}%
 +
}}
 +
 +
<!----------Hit Fire Area--------->
 +
|-
 +
{{#if: {{{hitfirearea|}}}|
 +
! Hit Fire Area {{{hitfirearea}}}%
 +
}}
 +
 +
<!----------Hit Fireball--------->
 +
|-
 +
{{#if: {{{hitfireball|}}}|
 +
! Hit Fireball {{{hitfireball}}}%
 +
}}
 +
 +
<!----------Hit Harm--------->
 +
|-
 +
{{#if: {{{hitharm|}}}|
 +
! Hit Harm {{{hitharm}}}%
 +
}}
 +
 +
<!----------Hit Lightning--------->
 +
|-
 +
{{#if: {{{hitlightning|}}}|
 +
! Hit Lightning {{{hitlightning}}}%
 +
}}
 +
 +
<!----------Hit Lower Attack--------->
 +
|-
 +
{{#if: {{{hitlowerattack|}}}|
 +
! Hit Lower Attack {{{hitlowerattack}}}%
 +
}}
 +
 +
<!----------Hit Lower Defense--------->
 +
|-
 +
{{#if: {{{hitlowerdefense|}}}|
 +
! Hit Lower Defense {{{hitlowerdefense}}}%
 +
}}
 +
 +
<!----------Hit Magic Arrow--------->
 +
|-
 +
{{#if: {{{hitmagicarrow|}}}|
 +
! Hit Magic Arrow {{{hitmagicarrow}}}%
 +
}}
 +
 +
<!----------Spell Channeling--------->
 +
|-
 +
{{#if: {{{spellchanneling|}}}|
 +
! Spell Channeling
 +
}}
 +
 +
<!----------Hit Physical Area--------->
 +
|-
 +
{{#if: {{{hitphysicalarea|}}}|
 +
! Hit Physical Area {{{hitphysicalarea}}}%
 +
}}
 +
 +
<!----------Hit Poison Area--------->
 +
|-
 +
{{#if: {{{hitpoisonarea|}}}|
 +
! Hit Poison Area {{{hitpoisonarea}}}%
 
}}
 
}}
  

Revision as of 23:48, 14 September 2008


The Infobox item template is designed to be used on article pages of all kinds. While currently incomplete, more parameters are added often to ensure that this template will eventually be usable for any item.

With the exception of the name= parameter, all parameters in this template are optional. Any optional parameter which is not defined will not display in the template. Parameters may be defined in any order, but should automatically display in the same order as show in UO. When using this tempate, it is advised that undefined parameters are removed to keep articles from becoming excessively long and unreadable when being edited.


Template Parameters

{{Infobox item | image= | name= | weight= | spellchanneling= | mageweapon= | hitcoldarea= | hitdispel= | hitenergyarea= | hitfirearea= | hitfireball= | hitharm= | hitlifeleech= | hitlightning= | hitlowerattack= | hitlowerdefense= | hitmanaleech= | hitmagicarrow= | hitphysicalarea= | hitpoisonarea= | hitstaminaleech= | alchemy= | anatomy= | animallore= | animaltaming= | archery= | armslore= | begging= | blacksmithing= | bowcraftfletching= | bushido= | camping= | carpentry= | cartography= | chivalry= | cooking= | detectinghidden= | discordance= | evaluatingintelligence= | fencing= | fishing= | focus= | forensicevaluation= | glassblowing= | healing= | herding= | hiding= | imbuing= | inscription= | itemidentification= | lockpicking= | lumberjacking= | macefighting= | magery= | masonry= | meditation= | mining= | musicianship= | necromancy= | ninjitsu= | parrying= | peacemaking= | poisoning= | provocation= | removetrap= | resistingspells= | snooping= | spellweaving= | spiritspeak= | stealing= | swordsmanship= | tactics= | tailoring= | tasteidentification= | tinkering= | tracking= | veterinay= | wrestling= | randomprotection=yes | selfrepair= | strengthbonus= | dexteritybonus= | intelligencebonus= | hitpointincrease= | staminaincrease= | manaincrease= | hitpointregeneration= | staminaregeneration= | manaregeneration= | luck= | enhancepotions | hitchanceincrease= | defensechanceincrease= | fastercasting= | fastcastrecovery= | damageincrease= | spelldamageincrease= | lowermanacost= | lowerreagentcost= | arcanecharges= | physicalresist= | fireresist= | coldresist= | poisonresist= | energyresist= | usebestweaponskill= | directdamage= | physicaldamage= | firedamage= | colddamage= | poisondamage= | energydamage= | chaosdamage= | weapondamage= | weaponspeed= | strengthrequirement= | onehandedweapon= | twohandedweapon= | skillrequired= | durability= }}