Difference between revisions of "Template:Infobox item"

(Reflect Physical Damage)
(Random Properties (for Dread Pirate Hat))
Line 172: Line 172:
 
|-
 
|-
 
{{#if: {{{wrestling|}}}|! +{{{wrestling}}} {{ColoredLink|Wrestling|color=ffffff}}}}
 
{{#if: {{{wrestling|}}}|! +{{{wrestling}}} {{ColoredLink|Wrestling|color=ffffff}}}}
 +
|-
 +
{{#if: {{{randomcombatskill|}}}|! +{{{randomcombatskill}}} Random Combat {{ColoredLink|Skill|color=ffffff}}}}
  
 
<!----------Requirement: Mondain's Legacy--------->
 
<!----------Requirement: Mondain's Legacy--------->
Line 316: Line 318:
 
|-
 
|-
 
{{#ifeq: {{{slayer2}}}|mage|! {{ColoredLink|Mage Slayer|color=ffffff}}|}}
 
{{#ifeq: {{{slayer2}}}|mage|! {{ColoredLink|Mage Slayer|color=ffffff}}|}}
 +
 +
<!----------Random Item Property 1--------->
 +
|-
 +
{{#if: {{{randomitemproperty|}}}|! Random {{ColoredLink|Item Property|color=ffffff}}
 +
 +
<!----------Random Item Property 2--------->
 +
|-
 +
{{#if: {{{randomitemproperty2|}}}|! Random {{ColoredLink|Item Property|color=ffffff}}
  
 
<!----------Hit Effects--------->
 
<!----------Hit Effects--------->
Line 677: Line 687:
 
  &#124; veterinay=
 
  &#124; veterinay=
 
  &#124; wrestling=
 
  &#124; wrestling=
 +
&#124; randomcombatskill=
 
  &#124; requiremondainslegacy=
 
  &#124; requiremondainslegacy=
 
  &#124; spellchanneling=
 
  &#124; spellchanneling=
Line 687: Line 698:
 
   snowelemental, waterelemental, demon, gargoyle, arachnid, scorpion,
 
   snowelemental, waterelemental, demon, gargoyle, arachnid, scorpion,
 
   spider, terathan, reptile, dragon, lizardman, ophidian, snake, fey, mage  
 
   spider, terathan, reptile, dragon, lizardman, ophidian, snake, fey, mage  
 +
&#124; randomitemproperty=
 +
&#124; randomitemproperty2=
 
  &#124; hitdispel=
 
  &#124; hitdispel=
 
  &#124; hitfireball=
 
  &#124; hitfireball=

Revision as of 03:12, 6 November 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.

If name, image, or weight are not defined, the article will be added to the corresponding category respectively:


Template Parameters:
{{Infobox item
| image=
| image2=
| name=
| usesremaining=
| blessed=
| weight=
| artifactrarity=
| elvesonly=
| ammo=
| damagemodifier=
| 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=
| randomcombatskill=
| requiremondainslegacy=
| spellchanneling=
| mageweapon=
| hitstaminaleech=
| slayer=
| slayer2=
  Valid: random, randomsuper, repond, ogre, orc, troll, undead, elemental, 
  airelemental,bloodelemental, earthelemental, fireelemental, poisonelemental,
  snowelemental, waterelemental, demon, gargoyle, arachnid, scorpion,
  spider, terathan, reptile, dragon, lizardman, ophidian, snake, fey, mage 
| randomitemproperty=
| randomitemproperty2=
| hitdispel=
| hitfireball=
| hitharm=
| hitlightning=
| hitmagicarrow=
| hitcoldarea=
| hitenergyarea=
| hitfirearea=
| hitphysicalarea=
| hitpoisonarea=
| hitmanaleech=
| hitlowerdefense=
| hitlowerattack=
| hitlifeleech=
| randomprotection=
| selfrepair=
| strengthbonus=
| dexteritybonus=
| intelligencebonus=
| hitpointincrease=
| staminaincrease=
| manaincrease=
| hitpointregeneration=
| staminaregeneration=
| manaregeneration=
| nightsight=
| luck=
| enhancepotions=
| reflectphysicaldamage=
| hitchanceincrease=
| defensechanceincrease=
| fastercasting=
| fastercastrecovery=
| damageincrease=
| spelldamageincrease=
| lowermanacost=
| lowerreagentcost=
| arcanecharges=
| physicalresist=
| fireresist=
| coldresist=
| poisonresist=
| energyresist=
| swingspeedincrease=
| usebestweaponskill=
| directdamage=
| physicaldamage=
| firedamage=
| colddamage=
| poisondamage=
| energydamage=
| chaosdamage=
| weapondamage=
| weaponspeed=
| lowerrequirements=
| strengthrequirement=
| onehandedweapon=
| twohandedweapon=
| skillrequired=
| magearmor=
| durability=
| mindurability=
| maxdurability=
| lowerammocost=
| contents=
| velocity=
| range=
| weightreduction=
| replenishcharges=
| spells=
}}