Difference between revisions of "Template:Itembox"

m (Added hit effects. Fixed skills. Added random properties.)
m (Updating Template section. Compacting code.)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
<span style="font-size:20px; font-style:italic; font-weight:bold; text-align:center;">This entire page and template is currently in the process of being refactored. (11/25/09)</span>
+
<span style="font-size:20px; font-style:italic; font-weight:bold; text-align:center;">This entire page and template is currently in the process of being refactored. (11/26/09)</span>
 
{{Template Overview
 
{{Template Overview
 
|usedon=item
 
|usedon=item
Line 7: Line 7:
 
: <span style="text-decoration:underline;">Note:</span> If the [[Classic Client]] is ever dropped in favor of the [[Enhanced Client]], the look and feel of this template will be changed accordingly.
 
: <span style="text-decoration:underline;">Note:</span> If the [[Classic Client]] is ever dropped in favor of the [[Enhanced Client]], the look and feel of this template will be changed accordingly.
  
All of the properties that are displayed in the tooltip portion of the template are displayed as centered and using white text except for the name of the item, which is displayed in yellow text. Specific item property names also serve as links to their corresponding pages.
+
All of the properties that are displayed in the tooltip portion of the template are displayed as centered and using white text except for the name of the item, which is displayed in yellow text. Most item property names also serve as links to their corresponding pages. The order in which the item properties are displayed is designed to be as close as possible to the order seen in UO. The order in which the template's parameters are used does not affect this order.
  
 
==Notes on Usage==
 
==Notes on Usage==
Since it is highly unlikely, if not impossible, that an item will ever be encountered that uses absolutely every item property that is available in this template, [[Template:Item Infobox]] has been designed with conditional parameters. This means that when using this template on an item's page it is intended that only the parameters which correspond to that specific item's properties should be included. Unlike many other templates that show in their entirety no matter what, if one of the parameters from this template is not included or left blank, its associated property will simply not display at all. It is recommended that blank parameters be left out entirely when using this template, in order not to waste space.
+
Since it is highly unlikely, if not impossible, that an item will ever be encountered that uses absolutely every item property that is available in this template, [[Template:Item Infobox]] has been designed with conditional parameters. This means that when using this template on an item's page it is intended that only the parameters which correspond to that specific item's properties should be included. Unlike many other templates that show in their entirety no matter what, if one of the parameters from this template is not included or left blank, its associated property will simply not display at all. It is recommended that blank parameters be left out entirely when using this template, as their inclusion will lead to pages being unnecessarily and excessively long and unreadable for editors.
 
|template=<nowiki>{{Item Infobox
 
|template=<nowiki>{{Item Infobox
 
|image=
 
|image=
Line 18: Line 18:
 
|blessed=
 
|blessed=
 
|weight=
 
|weight=
 +
|armorset=
 +
|weaponarmorset=
 +
|jewelryset=
 +
|durabilityincrease=
 +
|artifactrarity=
 
|elvesonly=
 
|elvesonly=
 +
|gargoylesonly=
 
|ammo=
 
|ammo=
 
|damagemodifier=
 
|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=
 +
|stealth=
 +
|swordsmanship=
 +
|tactics=
 +
|tailoring=
 +
|tasteidentification=
 +
|tinkering=
 +
|tracking=
 +
|veterinary=
 +
|wrestling=
 +
|randomskill=
 +
|randomcombatskill=
 
|requirementmondainslegacy=
 
|requirementmondainslegacy=
|armorset=
 
|jewelryset=
 
|weaponarmorset=
 
|durabilityincrease=
 
|spellchanneling=
 
 
|velocity=
 
|velocity=
 +
|spellchanneling=
 +
|mageweapon=
 +
|hitlifeleech=
 
|hitstaminaleech=
 
|hitstaminaleech=
 +
|hitmanaleech=
 +
|slayer1=
 +
|slayer2=
 +
|slayer3=
 +
|randomitemproperty1=
 +
|randomitemproperty2=
 +
|hitdispel=
 +
|hitfireball=
 +
|hitharm=
 +
|hitlightning=
 +
|hitmagicarrow=
 +
|hitenergyarea=
 +
|hitfirearea=
 +
|hitphysicalarea=
 +
|hitpoisonarea=
 +
|hitlowerdefense=
 +
|hitlowerattack=
 +
|balanced=
 +
|randomprotection=
 +
|increasedweapondamage=
 +
|selfrepair=
 +
|strengthbonus=
 +
|dexteritybonus=
 +
|intelligencebonus=
 +
|hitpointincrease=
 +
|staminaincrease=
 +
|manaincrease=
 +
|hitpointregeneration=
 +
|staminaregeneration=
 +
|manaregeneration=
 +
|nightsight=
 +
|luck=
 +
|enhancepotions=
 +
|reflectphysicaldamage=
 +
|hitchanceincrease=
 +
|defensechanceincrease=
 +
|fastercasting=
 +
|fastercastrecovery=
 
|swingspeedincrease=
 
|swingspeedincrease=
 
|damageincrease=
 
|damageincrease=
 +
|spelldamageincrease=
 +
|lowermanacost=
 +
|lowerreagantcost=
 +
|arcanecharges=
 
|physicalresist=
 
|physicalresist=
 
|fireresist=
 
|fireresist=
Line 36: Line 142:
 
|poisonresist=
 
|poisonresist=
 
|energyresist=
 
|energyresist=
 +
|magearmor=
 +
|usebestweaponskill=
 
|physicaldamage=
 
|physicaldamage=
 
|firedamage=
 
|firedamage=
Line 45: Line 153:
 
|weaponspeed=
 
|weaponspeed=
 
|range=
 
|range=
 +
|lowerrequirements=
 
|strengthrequirement=
 
|strengthrequirement=
 
|handedweapon=
 
|handedweapon=
 
|skillrequired=
 
|skillrequired=
 
|durability=
 
|durability=
 +
|mindurability=
 +
|maxdurability=
 +
|lowerammocost=
 +
|chargesremaining=
 +
|contentsitems=
 +
|contentsstones=
 +
|contents2items=
 +
|contents2stones=
 +
|weightreduction=
 +
|replenishcharges=
 +
|increasedkarmaloss=
 +
|spells=
 +
|turnedonoff=
 +
|petals=
 +
|commontracks=
 +
|uncommontracks=
 +
|raretracks=
 
}}</nowiki>
 
}}</nowiki>
 
}}
 
}}
Line 58: Line 184:
 
|generates=the item's image in the containing area of the backpack
 
|generates=the item's image in the containing area of the backpack
 
|defaultvalue=Image_Needed.png
 
|defaultvalue=Image_Needed.png
|othernotes=Although this parameter is marked as "Optional," if this parameter is not supplied a value an image will be displayed that says "IMAGE NEEDED" and the page will be flagged and put into a category of item pages lacking images so that it may be given a valid image in the future.
+
|othernotes=Although this parameter is marked as "Optional," if this parameter is not supplied a value an image will be displayed that says "IMAGE NEEDED" and the page will be put into [[:Category:Item infoboxes without image defined]] so that it may be given a valid image as soon as possible.
 
|validvalues=Any string that is the name of a valid image on UOGuide.
 
|validvalues=Any string that is the name of a valid image on UOGuide.
 
}}
 
}}
Line 231: Line 357:
 
<!-- Uses Remaining -->
 
<!-- Uses Remaining -->
 
|-
 
|-
{{#if: {{{usesremaining|}}}
+
{{#if: {{{usesremaining|}}} | {{#ifexpr: {{{usesremaining}}} >= 1 | {{!}} {{ColoredLink|Uses Remaining|color=FFFFFF}}: {{{usesremaining}}} }} }}
| {{#ifexpr: {{{usesremaining}}} >= 1
+
  | {{!}} {{ColoredLink|Uses Remaining|color=FFFFFF}}: {{{usesremaining}}}
+
  }}
+
}}
+
  
 
<!-- Blessed/Cursed -->
 
<!-- Blessed/Cursed -->
Line 241: Line 363:
 
{{#if: {{{blessed|}}}
 
{{#if: {{{blessed|}}}
 
| {{#switch: {{{blessed|}}}
 
| {{#switch: {{{blessed|}}}
   | cursed
+
   | cursed | CURSED | Cursed = {{!}} {{ColoredLink|Cursed|color=FFFFFF}}
  | CURSED
+
  | Cursed = {{!}} {{ColoredLink|Cursed|color=FFFFFF}}
+
 
   | {{!}} {{ColoredLink|Blessed|color=FFFFFF}}
 
   | {{!}} {{ColoredLink|Blessed|color=FFFFFF}}
 
   }}
 
   }}
Line 261: Line 381:
 
<!-- Armor Set -->
 
<!-- Armor Set -->
 
|-
 
|-
{{#if: {{{armorset|}}}
+
{{#if: {{{armorset|}}} | {{#ifexpr: {{{armorset}}} >= 2 | {{!}} {{ColoredLink|Item Sets|Part Of An Armor Set|color=FFFFFF}} ({{{armorset}}} Pieces) }} }}
| {{#ifexpr: {{{armorset}}} >= 2
+
  | {{!}} {{ColoredLink|Item Sets|Part Of An Armor Set|color=FFFFFF}} ({{{armorset}}} Pieces)
+
  }}
+
}}
+
  
 
<!-- Weapon/Armor Set -->
 
<!-- Weapon/Armor Set -->
 
|-
 
|-
{{#if: {{{weaponarmorset|}}}
+
{{#if: {{{weaponarmorset|}}} | {{#ifexpr: {{{weaponarmorset}}} >= 2 | {{!}} {{ColoredLink|Item Sets|Part Of A Weapon/Armor Set|color=FFFFFF}} ({{{weaponarmorset}}} Pieces) }} }}
| {{#ifexpr: {{{weaponarmorset}}} >= 2
+
  | {{!}} {{ColoredLink|Item Sets|Part Of A Weapon/Armor Set|color=FFFFFF}} ({{{weaponarmorset}}} Pieces)
+
  }}
+
}}
+
  
 
<!-- Jewelry Set -->
 
<!-- Jewelry Set -->
 
|-
 
|-
{{#if: {{{jewelryset|}}}
+
{{#if: {{{jewelryset|}}} | {{#ifexpr: {{{jewelryset}}} >= 2 | {{!}} {{ColoredLink|Item Sets|Part Of A Jewelry Set|color=FFFFFF}} ({{{jewelryset}}} Pieces) }} }}
| {{#ifexpr: {{{jewelryset}}} >= 2
+
  | {{!}} {{ColoredLink|Item Sets|Part Of A Jewelry Set|color=FFFFFF}} ({{{jewelryset}}} Pieces)
+
  }}
+
}}
+
  
 
<!-- Durability Increase -->
 
<!-- Durability Increase -->
 
|-
 
|-
{{#if: {{{durabilityincrease|}}}
+
{{#if: {{{durabilityincrease|}}} | {{#ifexpr: {{{durabilityincrease}}} >= 1 | {{!}} {{ColoredLink|Durability|color=FFFFFF}} {{{durabilityincrease}}}% }} }}
| {{#ifexpr: {{{durabilityincrease}}} >= 1
+
  | {{!}} {{ColoredLink|Durability|color=FFFFFF}} {{{durabilityincrease}}}%
+
  }}
+
}}
+
  
 
<!-- Artifact Rarity -->
 
<!-- Artifact Rarity -->
 
|-
 
|-
{{#if: {{{artifactrarity|}}}
+
{{#if: {{{artifactrarity|}}} | {{#ifexpr: {{{artifactrarity}}} >= 1 | {{!}} {{ColoredLink|Artifact Rarity|color=FFFFFF}} {{{artifactrarity}}} }} }}
| {{#ifexpr: {{{artifactrarity}}} >= 1
+
  | {{!}} {{ColoredLink|Artifact Rarity|color=FFFFFF}} {{{artifactrarity}}}
+
  }}
+
}}
+
  
 
<!-- Elves Only -->
 
<!-- Elves Only -->
 
|-
 
|-
{{#if: {{{elvesonly|}}}
+
{{#if: {{{elvesonly|}}} | {{!}} {{ColoredLink|Elves Only|color=FFFFFF}} }}
| {{!}} {{ColoredLink|Elves Only|color=FFFFFF}}
+
}}
+
  
 
<!-- Gargoyles Only -->
 
<!-- Gargoyles Only -->
 
|-
 
|-
{{#if: {{{gargoylesonly|}}}
+
{{#if: {{{gargoylesonly|}}} | {{!}} {{ColoredLink|Gargoyles Only|color=FFFFFF}} }}
| {{!}} {{ColoredLink|Gargoyles Only|color=FFFFFF}}
+
}}
+
  
 
<!-- Ammo -->
 
<!-- Ammo -->
Line 315: Line 411:
 
{{#if: {{{ammo|}}}
 
{{#if: {{{ammo|}}}
 
   {{#switch: {{{ammo}}}
 
   {{#switch: {{{ammo}}}
   | arrows
+
   | arrows | ARROWS | Arrows = {{!}} {{ColoredLink|Ammo|color=FFFFFF}}: 0/500 {{ColoredLink|Arrows|color=FFFFFF}}
  | ARROWS
+
   | bolts | BOLTS | Bolts = {{!}} {{ColoredLink|Ammo|color=FFFFFF}}: 0/500 {{ColoredLink|Bolts|color=FFFFFF}}
  | Arrows = {{!}} {{ColoredLink|Ammo|color=FFFFFF}}: 0/500 {{ColoredLink|Arrows|color=FFFFFF}}
+
   | bolts
+
  | BOLTS
+
  | Bolts = {{!}} {{ColoredLink|Ammo|color=FFFFFF}}: 0/500 {{ColoredLink|Bolts|color=FFFFFF}}
+
 
   }}
 
   }}
 
}}
 
}}
Line 326: Line 418:
 
<!-- Damage Modifier -->
 
<!-- Damage Modifier -->
 
|-
 
|-
{{#if: {{{damagemodifier|}}}
+
{{#if: {{{damagemodifier|}}} | {{#ifexpr: {{{damagemodifier}}} >= 1 | {{!}} {{ColoredLink|Damage Modifier|color=FFFFFF}}: {{{damagemodifier}}}% }} }}
| {{#ifexpr: {{{damagemodifier}}} >= 1
+
  | {{!}} {{ColoredLink|Damage Modifier|color=FFFFFF}}: {{{damagemodifier}}}%
+
  }}
+
}}
+
  
 
<!-- Skills -->
 
<!-- Skills -->
Line 456: Line 544:
 
<!-- Requirement: Mondain's Legacy -->
 
<!-- Requirement: Mondain's Legacy -->
 
|-
 
|-
{{#if: {{{requirementmondainslegacy|}}}
+
{{#if: {{{requirementmondainslegacy|}}} | {{!}} Requirement: {{ColoredLink|Ultima Online: Mondain's Legacy|Mondain's Legacy|color=FFFFFF}} }}
| {{!}} Requirement: {{ColoredLink|Ultima Online: Mondain's Legacy|Mondain's Legacy|color=FFFFFF}}
+
}}
+
  
 
<!-- Velocity -->
 
<!-- Velocity -->
 
|-
 
|-
{{#if: {{{velocity|}}}
+
{{#if: {{{velocity|}}} | {{#ifexpr: {{{velocity}}} >= 1 | {{!}} {{ColoredLink|Velocity|color=FFFFFF}} {{{velocity}}}% }} }}
| {{#ifexpr: {{{velocity}}} >= 1
+
  | {{!}} {{ColoredLink|Velocity|color=FFFFFF}} {{{velocity}}}%
+
  }}
+
}}
+
  
 
<!-- Spell Channeling -->
 
<!-- Spell Channeling -->
 
|-
 
|-
{{#if: {{{spellchanneling|}}}
+
{{#if: {{{spellchanneling|}}} | {{!}} {{ColoredLink|Spell Channeling|color=FFFFFF}} }}
| {{!}} {{ColoredLink|Spell Channeling|color=FFFFFF}}
+
}}
+
  
 
<!-- Mage Weapon -->
 
<!-- Mage Weapon -->
 
|-
 
|-
{{#if: {{{mageweapon|}}}
+
{{#if: {{{mageweapon|}}} | {{#ifexpr: {{{mageweapon}}} >= 1 | {{!}} {{ColoredLink|Mage Weapon|color=FFFFFF}} -{{{mageweapon}}} {{ColoredLink|Skill|color=FFFFFF}} }} }}
  {{#ifexpr: {{{mageweapon}}} >= 1
+
 
  | {{!}} {{ColoredLink|Mage Weapon|color=FFFFFF}} -{{{mageweapon}}} {{ColoredLink|Skill|color=FFFFFF}}
+
<!-- Hit Life Leech -->
  }}
+
|-
}}
+
{{#if: {{{hitlifeleech|}}} | {{#ifexpr: {{hitlifeleech}} >= 1 | {{!}} {{ColoredLink|Hit Life Leech|color=FFFFFF}} {{{hitlifeleech}}}% }} }}
  
 
<!-- Hit Stamina Leech -->
 
<!-- Hit Stamina Leech -->
 
|-
 
|-
{{#if: {{{hitstaminaleech|}}}
+
{{#if: {{{hitstaminaleech|}}} | {{#ifexpr: {{{hitstaminaleech}}} >= 1 | {{!}} {{ColoredLink|Hit Stamina Leech|color=FFFFFF}} {{{hitstaminaleech}}}% }} }}
| {{#ifexpr: {{{hitstaminaleech}}} >= 1
+
 
  | {{!}} {{ColoredLink|Hit Stamina Leech|color=FFFFFF}} {{{hitstaminaleech}}}%
+
<!-- Hit Mana Leech -->
  }}
+
|-
}}
+
{{#if: {{{hitmanaleech|}}} | {{#ifexpr: {{hitmanaleech}} >= 1 | {{!}} {{ColoredLink|Hit Mana Leech|color=FFFFFF}} {{{hitmanaleech}}}% }} }}
  
 
<!-- Slayers -->
 
<!-- Slayers -->
Line 513: Line 593:
 
<!-- Random Item Property 1 -->
 
<!-- Random Item Property 1 -->
 
|-
 
|-
{{#if: {{{randomitemproperty|}}}|! Random {{ColoredLink|Item Property|color=ffffff}}}}
+
{{#if: {{{randomitemproperty1|}}}|! Random {{ColoredLink|Item Property|color=ffffff}}}}
  
 
<!-- Random Item Property 2 -->
 
<!-- Random Item Property 2 -->
Line 538: Line 618:
 
|-
 
|-
 
{{#if: {{{hitpoisonarea|}}} | {{#ifexpr: {{hitpoisonarea}} >= 1 | {{!}} {{ColoredLink|Hit Poison Area|color=FFFFFF}} {{{hitpoisonarea}}}% }} }}
 
{{#if: {{{hitpoisonarea|}}} | {{#ifexpr: {{hitpoisonarea}} >= 1 | {{!}} {{ColoredLink|Hit Poison Area|color=FFFFFF}} {{{hitpoisonarea}}}% }} }}
|-
 
{{#if: {{{hitmanaleech|}}} | {{#ifexpr: {{hitmanaleech}} >= 1 | {{!}} {{ColoredLink|Hit Mana Leech|color=FFFFFF}} {{{hitmanaleech}}}% }} }}
 
 
|-
 
|-
 
{{#if: {{{hitlowerdefense|}}} | {{#ifexpr: {{hitlowerdefense}} >= 1 | {{!}} {{ColoredLink|Hit Lower Defense|color=FFFFFF}} {{{hitlowerdefense}}}% }} }}
 
{{#if: {{{hitlowerdefense|}}} | {{#ifexpr: {{hitlowerdefense}} >= 1 | {{!}} {{ColoredLink|Hit Lower Defense|color=FFFFFF}} {{{hitlowerdefense}}}% }} }}
 
|-
 
|-
 
{{#if: {{{hitlowerattack|}}} | {{#ifexpr: {{hitlowerattack}} >= 1 | {{!}} {{ColoredLink|Hit Lower Attack|color=FFFFFF}} {{{hitlowerattack}}}% }} }}
 
{{#if: {{{hitlowerattack|}}} | {{#ifexpr: {{hitlowerattack}} >= 1 | {{!}} {{ColoredLink|Hit Lower Attack|color=FFFFFF}} {{{hitlowerattack}}}% }} }}
|-
 
{{#if: {{{hitlifeleech|}}} | {{#ifexpr: {{hitlifeleech}} >= 1 | {{!}} {{ColoredLink|Hit Life Leech|color=FFFFFF}} {{{hitlifeleech}}}% }} }}
 
  
 
<!-- Balanced -->
 
<!-- Balanced -->
 
|-
 
|-
{{#if: {{{balanced|}}}
+
{{#if: {{{balanced|}}} | {{!}} {{ColoredLink|Balanced|color=FFFFFF}} }}
| {{!}} {{ColoredLink|Balanced|color=FFFFFF}}
+
}}
+
  
 
<!-- Random Protection -->
 
<!-- Random Protection -->
 
|-
 
|-
{{#if: {{{randomprotection|}}}
+
{{#if: {{{randomprotection|}}} | {{!}} Random {{ColoredLink|Protection|color=FFFFFF}} }}
| {{!}} Random {{ColoredLink|Protection|color=FFFFFF}}
+
}}
+
  
 
<!-- Increased Weapon Damage -->
 
<!-- Increased Weapon Damage -->
 
|-
 
|-
{{#if: {{{increasedweapondamage|}}}
+
{{#if: {{{increasedweapondamage|}}} | {{#ifexpr: {{{increasedweapondamage}}} >= 1 | {{!}} {{ColoredLink|Increased Weapon Damage|color=FFFFFF}}: {{{increasedweapondamage}}}% }} }}
| {{#ifexpr: {{{increasedweapondamage}}} >= 1
+
  | {{!}} {{ColoredLink|Increased Weapon Damage|color=FFFFFF}}: {{{increasedweapondamage}}}%
+
  }}
+
}}
+
  
 
<!-- Self Repair -->
 
<!-- Self Repair -->
 
|-
 
|-
{{#if: {{{selfrepair|}}}
+
{{#if: {{{selfrepair|}}} | {{#ifexpr: {{{selfrepair}}} >= 1 | {{!}} {{ColoredLink|Self Repair|color=FFFFFF}} {{{selfrepair}}} }} }}
| {{#ifexpr: {{{selfrepair}}} >= 1
+
  | {{!}} {{ColoredLink|Self Repair|color=FFFFFF}} {{{selfrepair}}}
+
  }}
+
}}
+
  
 
<!-- Strength Bonus -->
 
<!-- Strength Bonus -->
 
|-
 
|-
{{#if: {{{strengthbonus|}}}
+
{{#if: {{{strengthbonus|}}} | {{#ifexpr: {{{strengthbonus}}} >= 1 | {{!}} {{ColoredLink|Strength Bonus|color=FFFFFF}} {{{strengthbonus}}} }} }}
| {{#ifexpr: {{{strengthbonus}}} >= 1
+
  | {{!}} {{ColoredLink|Strength Bonus|color=FFFFFF}} {{{strengthbonus}}}
+
  }}
+
}}
+
  
 
<!-- Dexterity Bonus -->
 
<!-- Dexterity Bonus -->
 
|-
 
|-
{{#if: {{{dexteritybonus|}}}
+
{{#if: {{{dexteritybonus|}}} | {{#ifexpr: {{{dexteritybonus}}} >= 1 | {{!}} {{ColoredLink|Dexterity Bonus|color=FFFFFF}} {{{dexteritybonus}}} }} }}
| {{#ifexpr: {{{dexteritybonus}}} >= 1
+
  | {{!}} {{ColoredLink|Dexterity Bonus|color=FFFFFF}} {{{dexteritybonus}}}
+
  }}
+
}}
+
  
 
<!-- Intelligence Bonus -->
 
<!-- Intelligence Bonus -->
 
|-
 
|-
{{#if: {{{intelligencebonus|}}}
+
{{#if: {{{intelligencebonus|}}} | {{#ifexpr: {{{intelligencebonus}}} >= 1 | {{!}} {{ColoredLink|Intelligence Bonus|color=FFFFFF}} {{{intelligencebonus}}} }} }}
| {{#ifexpr: {{{intelligencebonus}}} >= 1
+
  | {{!}} {{ColoredLink|Intelligence Bonus|color=FFFFFF}} {{{intelligencebonus}}}
+
  }}
+
}}
+
  
 
<!-- Hit Point Increase -->
 
<!-- Hit Point Increase -->
 
|-
 
|-
{{#if: {{{hitpointincrease|}}}
+
{{#if: {{{hitpointincrease|}}} | {{#ifexpr: {{{hitpointincrease}}} >= 1 | {{!}} {{ColoredLink|Hit Point Increase|color=FFFFFF}} {{{hitpointincrease}}} }} }}
| {{#ifexpr: {{{hitpointincrease}}} >= 1
+
  | {{!}} {{ColoredLink|Hit Point Increase|color=FFFFFF}} {{{hitpointincrease}}}
+
  }}
+
}}
+
  
 
<!-- Stamina Increase -->
 
<!-- Stamina Increase -->
 
|-
 
|-
{{#if: {{{staminaincrease|}}}
+
{{#if: {{{staminaincrease|}}} | {{#ifexpr: {{{staminaincrease}}} >= 1 | {{!}} {{ColoredLink|Stamina Increase|color=FFFFFF}} {{{staminaincrease}}} }} }}
| {{#ifexpr: {{{staminaincrease}}} >= 1
+
  | {{!}} {{ColoredLink|Stamina Increase|color=FFFFFF}} {{{staminaincrease}}}
+
  }}
+
}}
+
  
 
<!-- Mana Increase -->
 
<!-- Mana Increase -->
 
|-
 
|-
{{#if: {{{manaincrease|}}}
+
{{#if: {{{manaincrease|}}} | {{#ifexpr: {{{manaincrease}}} >= 1 | {{!}} {{ColoredLink|Mana Increase|color=FFFFFF}} {{{manaincrease}}} }} }}
| {{#ifexpr: {{{manaincrease}}} >= 1
+
  | {{!}} {{ColoredLink|Mana Increase|color=FFFFFF}} {{{manaincrease}}}
+
  }}
+
}}
+
  
 
<!-- Hit Point Regeneration -->
 
<!-- Hit Point Regeneration -->
 
|-
 
|-
{{#if: {{{hitpointregeneration|}}}
+
{{#if: {{{hitpointregeneration|}}} | {{#ifexpr: {{{hitpointregeneration}}} >= 1 | {{!}} {{ColoredLink|Hit Point Regeneration|color=FFFFFF}} {{{hitpointregeneration}}} }} }}
| {{#ifexpr: {{{hitpointregeneration}}} >= 1
+
  | {{!}} {{ColoredLink|Hit Point Regeneration|color=FFFFFF}} {{{hitpointregeneration}}}
+
  }}
+
}}
+
  
 
<!-- Stamina Regeneration -->
 
<!-- Stamina Regeneration -->
 
|-
 
|-
{{#if: {{{staminaregeneration|}}}
+
{{#if: {{{staminaregeneration|}}} | {{#ifexpr: {{{staminaregeneration}}} >= 1 | {{!}} {{ColoredLink|Stamina Regeneration|color=FFFFFF}} {{{staminaregeneration}}} }} }}
| {{#ifexpr: {{{staminaregeneration}}} >= 1
+
  | {{!}} {{ColoredLink|Stamina Regeneration|color=FFFFFF}} {{{staminaregeneration}}}
+
  }}
+
}}
+
  
 
<!-- Mana Regeneration -->
 
<!-- Mana Regeneration -->
 
|-
 
|-
{{#if: {{{manaregeneration|}}}
+
{{#if: {{{manaregeneration|}}} | {{#ifexpr: {{{manaregeneration}}} >= 1 | {{!}} {{ColoredLink|Mana Regeneration|color=FFFFFF}} {{{manaregeneration}}} }} }}
| {{#ifexpr: {{{manaregeneration}}} >= 1
+
  | {{!}} {{ColoredLink|Mana Regeneration|color=FFFFFF}} {{{manaregeneration}}}
+
  }}
+
}}
+
  
 
<!-- Night Sight -->
 
<!-- Night Sight -->
 
|-
 
|-
{{#if: {{{nightsight|}}}
+
{{#if: {{{nightsight|}}} | {{!}} {{ColoredLink|Night Sight (Property)|Night Sight|color=FFFFFF}} }}
| {{!}} {{ColoredLink|Night Sight (Property)|Night Sight|color=FFFFFF}}
+
}}
+
  
 
<!-- Luck -->
 
<!-- Luck -->
 
|-
 
|-
{{#if: {{{luck|}}}
+
{{#if: {{{luck|}}} | {{#ifexpr: {{{luck}}} >= 1 | {{!}} {{ColoredLink|Luck|color=FFFFFF}} {{{luck}}} }} }}
| {{#ifexpr: {{{luck}}} >= 1
+
  | {{!}} {{ColoredLink|Luck|color=FFFFFF}} {{{luck}}}
+
  }}
+
}}
+
  
 
<!-- Enhance Potions -->
 
<!-- Enhance Potions -->
 
|-
 
|-
{{#if: {{{enhancepotions|}}}
+
{{#if: {{{enhancepotions|}}} | {{#ifexpr: {{{enhancepotions}}} >= 1 | {{!}} {{ColoredLink|Enhance Potions|color=FFFFFF}} {{{enhancepotions}}}% }} }}
| {{#ifexpr: {{{enhancepotions}}} >= 1
+
  | {{!}} {{ColoredLink|Enhance Potions|color=FFFFFF}} {{{enhancepotions}}}%
+
  }}
+
}}
+
  
 
<!-- Reflect Physical Damage -->
 
<!-- Reflect Physical Damage -->
 
|-
 
|-
{{#if: {{{reflectphysicaldamage|}}}
+
{{#if: {{{reflectphysicaldamage|}}} | {{#ifexpr: {{{reflectphysicaldamage}}} >= 1 | {{!}} {{ColoredLink|Reflect Physical Damage|color=FFFFFF}} {{{reflectphysicaldamage}}}% }} }}
| {{#ifexpr: {{{reflectphysicaldamage}}} >= 1
+
  | {{!}} {{ColoredLink|Reflect Physical Damage|color=FFFFFF}} {{{reflectphysicaldamage}}}%
+
  }}
+
}}
+
  
 
<!-- Hit Chance Increase -->
 
<!-- Hit Chance Increase -->
 
|-
 
|-
{{#if: {{{hitchanceincrease|}}}
+
{{#if: {{{hitchanceincrease|}}} | {{#ifexpr: {{{hitchanceincrease}}} >= 1 | {{!}} {{ColoredLink|Hit Chance Increase|color=FFFFFF}} {{{hitchanceincrease}}}% }} }}
| {{#ifexpr: {{{hitchanceincrease}}} >= 1
+
  | {{!}} {{ColoredLink|Hit Chance Increase|color=FFFFFF}} {{{hitchanceincrease}}}%
+
  }}
+
}}
+
  
 
<!-- Defense Chance Increase -->
 
<!-- Defense Chance Increase -->
 
|-
 
|-
{{#if: {{{defensechanceincrease|}}}
+
{{#if: {{{defensechanceincrease|}}} | {{#ifexpr: {{{defensechanceincrease}}} >= 1 | {{!}} {{ColoredLink|Defense Chance Increase|color=FFFFFF}} {{{defensechanceincrease}}}% }} }}
| {{#ifexpr: {{{defensechanceincrease}}} >= 1
+
  | {{!}} {{ColoredLink|Defense Chance Increase|color=FFFFFF}} {{{defensechanceincrease}}}%
+
  }}
+
}}
+
  
 
<!-- Faster Casting -->
 
<!-- Faster Casting -->
 
|-
 
|-
{{#if: {{{fastercasting|}}}
+
{{#if: {{{fastercasting|}}} | {{#ifexpr: {{{fastercasting}}} >= 1 | {{!}} {{ColoredLink|Faster Casting|color=FFFFFF}} {{{fastercasting}}} }} }}
| {{#ifexpr: {{{fastercasting}}} >= 1
+
  | {{!}} {{ColoredLink|Faster Casting|color=FFFFFF}} {{{fastercasting}}}
+
  }}
+
}}
+
  
 
<!-- Faster Cast Recovery -->
 
<!-- Faster Cast Recovery -->
 
|-
 
|-
{{#if: {{{fastercastrecovery|}}}
+
{{#if: {{{fastercastrecovery|}}} | {{#ifexpr: {{{fastercastrecovery}}} >= 1 | {{!}} {{ColoredLink|Faster Cast Recovery|color=FFFFFF}} {{{fastercastrecovery}}} }} }}
| {{#ifexpr: {{{fastercastrecovery}}} >= 1
+
  | {{!}} {{ColoredLink|Faster Cast Recovery|color=FFFFFF}} {{{fastercastrecovery}}}
+
  }}
+
}}
+
  
 
<!-- Swing Speed Increase -->
 
<!-- Swing Speed Increase -->
 
|-
 
|-
{{#if: {{{swingspeedincrease|}}}
+
{{#if: {{{swingspeedincrease|}}} | {{#ifexpr: {{{swingspeedincrease}}} >= 1 | {{!}} {{ColoredLink|Swing Speed Increase|color=FFFFFF}} {{{swingspeedincrease}}}% }} }}
| {{#ifexpr: {{{swingspeedincrease}}} >= 1
+
  | {{!}} {{ColoredLink|Swing Speed Increase|color=FFFFFF}} {{{swingspeedincrease}}}%
+
  }}
+
}}
+
  
 
<!-- Damage Increase -->
 
<!-- Damage Increase -->
 
|-
 
|-
{{#if: {{{damageincrease|}}}
+
{{#if: {{{damageincrease|}}} | {{#ifexpr: {{{damageincrease}}} >= 1 | {{!}} {{ColoredLink|Damage Increase|color=FFFFFF}} {{{damageincrease}}}% }} }}
| {{#ifexpr: {{{damageincrease}}} >= 1
+
  | {{!}} {{ColoredLink|Damage Increase|color=FFFFFF}} {{{damageincrease}}}%
+
  }}
+
}}
+
  
 
<!-- Spell Damage Increase -->
 
<!-- Spell Damage Increase -->
 
|-
 
|-
{{#if: {{{spelldamageincrease|}}}
+
{{#if: {{{spelldamageincrease|}}} | {{#ifexpr: {{{spelldamageincrease}}} >= 1 | {{!}} {{ColoredLink|Spell Damage Increase|color=FFFFFF}} {{{spelldamageincrease}}}% }} }}
| {{#ifexpr: {{{spelldamageincrease}}} >= 1
+
  | {{!}} {{ColoredLink|Spell Damage Increase|color=FFFFFF}} {{{spelldamageincrease}}}%
+
  }}
+
}}
+
  
 
<!-- Lower Mana Cost -->
 
<!-- Lower Mana Cost -->
 
|-
 
|-
{{#if: {{{lowermanacost|}}}
+
{{#if: {{{lowermanacost|}}} | {{#ifexpr: {{{lowermanacost}}} >= 1 | {{!}} {{ColoredLink|Lower Mana Cost|color=FFFFFF}} {{{lowermanacost}}}% }} }}
| {{#ifexpr: {{{lowermanacost}}} >= 1
+
  | {{!}} {{ColoredLink|Lower Mana Cost|color=FFFFFF}} {{{lowermanacost}}}%
+
  }}
+
}}
+
  
 
<!-- Lower Reagant Cost -->
 
<!-- Lower Reagant Cost -->
 
|-
 
|-
{{#if: {{{lowerreagentcost|}}}
+
{{#if: {{{lowerreagentcost|}}} | {{#ifexpr: {{{lowerreagantcost}}} >= 1 | {{!}} {{ColoredLink|Lower Reagent Cost|color=FFFFFF}} {{{lowerreagentcost}}}% }} }}
| {{#ifexpr: {{{lowerreagantcost}}} >= 1
+
  | {{!}} {{ColoredLink|Lower Reagent Cost|color=FFFFFF}} {{{lowerreagentcost}}}%
+
  }}
+
}}
+
  
 
<!-- Arcane Charges -->
 
<!-- Arcane Charges -->
 
|-
 
|-
{{#if: {{{arcanecharges|}}}
+
{{#if: {{{arcanecharges|}}} | {{#ifexpr: {{{arcanecharges}}} >= 1 | {{!}} {{ColoredLink|Arcane Charge|Arcane Charges|color=FFFFFF}}: {{{arcanecharges}}} }} }}
| {{#ifexpr: {{{arcanecharges}}} >= 1
+
  | {{!}} {{ColoredLink|Arcane Charge|Arcane Charges|color=FFFFFF}}: {{{arcanecharges}}}
+
  }}
+
}}
+
  
<!-- Physical Resist -->
+
<!-- Resists -->
 
|-
 
|-
{{#if: {{{physicalresist|}}}
+
{{#if: {{{physicalresist|}}} | {{#ifexpr: {{{physicalresist}}} >= 1 | {{!}} {{ColoredLink|Physical Resist|color=FFFFFF}} {{{physicalresist}}}% }} }}
| {{#ifexpr: {{{physicalresist}}} >= 1
+
  | {{!}} {{ColoredLink|Physical Resist|color=FFFFFF}} {{{physicalresist}}}%
+
  }}
+
}}
+
 
+
<!-- Fire Resist -->
+
 
|-
 
|-
{{#if: {{{fireresist|}}}
+
{{#if: {{{fireresist|}}} | {{#ifexpr: {{{fireresist}}} >= 1 | {{!}} {{ColoredLink|Fire Resist|color=FFFFFF}} {{{fireresist}}}% }} }}
| {{#ifexpr: {{{fireresist}}} >= 1
+
  | {{!}} {{ColoredLink|Fire Resist|color=FFFFFF}} {{{fireresist}}}%
+
  }}
+
}}
+
 
+
<!-- Cold Resist -->
+
 
|-
 
|-
{{#if: {{{coldresist|}}}
+
{{#if: {{{coldresist|}}} | {{#ifexpr: {{{coldresist}}} >= 1 | {{!}} {{ColoredLink|Cold Resist|color=FFFFFF}} {{{coldresist}}}% }} }}
| {{#ifexpr: {{{coldresist}}} >= 1
+
  | {{!}} {{ColoredLink|Cold Resist|color=FFFFFF}} {{{coldresist}}}%
+
  }}
+
}}
+
 
+
<!-- Poison Resist -->
+
 
|-
 
|-
{{#if: {{{poisonresist|}}}
+
{{#if: {{{poisonresist|}}} | {{#ifexpr: {{{poisonresist}}} >= 1 | {{!}} {{ColoredLink|Poison Resist|color=FFFFFF}} {{{poisonresist}}}% }} }}
| {{#ifexpr: {{{poisonresist}}} >= 1
+
  | {{!}} {{ColoredLink|Poison Resist|color=FFFFFF}} {{{poisonresist}}}%
+
  }}
+
}}
+
 
+
<!-- Energy Resist -->
+
 
|-
 
|-
{{#if: {{{energyresist|}}}
+
{{#if: {{{energyresist|}}} | {{#ifexpr: {{{energyresist}}} >= 1 | {{!}} {{ColoredLink|Energy Resist|color=FFFFFF}} {{{energyresist}}}% }} }}
| {{#ifexpr: {{{energyresist}}} >= 1
+
  | {{!}} {{ColoredLink|Energy Resist|color=FFFFFF}} {{{energyresist}}}%
+
  }}
+
}}
+
  
 
<!-- Mage Armor -->
 
<!-- Mage Armor -->
 
|-
 
|-
{{#if: {{{magearmor|}}}
+
{{#if: {{{magearmor|}}} | {{!}} {{ColoredLink|Mage Armor|color=FFFFFF}} }}
| {{!}} {{ColoredLink|Mage Armor|color=FFFFFF}}
+
}}
+
  
 
<!-- Use Best Weapon Skill -->
 
<!-- Use Best Weapon Skill -->
 
|-
 
|-
{{#if: {{{usebestweaponskill|}}}
+
{{#if: {{{usebestweaponskill|}}} | {{!}} {{ColoredLink|Use Best Weapon Skill|color=FFFFFF}} }}
| {{!}} {{ColoredLink|Use Best Weapon Skill|color=FFFFFF}}
+
}}
+
  
<!-- Physical Damage -->
+
<!-- Damage Types -->
 
|-
 
|-
{{#if: {{{physicaldamage|}}}
+
{{#if: {{{physicaldamage|}}} | {{#ifexpr: {{{physicaldamage}}} >= 1 | {{!}} {{ColoredLink|Physical Damage|color=FFFFFF}} {{{physicaldamage}}}% }} }}
| {{#ifexpr: {{{physicaldamage}}} >= 1
+
  | {{!}} {{ColoredLink|Physical Damage|color=FFFFFF}} {{{physicaldamage}}}%
+
  }}
+
}}
+
 
+
<!-- Fire Damage -->
+
 
|-
 
|-
{{#if: {{{firedamage|}}}
+
{{#if: {{{firedamage|}}} | {{#ifexpr: {{{firedamage}}} >= 1 | {{!}} {{ColoredLink|Fire Damage|color=FFFFFF}} {{{firedamage}}}% }} }}
| {{#ifexpr: {{{firedamage}}} >= 1
+
  | {{!}} {{ColoredLink|Fire Damage|color=FFFFFF}} {{{firedamage}}}%
+
  }}
+
}}
+
 
+
<!-- Cold Damage -->
+
 
|-
 
|-
{{#if: {{{colddamage|}}}
+
{{#if: {{{colddamage|}}} | {{#ifexpr: {{{colddamage}}} >= 1 | {{!}} {{ColoredLink|Cold Damage|color=FFFFFF}} {{{colddamage}}}% }} }}
| {{#ifexpr: {{{colddamage}}} >= 1
+
  | {{!}} {{ColoredLink|Cold Damage|color=FFFFFF}} {{{colddamage}}}%
+
  }}
+
}}
+
 
+
<!-- Poison Damage -->
+
 
|-
 
|-
{{#if: {{{poisondamage|}}}
+
{{#if: {{{poisondamage|}}} | {{#ifexpr: {{{poisondamage}}} >= 1 | {{!}} {{ColoredLink|Poison Damage|color=FFFFFF}} {{{poisondamage}}}% }} }}
| {{#ifexpr: {{{poisondamage}}} >= 1
+
  | {{!}} {{ColoredLink|Poison Damage|color=FFFFFF}} {{{poisondamage}}}%
+
  }}
+
}}
+
 
+
<!-- Energy Damage -->
+
 
|-
 
|-
{{#if: {{{energydamage|}}}
+
{{#if: {{{energydamage|}}} | {{#ifexpr: {{{energydamage}}} >= 1 | {{!}} {{ColoredLink|Energy Damage|color=FFFFFF}} {{{energydamage}}}% }} }}
| {{#ifexpr: {{{energydamage}}} >= 1
+
  | {{!}} {{ColoredLink|Energy Damage|color=FFFFFF}} {{{energydamage}}}%
+
  }}
+
}}
+
  
 
<!-- Weapon Damage -->
 
<!-- Weapon Damage -->
Line 863: Line 777:
 
<!-- Weapon Speed -->
 
<!-- Weapon Speed -->
 
|-
 
|-
{{#if: {{{weaponspeed|}}}
+
{{#if: {{{weaponspeed|}}} | {{#ifexpr: {{{weaponspeed}}} >= 1.25 | {{!}} {{ColoredLink|Weapon Speed|color=FFFFFF}} {{{weaponspeed}}}s }} }}
| {{#ifexpr: {{{weaponspeed}}} >= 1.25
+
  | {{!}} {{ColoredLink|Weapon Speed|color=FFFFFF}} {{{weaponspeed}}}s
+
  }}
+
}}
+
  
 
<!-- Range -->
 
<!-- Range -->
 
|-
 
|-
{{#if: {{{range|}}}
+
{{#if: {{{range|}}} | {{#ifexpr: {{{range}}} >= 1 | {{!}} {{ColoredLink|Range|color=FFFFFF}} {{{range}}} }} }}
| {{#ifexpr: {{{range}}} >= 1
+
  | {{!}} {{ColoredLink|Range|color=FFFFFF}} {{{range}}}
+
  }}
+
}}
+
  
 
<!-- Lower Requirements -->
 
<!-- Lower Requirements -->
 
|-
 
|-
{{#if: {{{lowerrequirements|}}}
+
{{#if: {{{lowerrequirements|}}} | {{#ifexpr: {{{lowerrequirements}}} >= 1 | {{!}} {{ColoredLink|Lower Requirements|color=FFFFFF}} {{{lowerrequirements}}}% }} }}
| {{#ifexpr: {{{lowerrequirements}}} >= 1
+
  | {{!}} {{ColoredLink|Lower Requirements|color=FFFFFF}} {{{lowerrequirements}}}%
+
  }}
+
}}
+
  
 
<!-- Strength Requirement -->
 
<!-- Strength Requirement -->
 
|-
 
|-
{{#if: {{{strengthrequirement|}}}
+
{{#if: {{{strengthrequirement|}}} | {{#ifexpr: {{{strengthrequirement}}} >= 1 | {{!}} {{ColoredLink|Strength Requirement|color=FFFFFF}} {{{strengthrequirement|}}} }} }}
| {{#ifexpr: {{{strengthrequirement}}} >= 1
+
  | {{!}} {{ColoredLink|Strength Requirement|color=FFFFFF}} {{{strengthrequirement|}}}
+
  }}
+
}}
+
  
 
<!-- One- or Two-Handed Weapon -->
 
<!-- One- or Two-Handed Weapon -->
Line 906: Line 804:
 
{{#if: {{{skillrequired|}}}
 
{{#if: {{{skillrequired|}}}
 
| {{#switch: {{{skillrequired}}}
 
| {{#switch: {{{skillrequired}}}
   | Archery  
+
   | Archery | Fencing | Mace Fighting | Swordsmanship = {{!}} Skill Required: {{ColoredLink|{{{skillrequired}}}|color=FFFFFF}}
  | Fencing
+
  | Mace Fighting
+
  | Swordsmanship = {{!}} Skill Required: {{ColoredLink|{{{skillrequired}}}|color=FFFFFF}}
+
 
   }}
 
   }}
 
}}
 
}}
Line 915: Line 810:
 
<!-- Durability -->
 
<!-- Durability -->
 
|-
 
|-
{{#if: {{{durability|}}}
+
{{#if: {{{durability|}}} | {{#ifexpr: {{{durability}}} >= 1 | {{!}} {{ColoredLink|Durability|color=FFFFFF}} {{{durability}}} / {{{durability}}} }} }}
| {{#ifexpr: {{{durability}}} >= 1
+
  | {{!}} {{ColoredLink|Durability|color=FFFFFF}} {{{durability}}} / {{{durability}}}
+
  }}
+
}}
+
  
 
<!-- Durability Range? -->
 
<!-- Durability Range? -->
Line 931: Line 822:
 
<!-- Lower Ammo Cost -->
 
<!-- Lower Ammo Cost -->
 
|-
 
|-
{{#if: {{{lowerammocost|}}}
+
{{#if: {{{lowerammocost|}}} | {{#ifexpr: {{{lowerammocost}}} >= 1 | {{!}} {{ColoredLink|Lower Ammo Cost|color=FFFFFF}}: {{{lowerammocost}}}% }} }}
| {{#ifexpr: {{{lowerammocost}}} >= 1
+
  | {{!}} {{ColoredLink|Lower Ammo Cost|color=FFFFFF}}: {{{lowerammocost}}}%
+
  }}
+
}}
+
  
 
<!-- Charges Remaining -->
 
<!-- Charges Remaining -->
Line 971: Line 858:
 
<!-- Weight Reduction -->
 
<!-- Weight Reduction -->
 
|-
 
|-
{{#if: {{{weightreduction|}}}
+
{{#if: {{{weightreduction|}}} | {{#ifexpr: {{{weightreduction}}} >= 1 | {{!}} {{ColoredLink|Weight Reduction|color=FFFFFF}}: {{{weightreduction}}}% }} }}
| {{#ifexpr: {{{weightreduction}}} >= 1
+
  | {{!}} {{ColoredLink|Weight Reduction|color=FFFFFF}}: {{{weightreduction}}}%
+
  }}
+
}}
+
  
 
<!-- Replenish Charges -->
 
<!-- Replenish Charges -->
 
|-
 
|-
{{#if: {{{replenishcharges|}}}
+
{{#if: {{{replenishcharges|}}} | {{#ifexpr: {{{replenishcharges}}} >= 0 | {{!}} {{ColoredLink|Replenish Charges|color=FFFFFF}} }} }}
| {{#ifexpr: {{{replenishcharges}}} >= 0
+
  | {{!}} {{ColoredLink|Replenish Charges|color=FFFFFF}}
+
  }}
+
}}
+
  
 
<!-- Increased Karma Loss -->
 
<!-- Increased Karma Loss -->
 
|-
 
|-
{{#if: {{{increasedkarmaloss|}}}
+
{{#if: {{{increasedkarmaloss|}}} | {{#ifexpr: {{{increasedkarmaloss}}} >= 1 | {{!}} {{ColoredLink|Increased Karma Loss|color=FFFFFF}} {{{increasedkarmaloss}}}% }} }}
| {{#ifexpr: {{{increasedkarmaloss}}} >= 1
+
  | {{!}} {{ColoredLink|Increased Karma Loss|color=FFFFFF}} {{{increasedkarmaloss}}}%
+
  }}
+
}}
+
  
 
<!-- Spells -->
 
<!-- Spells -->
Line 1,008: Line 883:
 
{{#if: {{{turnedonoff|}}}
 
{{#if: {{{turnedonoff|}}}
 
| {{#switch: {{{turnedonoff}}}
 
| {{#switch: {{{turnedonoff}}}
   | on
+
   | on | oN | On | ON = {{ColoredLink|Turned On|color=FFFFFF}}
  | oN
+
   | off | ofF | oFf | oFF | Off | OfF | OFf | OFF = {{ColoredLink|Turned On|Turned Off|color=FFFFFF}}
  | On
+
  | ON = {{ColoredLink|Turned On|color=FFFFFF}}
+
   | off
+
  | ofF
+
  | oFf
+
  | oFF
+
  | Off
+
  | OfF
+
  | OFf
+
  | OFF = {{ColoredLink|Turned On|Turned Off|color=FFFFFF}}
+
 
   }}
 
   }}
 
}}
 
}}
Line 1,025: Line 890:
 
<!-- Petals -->
 
<!-- Petals -->
 
|-
 
|-
{{#if: {{{petals|}}}
+
{{#if: {{{petals|}}} | {{#ifexpr: {{{petals}}} >= 1 | {{!}} {{ColoredLink|Petal of the Rose of Trinsic|Petals|color=FFFFFF}}: {{{petals}}} }} }}
| {{#ifexpr: {{{petals}}} >= 1
+
  | {{!}} {{ColoredLink|Petal of the Rose of Trinsic|Petals|color=FFFFFF}}: {{{petals}}}
+
  }}
+
}}
+
  
 
<!-- Common Tracks -->
 
<!-- Common Tracks -->

Revision as of 20:32, 25 November 2009

This entire page and template is currently in the process of being refactored. (11/26/09)

Template:Itembox is designed for use on item pages to display an item's picture and properties. It is designed to simulate the item being in a character's backpack with the standard in-game cursor hovering over it and displaying the item's tooltip, all in the format found in the the Ultima Online Classic Client.

Note: If the Classic Client is ever dropped in favor of the Enhanced Client, the look and feel of this template will be changed accordingly.

All of the properties that are displayed in the tooltip portion of the template are displayed as centered and using white text except for the name of the item, which is displayed in yellow text. Most item property names also serve as links to their corresponding pages. The order in which the item properties are displayed is designed to be as close as possible to the order seen in UO. The order in which the template's parameters are used does not affect this order.

Notes on Usage

Since it is highly unlikely, if not impossible, that an item will ever be encountered that uses absolutely every item property that is available in this template, Template:Item Infobox has been designed with conditional parameters. This means that when using this template on an item's page it is intended that only the parameters which correspond to that specific item's properties should be included. Unlike many other templates that show in their entirety no matter what, if one of the parameters from this template is not included or left blank, its associated property will simply not display at all. It is recommended that blank parameters be left out entirely when using this template, as their inclusion will lead to pages being unnecessarily and excessively long and unreadable for editors.

Template

{{Item Infobox
|image=
|imageheight=
|name=
|usesremaining=
|blessed=
|weight=
|armorset=
|weaponarmorset=
|jewelryset=
|durabilityincrease=
|artifactrarity=
|elvesonly=
|gargoylesonly=
|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=
|stealth=
|swordsmanship=
|tactics=
|tailoring=
|tasteidentification=
|tinkering=
|tracking=
|veterinary=
|wrestling=
|randomskill=
|randomcombatskill=
|requirementmondainslegacy=
|velocity=
|spellchanneling=
|mageweapon=
|hitlifeleech=
|hitstaminaleech=
|hitmanaleech=
|slayer1=
|slayer2=
|slayer3=
|randomitemproperty1=
|randomitemproperty2=
|hitdispel=
|hitfireball=
|hitharm=
|hitlightning=
|hitmagicarrow=
|hitenergyarea=
|hitfirearea=
|hitphysicalarea=
|hitpoisonarea=
|hitlowerdefense=
|hitlowerattack=
|balanced=
|randomprotection=
|increasedweapondamage=
|selfrepair=
|strengthbonus=
|dexteritybonus=
|intelligencebonus=
|hitpointincrease=
|staminaincrease=
|manaincrease=
|hitpointregeneration=
|staminaregeneration=
|manaregeneration=
|nightsight=
|luck=
|enhancepotions=
|reflectphysicaldamage=
|hitchanceincrease=
|defensechanceincrease=
|fastercasting=
|fastercastrecovery=
|swingspeedincrease=
|damageincrease=
|spelldamageincrease=
|lowermanacost=
|lowerreagantcost=
|arcanecharges=
|physicalresist=
|fireresist=
|coldresist=
|poisonresist=
|energyresist=
|magearmor=
|usebestweaponskill=
|physicaldamage=
|firedamage=
|colddamage=
|poisondamage=
|energydamage=
|mindamage=
|maxdamage=
|weaponspeed=
|range=
|lowerrequirements=
|strengthrequirement=
|handedweapon=
|skillrequired=
|durability=
|mindurability=
|maxdurability=
|lowerammocost=
|chargesremaining=
|contentsitems=
|contentsstones=
|contents2items=
|contents2stones=
|weightreduction=
|replenishcharges=
|increasedkarmaloss=
|spells=
|turnedonoff=
|petals=
|commontracks=
|uncommontracks=
|raretracks=
}}

Parameters

[[Category:{{{category}}} Templates|Itembox]]

image

  • Usage: Optional
  • Description: The image parameter takes a string denoting the name of a valid image of the item on UOGuide. This is used to generate the item's image in the containing area of the backpack. If this parameter is left blank or omitted, a default value of "Image_Needed.png" is used. Although this parameter is marked as "Optional," if this parameter is not supplied a value an image will be displayed that says "IMAGE NEEDED" and the page will be put into Category:Item infoboxes without image defined so that it may be given a valid image as soon as possible.
  • Valid Value(s): Any string that is the name of a valid image on UOGuide.

imageheight

  • Usage: Optional
  • Description: The imageheight parameter takes a whole number denoting the height of the item image. This is used to generate the layout code necessary to vertically center the image in the containing area of the backpack.
  • Valid Value(s): Any whole number.

name

  • Usage: Optional
  • Description: The name parameter takes a string denoting the name of the item. This is used to generate the first line of the tooltip section. If this parameter is left blank or omitted, a default value of "{{PAGENAME}}" is used. It is recommended that this field be left blank unless the item's page name has a parenthetical differentiation in it; I.e. "Item Name (Item)."
  • Valid Value(s): Any string.

usesremaining

  • Usage: Optional
  • Description: The usesremaining parameter takes a whole number denoting the number of uses remaining on an item. This is used to generate the "Uses Remaining" item property in the tooltip section. Any whole number may be supplied for this parameter, as it is designed merely to display the "Uses Remaining" property with a realistic number. The ability to supply a specific value as opposed to having a default number is retained due to the possibility that some pages may exist for unique, one-of-a-kind rare items that have a specific number of uses remaining.
  • Valid Value(s): Any whole number.

blessed

  • Usage: Optional
  • Description: The blessed parameter takes a string denoting whether the item is Blessed or Cursed. This is used to generate the "Blessed" or "Cursed" item property in the tooltip section.
  • Valid Value(s): "Cursed," "CURSED," or "cursed" to display "Cursed," and any other value to display "Blessed."

weight

  • Usage: Optional
  • Description: The weight parameter takes a whole number denoting the weight of the item. This is used to generate the "Weight" item property in the tooltip section.
  • Valid Value(s): Any whole number greater than or equal to one (1).

swingspeedincrease

  • Usage: Optional
  • Description: The swingspeedincrease parameter takes a whole number denoting the amount of Swing Speed Increase on the item. This is used to generate the "Swing Speed Increase" item property in the tooltip section.
  • Valid Value(s): Any whole number greater than or equal to one (1).

physicalresist

  • Usage: Optional
  • Description: The physicalresist parameter takes a whole number denoting the amount of Physical Resist on the item. This is used to generate the "Physical Resist" item property in the tooltip section.
  • Valid Value(s): Any whole number greater than or equal to one (1).

fireresist

  • Usage: Optional
  • Description: The fireresist parameter takes a whole number denoting the amount of Fire Resist on the item. This is used to generate the "Fire Resist" item property in the tooltip section.
  • Valid Value(s): Any whole number greater than or equal to one (1).

coldresist

  • Usage: Optional
  • Description: The coldresist parameter takes a whole number denoting the amount of Cold Resist on the item. This is used to generate the "Cold Resist" item property in the tooltip section.
  • Valid Value(s): Any whole number greater than or equal to one (1).

poisonresist

  • Usage: Optional
  • Description: The poisonresist parameter takes a whole number denoting the amount of Poison Resist on the item. This is used to generate the "Poison Resist" item property in the tooltip section.
  • Valid Value(s): Any whole number greater than or equal to one (1).

energyresist

  • Usage: Optional
  • Description: The energyresist parameter takes a whole number denoting the amount of Energy Resist on the item. This is used to generate the "Energy Resist" item property in the tooltip section.
  • Valid Value(s): Any whole number greater than or equal to one (1).

physicaldamage

  • Usage: Optional
  • Description: The physicaldamage parameter takes a whole number denoting the percentage of Physical Damage on the item. This is used to generate the "Physical Damage" item property in the tooltip section.
  • Valid Value(s): Any whole number greater than or equal to one (1).

firedamage

  • Usage: Optional
  • Description: The firedamage parameter takes a whole number denoting the percentage of Fire Damage on the item. This is used to generate the "Fire Damage" item property in the tooltip section.
  • Valid Value(s): Any whole number greater than or equal to one (1).

colddamage

  • Usage: Optional
  • Description: The colddamage parameter takes a whole number denoting the percentage of Cold Damage on the item. This is used to generate the "Cold Damage" item property in the tooltip section.
  • Valid Value(s): Any whole number greater than or equal to one (1).

poisondamage

  • Usage: Optional
  • Description: The poisondamage parameter takes a whole number denoting the percentage of Poison Damage on the item. This is used to generate the "Poison Damage" item property in the tooltip section.
  • Valid Value(s): Any whole number greater than or equal to one (1).

energydamage

  • Usage: Optional
  • Description: The energydamage parameter takes a whole number denoting the percentage of Energy Damage on the item. This is used to generate the "Energy Damage" item property in the tooltip section.
  • Valid Value(s): Any whole number greater than or equal to one (1).

handedweapon

  • Usage: Optional
  • Description: The handedweapon parameter takes a whole number denoting whether the item is wielded with one (1) or two (2) hands. This is used to generate the "One-Handed Weapon" or "Two-Handed Weapon" item property in the tooltip section.
  • Valid Value(s): "1" to display "One-Handed Weapon," or "2" to display "Two-Handed Weapon."

durability

  • Usage: Optional
  • Description: The durability parameter takes a whole number denoting the minimum and maximum durability of the item. This is used to generate the "Durability" item property in the tooltip section.
  • Valid Value(s): Any whole number greater than or equal to one (1).