Difference between revisions of "Template:Infobox item"

(Phew, all colored links added)
(+ Slayers)
Line 415: Line 415:
 
}}
 
}}
  
<!----------------------------------->
+
<!----------Slayers--------->
<!----------SLAYERS GO HERE---------->
+
|-
<!----------------------------------->
+
{{#ifeq: {{{slayer}}}|repond|! {{ColoredLink|Repond Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|ogre|! {{ColoredLink|Ogre Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|orc|! {{ColoredLink|Orc Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|troll|! {{ColoredLink|Troll Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|undead|! {{ColoredLink|Undead Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|elemental|! {{ColoredLink|Elemental Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|airelemental|! {{ColoredLink|Air Elemental Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|bloodelemental|! {{ColoredLink|Blood Elemental Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|earthelemental|! {{ColoredLink|Earth Elemental Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|fireelemental|! {{ColoredLink|Fire Elemental Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|poisonelemental|! {{ColoredLink|Poison Elemental Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|snowelemental|! {{ColoredLink|Snow Elemental Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|waterelemental|! {{ColoredLink|Water Elemental Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|demon|! {{ColoredLink|Demon Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|gargoyle|! {{ColoredLink|Gargoyle Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|arachnid|! {{ColoredLink|Arachnid Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|scorpion|! {{ColoredLink|Scorpion Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|spider|! {{ColoredLink|Spider Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|terathan|! {{ColoredLink|Terathan Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|reptile|! {{ColoredLink|Reptile Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|dragon|! {{ColoredLink|Dragon Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|lizardman|! {{ColoredLink|Lizardman Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|ophidian|! {{ColoredLink|Ophidian Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|snake|! {{ColoredLink|Snake Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|fey|! {{ColoredLink|Fey Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer}}}|mage|! {{ColoredLink|Mage Slayer|color=ffffff}}|}}
 +
 
 +
|-
 +
{{#ifeq: {{{slayer2}}}|repond|! {{ColoredLink|Repond Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|ogre|! {{ColoredLink|Ogre Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|orc|! {{ColoredLink|Orc Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|troll|! {{ColoredLink|Troll Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|undead|! {{ColoredLink|Undead Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|elemental|! {{ColoredLink|Elemental Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|airelemental|! {{ColoredLink|Air Elemental Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|bloodelemental|! {{ColoredLink|Blood Elemental Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|earthelemental|! {{ColoredLink|Earth Elemental Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|fireelemental|! {{ColoredLink|Fire Elemental Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|poisonelemental|! {{ColoredLink|Poison Elemental Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|snowelemental|! {{ColoredLink|Snow Elemental Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|waterelemental|! {{ColoredLink|Water Elemental Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|demon|! {{ColoredLink|Demon Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|gargoyle|! {{ColoredLink|Gargoyle Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|arachnid|! {{ColoredLink|Arachnid Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|scorpion|! {{ColoredLink|Scorpion Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|spider|! {{ColoredLink|Spider Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|terathan|! {{ColoredLink|Terathan Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|reptile|! {{ColoredLink|Reptile Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|dragon|! {{ColoredLink|Dragon Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|lizardman|! {{ColoredLink|Lizardman Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|ophidian|! {{ColoredLink|Ophidian Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|snake|! {{ColoredLink|Snake Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|fey|! {{ColoredLink|Fey Slayer|color=ffffff}}|}}
 +
{{#ifeq: {{{slayer2}}}|mage|! {{ColoredLink|Mage Slayer|color=ffffff}}|}}
  
 
<!----------Hit Dispel--------->
 
<!----------Hit Dispel--------->
Line 749: Line 802:
 
}}
 
}}
  
<!----------Strength Requirement--------->
+
<!----------Two-Handed Weapon--------->
 
|-
 
|-
 
{{#if: {{{twohandedweapon|}}}|
 
{{#if: {{{twohandedweapon|}}}|
Line 803: Line 856:
  
  
{| style="white-space: pre; font-family: monospace; background: #eeeeee; border: thin solid black;"
+
Template Parameters:
!Template Parameters
+
 
|-
+
{{Infobox item
|
+
&#124; image=
{{Infobox item
+
&#124; image2=
&#124; image=
+
&#124; name=
&#124; image2=
+
&#124; weight=
&#124; name=
+
&#124; artifactrarity=
&#124; weight=
+
&#124; elvesonly=
&#124; artifactrarity=
+
&#124; ammo=
&#124; elvesonly=
+
&#124; damagemodifier=
&#124; ammo=
+
&#124; alchemy=
&#124; damagemodifier=
+
&#124; anatomy=
&#124; alchemy=
+
&#124; animallore=
&#124; anatomy=
+
&#124; animaltaming=
&#124; animallore=
+
&#124; archery=
&#124; animaltaming=
+
&#124; armslore=
&#124; archery=
+
&#124; begging=
&#124; armslore=
+
&#124; blacksmithing=
&#124; begging=
+
&#124; bowcraftfletching=
&#124; blacksmithing=
+
&#124; bushido=
&#124; bowcraftfletching=
+
&#124; camping=
&#124; bushido=
+
&#124; carpentry=
&#124; camping=
+
&#124; cartography=
&#124; carpentry=
+
&#124; chivalry=
&#124; cartography=
+
&#124; cooking=
&#124; chivalry=
+
&#124; detectinghidden=
&#124; cooking=
+
&#124; discordance=
&#124; detectinghidden=
+
&#124; evaluatingintelligence=
&#124; discordance=
+
&#124; fencing=
&#124; evaluatingintelligence=
+
&#124; fishing=
&#124; fencing=
+
&#124; focus=
&#124; fishing=
+
&#124; forensicevaluation=
&#124; focus=
+
&#124; glassblowing=
&#124; forensicevaluation=
+
&#124; healing=
&#124; glassblowing=
+
&#124; herding=
&#124; healing=
+
&#124; hiding=
&#124; herding=
+
&#124; imbuing=
&#124; hiding=
+
&#124; inscription=
&#124; imbuing=
+
&#124; itemidentification=
&#124; inscription=
+
&#124; lockpicking=
&#124; itemidentification=
+
&#124; lumberjacking=
&#124; lockpicking=
+
&#124; macefighting=
&#124; lumberjacking=
+
&#124; magery=
&#124; macefighting=
+
&#124; masonry=
&#124; magery=
+
&#124; meditation=
&#124; masonry=
+
&#124; mining=
&#124; meditation=
+
&#124; musicianship=
&#124; mining=
+
&#124; necromancy=
&#124; musicianship=
+
&#124; ninjitsu=
&#124; necromancy=
+
&#124; parrying=
&#124; ninjitsu=
+
&#124; peacemaking=
&#124; parrying=
+
&#124; poisoning=
&#124; peacemaking=
+
&#124; provocation=
&#124; poisoning=
+
&#124; removetrap=
&#124; provocation=
+
&#124; resistingspells=
&#124; removetrap=
+
&#124; snooping=
&#124; resistingspells=
+
&#124; spellweaving=
&#124; snooping=
+
&#124; spiritspeak=
&#124; spellweaving=
+
&#124; stealing=
&#124; spiritspeak=
+
&#124; swordsmanship=
&#124; stealing=
+
&#124; tactics=
&#124; swordsmanship=
+
&#124; tailoring=
&#124; tactics=
+
&#124; tasteidentification=
&#124; tailoring=
+
&#124; tinkering=
&#124; tasteidentification=
+
&#124; tracking=
&#124; tinkering=
+
&#124; veterinay=
&#124; tracking=
+
&#124; wrestling=
&#124; veterinay=
+
&#124; requiremondainslegacy=
&#124; wrestling=
+
&#124; spellchanneling=
&#124; requiremondainslegacy=
+
&#124; mageweapon=
&#124; spellchanneling=
+
&#124; hitstaminaleech=
&#124; mageweapon=
+
&#124; slayer=
&#124; hitstaminaleech=
+
&#124; slayer2=
&#124; hitdispel=
+
  Valid: repond, ogre, orc, troll, undead, elemental, airelemental,
&#124; hitfireball=
+
  bloodelemental, earthelemental, fireelemental, poisonelemental,
&#124; hitharm=
+
  snowelemental, waterelemental, demon, gargoyle, arachnid, scorpion,
&#124; hitlightning=
+
  spider, terathan, reptile, dragon, lizardman, ophidian, snake, fey, mage
&#124; hitmagicarrow=
+
&#124; hitdispel=
&#124; hitcoldarea=
+
&#124; hitfireball=
&#124; hitenergyarea=
+
&#124; hitharm=
&#124; hitfirearea=
+
&#124; hitlightning=
&#124; hitphysicalarea=
+
&#124; hitmagicarrow=
&#124; hitpoisonarea=
+
&#124; hitcoldarea=
&#124; hitmanaleech=
+
&#124; hitenergyarea=
&#124; hitlowerdefense=
+
&#124; hitfirearea=
&#124; hitlowerattack=
+
&#124; hitphysicalarea=
&#124; hitlifeleech=
+
&#124; hitpoisonarea=
&#124; randomprotection=
+
&#124; hitmanaleech=
&#124; selfrepair=
+
&#124; hitlowerdefense=
&#124; strengthbonus=
+
&#124; hitlowerattack=
&#124; dexteritybonus=
+
&#124; hitlifeleech=
&#124; intelligencebonus=
+
&#124; randomprotection=
&#124; hitpointincrease=
+
&#124; selfrepair=
&#124; staminaincrease=
+
&#124; strengthbonus=
&#124; manaincrease=
+
&#124; dexteritybonus=
&#124; hitpointregeneration=
+
&#124; intelligencebonus=
&#124; staminaregeneration=
+
&#124; hitpointincrease=
&#124; manaregeneration=
+
&#124; staminaincrease=
&#124; nightsight=
+
&#124; manaincrease=
&#124; luck=
+
&#124; hitpointregeneration=
&#124; enhancepotions
+
&#124; staminaregeneration=
&#124; hitchanceincrease=
+
&#124; manaregeneration=
&#124; defensechanceincrease=
+
&#124; nightsight=
&#124; fastercasting=
+
&#124; luck=
&#124; fastcastrecovery=
+
&#124; enhancepotions
&#124; damageincrease=
+
&#124; hitchanceincrease=
&#124; spelldamageincrease=
+
&#124; defensechanceincrease=
&#124; lowermanacost=
+
&#124; fastercasting=
&#124; lowerreagentcost=
+
&#124; fastcastrecovery=
&#124; arcanecharges=
+
&#124; damageincrease=
&#124; physicalresist=
+
&#124; spelldamageincrease=
&#124; fireresist=
+
&#124; lowermanacost=
&#124; coldresist=
+
&#124; lowerreagentcost=
&#124; poisonresist=
+
&#124; arcanecharges=
&#124; energyresist=
+
&#124; physicalresist=
&#124; usebestweaponskill=
+
&#124; fireresist=
&#124; directdamage=
+
&#124; coldresist=
&#124; physicaldamage=
+
&#124; poisonresist=
&#124; firedamage=
+
&#124; energyresist=
&#124; colddamage=
+
&#124; usebestweaponskill=
&#124; poisondamage=
+
&#124; directdamage=
&#124; energydamage=
+
&#124; physicaldamage=
&#124; chaosdamage=
+
&#124; firedamage=
&#124; weapondamage=
+
&#124; colddamage=
&#124; weaponspeed=
+
&#124; poisondamage=
&#124; strengthrequirement=
+
&#124; energydamage=
&#124; onehandedweapon=
+
&#124; chaosdamage=
&#124; twohandedweapon=
+
&#124; weapondamage=
&#124; skillrequired=
+
&#124; weaponspeed=
&#124; durability=
+
&#124; strengthrequirement=
&#124; mindurability=
+
&#124; onehandedweapon=
&#124; maxdurability=
+
&#124; twohandedweapon=
&#124; lowerammocost=
+
&#124; skillrequired=
&#124; contents=
+
&#124; durability=
&#124; weightreduction=
+
&#124; mindurability=
}}
+
&#124; maxdurability=
|}</noinclude>
+
&#124; lowerammocost=
 +
&#124; contents=
 +
&#124; weightreduction=
 +
}}
 +
</noinclude>

Revision as of 18:55, 16 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.

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=
| 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=
| requiremondainslegacy=
| spellchanneling=
| mageweapon=
| hitstaminaleech=
| slayer=
| slayer2=
  Valid: 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 
| 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
| 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=
| mindurability=
| maxdurability=
| lowerammocost=
| contents=
| weightreduction=
}}