Difference between revisions of "Template:Infobox item"

m
m (Veteran Reward property added)
Line 31: Line 31:
 
{{#if: {{{questitem|}}}|  
 
{{#if: {{{questitem|}}}|  
 
{{!}} {{Colored Link|Quest Item|color=FFFFFF}}
 
{{!}} {{Colored Link|Quest Item|color=FFFFFF}}
 +
}}
 +
 +
<!----------Veteran Reward--------->
 +
|-
 +
{{#if: {{{vetreward|}}}
 +
| {{#ifexpr: {{{vetreward}}} >= 1
 +
  | {{#switch: {{{vetreward}}}
 +
    | 1 = {{!}} {{{vetreward}}}st {{Colored Link|Veteran Rewards|Year Veteran Reward|color=FFFFFF}}
 +
    | 2 = {{!}} {{{vetreward}}}nd {{Colored Link|Veteran Rewards|Year Veteran Reward|color=FFFFFF}}
 +
    | 3 = {{!}} {{{vetreward}}}rd {{Colored Link|Veteran Rewards|Year Veteran Reward|color=FFFFFF}}
 +
    | {{!}} {{{vetreward}}}th {{Colored Link|Veteran Rewards|Year Veteran Reward|color=FFFFFF}}
 +
    }}
 +
  }}
 
}}
 
}}
  
Line 977: Line 990:
 
  &#124; blessed=
 
  &#124; blessed=
 
  &#124; questitem=
 
  &#124; questitem=
 +
&#124; vetreward=
 
  &#124; weight=
 
  &#124; weight=
 
  &#124; recoveredfromashipwreck=
 
  &#124; recoveredfromashipwreck=

Revision as of 07:22, 16 February 2012

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 an image is not provided the article will be added to the following category:

Template Parameters:
{{Infobox item
| image=
| image2=
| name=
| caption=
| usesremaining=
| blessed=
| questitem=
| vetreward=
| weight=
| recoveredfromashipwreck=
| durabilityincrease=
| armorset=
| weaponarmorset=
| jewelryset=
| artifactrarity=
| spellconsumption=
| highseas=
| stygianabyss=
| elvesonly=
| gargsonly=
| ammo=
| damagemodifier=
| manaburst=
| frequency=
| burstlevel=
| 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=
| mysticism=
| musicianship=
| necromancy=
| ninjitsu=
| parrying=
| peacemaking=
| poisoning=
| provocation=
| removetrap=
| resistingspells=
| snooping=
| spellweaving=
| spiritspeak=
| stealing=
| swordsmanship=
| tactics=
| tailoring=
| tasteidentification=
| tinkering=
| throwing=
| tracking=
| veterinay=
| wrestling=
| randomskill=
| randomcombatskill=
| requiremondainslegacy=
| hitmanadrain=
| hitfatigue=
| damageeater=
| energyeater=
| poisoneater=
| coldeater=
| fireeater=
| kineticeater=
| randomresonance=
| fireresonance=
| coldresonance=
| poisonresonance=
| energyresonance=
| kineticresonance=
| soulcharge=
| 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, wolf, bovine, goblin
| randomitemproperty=
| randomitemproperty2=
| randomitemproperty3=
| blooddrinker=
| hitcurse=
| hitdispel=
| hitfireball=
| hitharm=
| hitlightning=
| hitmagicarrow=
| hitcoldarea=
| hitenergyarea=
| hitfirearea=
| hitphysicalarea=
| hitpoisonarea=
| hitmanaleech=
| hitlowerdefense=
| hitlowerattack=
| hitlifeleech=
| balanced=
| battlelust=
| charges=
| manaphase=
| spellfocusing=
| brittle=
| surgehpregeneration=
| surgemanaregeneration=
| surgestaminaregeneration=
| reactiveparalyze=
| castingfocus=
| splinteringweapon=
| randomprotection=
| increasedweapondamage=
| selfrepair=
| strengthbonus=
| dexteritybonus=
| intelligencebonus=
| hitpointincrease=
| staminaincrease=
| manaincrease=
| hitpointregeneration=
| staminaregeneration=
| manaregeneration=
| nightsight=
| luck=
| enhancepotions=
| reflectphysicaldamage=
| hitchanceincrease=
| defensechanceincrease=
| fastercasting=
| fastercastrecovery=
| damageincrease=
| spelldamageincrease=
| lowermanacost=
| lowerreagentcost=
| arcanecharges=
| randomresist=
| physicalresist=
| fireresist=
| coldresist=
| poisonresist=
| energyresist=
| swingspeedincrease=
| usebestweaponskill=
| lowerammocost=
| directdamage=
| physicaldamage=
| firedamage=
| colddamage=
| poisondamage=
| energydamage=
| chaosdamage=
| weapondamage=
| weaponspeed=
| lowerrequirements=
| strengthrequirement=
| onehandedweapon=
| twohandedweapon=
| skillrequired=
| magearmor=
| durability=
| mindurability=
| maxdurability=
| chargesremaining=
| contents=
| standardcontents=
| sotbookcontents=
| velocity=
| range=
| weightreduction=
| replenishcharges=
| autorecharge=
| increasedkarmaloss=
| spells=
| turnedon=
| turnedoff=
| petals=
| commontracks=
| uncommontracks=
| raretracks=
| lifespan=
}}