Difference between revisions of "Template:Infobox item"

(Charges Remaining, (Standard) Contents, Music Tracks)
Line 630: Line 630:
 
{{#if: {{{lowerammocost|}}}|
 
{{#if: {{{lowerammocost|}}}|
 
! {{ColoredLink|Lower Ammo Cost|color=ffffff}}: {{{lowerammocost}}}%
 
! {{ColoredLink|Lower Ammo Cost|color=ffffff}}: {{{lowerammocost}}}%
 +
}}
 +
 +
<!----------Charges Remaining--------->
 +
|-
 +
{{#if: {{{chargesremaining|}}}|
 +
! {{ColoredLink|{{{chargesremaining}}}|color=ffffff}} {{ColoredLink|Charges Remaining|color=ffffff}}
 
}}
 
}}
  
Line 636: Line 642:
 
{{#if: {{{contents|}}}|
 
{{#if: {{{contents|}}}|
 
! {{ColoredLink|Contents|color=ffffff}}: 0/1 {{ColoredLink|Items|color=ffffff}}, 0/50 {{ColoredLink|Stones|color=ffffff}}
 
! {{ColoredLink|Contents|color=ffffff}}: 0/1 {{ColoredLink|Items|color=ffffff}}, 0/50 {{ColoredLink|Stones|color=ffffff}}
 +
}}
 +
 +
<!----------(Standard) Contents--------->
 +
|-
 +
{{#if: {{{standardcontents|}}}|
 +
! {{ColoredLink|Contents|color=ffffff}}: {{ColoredLink|{{{standardcontents}}}|color=ffffff}}/125 {{ColoredLink|Items|color=ffffff}}, 0/400 {{ColoredLink|Stones|color=ffffff}}
 
}}
 
}}
  
Line 678: Line 690:
 
{{#if: {{{petals|}}}|
 
{{#if: {{{petals|}}}|
 
! {{ColoredLink|Petal of the Rose of Trinsic|Petals|color=ffffff}}: {{{petals}}}
 
! {{ColoredLink|Petal of the Rose of Trinsic|Petals|color=ffffff}}: {{{petals}}}
 +
}}
 +
 +
<!----------Common Tracks--------->
 +
|-
 +
{{#if: {{{commontracks|}}}|
 +
! {{{commontracks}}} Common Tracks
 +
}}
 +
 +
<!----------Uncommon Tracks--------->
 +
|-
 +
{{#if: {{{uncommontracks|}}}|
 +
! {{{uncommontracks}}} Uncommon Tracks
 +
}}
 +
 +
<!----------Common Tracks--------->
 +
|-
 +
{{#if: {{{raretracks|}}}|
 +
! {{{raretracks}}} Rare Tracks
 
}}
 
}}
  
Line 848: Line 878:
 
  &#124; maxdurability=
 
  &#124; maxdurability=
 
  &#124; lowerammocost=
 
  &#124; lowerammocost=
 +
&#124; chargesremaining=
 
  &#124; contents=
 
  &#124; contents=
 +
&#124; standardcontents=
 
  &#124; velocity=
 
  &#124; velocity=
 
  &#124; range=
 
  &#124; range=
Line 858: Line 890:
 
  &#124; turnedoff=
 
  &#124; turnedoff=
 
  &#124; petals=
 
  &#124; petals=
 +
&#124; commontracks=
 +
&#124; uncommontracks=
 +
&#124; raretracks=
 
  }}
 
  }}
 
</noinclude>
 
</noinclude>

Revision as of 03:34, 4 September 2009


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=
| caption=
| usesremaining=
| blessed=
| weight=
| durabilityincrease=
| armorset=
| weaponarmorset=
| jewelryset=
| artifactrarity=
| elvesonly=
| gargsonly=
| 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=
| randomskill=
| 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, bovine
| randomitemproperty=
| randomitemproperty2=
| hitdispel=
| hitfireball=
| hitharm=
| hitlightning=
| hitmagicarrow=
| hitcoldarea=
| hitenergyarea=
| hitfirearea=
| hitphysicalarea=
| hitpoisonarea=
| hitmanaleech=
| hitlowerdefense=
| hitlowerattack=
| hitlifeleech=
| balanced=
| 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=
| 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=
| chargesremaining=
| contents=
| standardcontents=
| velocity=
| range=
| weightreduction=
| replenishcharges=
| increasedkarmaloss=
| spells=
| turnedon=
| turnedoff=
| petals=
| commontracks=
| uncommontracks=
| raretracks=
}}