Difference between revisions of "Template:Itembox"

m
(Removed references to imageheight. Cleaned up code. Removed comments, as code is self-documenting.)
Line 11: Line 11:
 
|template=<nowiki>{{Itembox
 
|template=<nowiki>{{Itembox
 
|image=
 
|image=
|imageheight=
 
 
|name=
 
|name=
 
|usesremaining=
 
|usesremaining=
Line 240: Line 239:
 
|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:Image Needed]] so that it may be given a valid image as soon as possible.
 
|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:Image Needed]] 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.
}}
 
{{Template Parameter
 
|name=imageheight
 
|usage=mandatory
 
|takes=a whole number
 
|denotes=the height of the item image
 
|generates=the layout code necessary to vertically center the image in the containing area of the backpack
 
|othernotes=This parameter is mandatory unless no value is supplied for {{Monospace|image}}.
 
|validvalues=Any whole number.
 
 
}}
 
}}
 
{{Template Parameter
 
{{Template Parameter
Line 374: Line 364:
 
</noinclude><includeonly>{| id="itembox" style="float:right; margin:1px 1px 1em 1em;"
 
</noinclude><includeonly>{| id="itembox" style="float:right; margin:1px 1px 1em 1em;"
 
| [[File:Backpack.png]]
 
| [[File:Backpack.png]]
 
<!-- Item Image -->
 
 
<div id="itemImage" style="position:relative; z-index:1;">{{#if: {{{image|}}}
 
<div id="itemImage" style="position:relative; z-index:1;">{{#if: {{{image|}}}
 
| [[File:{{{image}}}]]
 
| [[File:{{{image}}}]]
Line 381: Line 369:
 
{{Categorize|Image Needed}}
 
{{Categorize|Image Needed}}
 
}}</div>
 
}}</div>
 
<!-- Cursor -->
 
 
<div style="position:relative; z-index:1;">[[File:Cursor_Standard.png]]</div>
 
<div style="position:relative; z-index:1;">[[File:Cursor_Standard.png]]</div>
 
<!-- Tooltip -->
 
 
{| id="tooltip"
 
{| id="tooltip"
 
<!-- Name -->
 
 
| style="color:#FFFF8F; padding-top:3px;" | {{{name|{{PAGENAME}}}}}
 
| style="color:#FFFF8F; padding-top:3px;" | {{{name|{{PAGENAME}}}}}
 
<!-- Uses Remaining -->
 
 
|-
 
|-
 
{{#if: {{{usesremaining|}}}
 
{{#if: {{{usesremaining|}}}
Line 398: Line 378:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Blessed/Cursed -->
 
 
|-
 
|-
 
{{#if: {{{blessed|}}}
 
{{#if: {{{blessed|}}}
Line 407: Line 385:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Weight -->
 
 
|-
 
|-
 
{{#if: {{{weight|}}}
 
{{#if: {{{weight|}}}
Line 418: Line 394:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Recovered From A Shipwreck -->
 
 
|-
 
|-
 
{{#if: {{{recoveredfromashipwreck|}}}
 
{{#if: {{{recoveredfromashipwreck|}}}
 
| {{!}} {{Colored Link|Message in a Bottle|Recovered From A Shipwreck|color=FFFFFF}}
 
| {{!}} {{Colored Link|Message in a Bottle|Recovered From A Shipwreck|color=FFFFFF}}
 
}}
 
}}
 
<!-- Armor Set -->
 
 
|-
 
|-
 
{{#if: {{{armorset|}}}
 
{{#if: {{{armorset|}}}
Line 432: Line 404:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Weapon/Armor Set -->
 
 
|-
 
|-
 
{{#if: {{{weaponarmorset|}}}
 
{{#if: {{{weaponarmorset|}}}
Line 440: Line 410:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Jewelry Set -->
 
 
|-
 
|-
 
{{#if: {{{jewelryset|}}}
 
{{#if: {{{jewelryset|}}}
Line 448: Line 416:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Durability Increase -->
 
 
|-
 
|-
 
{{#if: {{{durabilityincrease|}}}
 
{{#if: {{{durabilityincrease|}}}
Line 456: Line 422:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Artifact Rarity -->
 
 
|-
 
|-
 
{{#if: {{{artifactrarity|}}}
 
{{#if: {{{artifactrarity|}}}
Line 464: Line 428:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Spell Consumption -->
 
 
|-
 
|-
 
{{#if: {{{spellconsumption|}}}
 
{{#if: {{{spellconsumption|}}}
Line 472: Line 434:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Elves Only -->
 
 
|-
 
|-
 
{{#if: {{{elvesonly|}}}
 
{{#if: {{{elvesonly|}}}
 
| {{!}} {{Colored Link|Elves Only|color=FFFFFF}}
 
| {{!}} {{Colored Link|Elves Only|color=FFFFFF}}
 
}}
 
}}
 
<!-- Gargoyles Only -->
 
 
|-
 
|-
{{#if: {{{gargsonly|}}}
+
{{#if: {{{gargoylesonly|}}}
 
| {{!}} {{Colored Link|Gargoyles Only|color=FFFFFF}}
 
| {{!}} {{Colored Link|Gargoyles Only|color=FFFFFF}}
 
}}
 
}}
 
<!-- Requirement: High Seas -->
 
 
|-
 
|-
 
{{#if: {{{highseas|}}}
 
{{#if: {{{highseas|}}}
 
| {{!}} Requires: {{Colored Link|Ultima Online: High Seas|High Seas|color=FFFFFF}}
 
| {{!}} Requires: {{Colored Link|Ultima Online: High Seas|High Seas|color=FFFFFF}}
 
}}
 
}}
 
<!-- Requirement: Stygian Abyss -->
 
 
|-
 
|-
 
{{#if: {{{stygianabyss|}}}
 
{{#if: {{{stygianabyss|}}}
 
| {{!}} Requires: {{Colored Link|Ultima Online: Stygian Abyss|Stygian Abyss|color=FFFFFF}}
 
| {{!}} Requires: {{Colored Link|Ultima Online: Stygian Abyss|Stygian Abyss|color=FFFFFF}}
 
}}
 
}}
 
+
|-
<!-- Mana Burst -->
+
{{#if: {{{mondainslegacy|}}}
 +
| {{!}} Requirement: {{Colored Link|Ultima Online: Mondain's Legacy|Mondain's Legacy|color=FFFFFF}}
 +
}}
 
|-
 
|-
 
{{#if: {{{manaburst|}}}
 
{{#if: {{{manaburst|}}}
Line 504: Line 460:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Frequency -->
 
 
|-
 
|-
 
{{#if: {{{frequency|}}}
 
{{#if: {{{frequency|}}}
Line 512: Line 466:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Burst Level -->
 
 
|-
 
|-
 
{{#if: {{{spellconsumption|}}}
 
{{#if: {{{spellconsumption|}}}
Line 520: Line 472:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Ammo -->
 
 
|-
 
|-
 
{{#if: {{{ammo|}}}
 
{{#if: {{{ammo|}}}
Line 529: Line 479:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Damage Modifier -->
 
 
|-
 
|-
 
{{#if: {{{damagemodifier|}}}
 
{{#if: {{{damagemodifier|}}}
Line 537: Line 485:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Skills -->
 
 
|-
 
|-
{{#if: {{{alchemy|}}} | {{#ifexpr: {{{alchemy}}} >= 1 | {{!}} +{{{alchemy}}} {{Colored Link|Alchemy|color=FFFFFF}} }} }}
+
{{#if: {{{alchemy|}}}
 +
| {{#ifexpr: {{{alchemy}}} >= 1
 +
  | {{!}} +{{{alchemy}}} {{Colored Link|Alchemy|color=FFFFFF}}
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{anatomy|}}} | {{#ifexpr: {{{anatomy}}} >= 1 | {{!}} +{{{anatomy}}} {{Colored Link|Anatomy|color=FFFFFF}} }} }}
+
{{#if: {{{anatomy|}}}
 +
| {{#ifexpr: {{{anatomy}}} >= 1
 +
  | {{!}} +{{{anatomy}}} {{Colored Link|Anatomy|color=FFFFFF}}
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{animallore|}}} | {{#ifexpr: {{{animallore}}} >=1 | {{!}} +{{{animallore}}} {{Colored Link|Animal Lore|color=FFFFFF}} }} }}
+
{{#if: {{{animallore|}}}
 +
| {{#ifexpr: {{{animallore}}} >=1
 +
  | {{!}} +{{{animallore}}} {{Colored Link|Animal Lore|color=FFFFFF}}
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{animaltaming|}}} | {{#ifexpr: {{{animaltaming}}} >= 1 | {{!}} +{{{animaltaming}}} {{Colored Link|Animal Taming|color=FFFFFF}} }} }}
+
{{#if: {{{animaltaming|}}}
 +
| {{#ifexpr: {{{animaltaming}}} >= 1
 +
  | {{!}} +{{{animaltaming}}} {{Colored Link|Animal Taming|color=FFFFFF}}
 +
  }}
 +
}}
 
|-
 
|-
 
{{#if: {{{archery|}}} | {{#ifexpr: {{{archery}}} >= 1 | {{!}} +{{{archery}}} {{Colored Link|Archery|color=FFFFFF}} }} }}
 
{{#if: {{{archery|}}} | {{#ifexpr: {{{archery}}} >= 1 | {{!}} +{{{archery}}} {{Colored Link|Archery|color=FFFFFF}} }} }}
Line 662: Line 624:
 
{{#if: {{{randomskill|}}} | {{#ifexpr: {{{randomskill}}} >= 1 | {{!}} +{{{randomskill}}} Random {{Colored Link|Skill|color=FFFFFF}} }} }}
 
{{#if: {{{randomskill|}}} | {{#ifexpr: {{{randomskill}}} >= 1 | {{!}} +{{{randomskill}}} Random {{Colored Link|Skill|color=FFFFFF}} }} }}
 
|-
 
|-
{{#if: {{{randomcombatskill|}}} | {{#ifexpr: {{{randomcombatskill}}} >= 1 | {{!}} +{{{randomcombatskill}}} Random Combat {{Colored Link|Skill|color=FFFFFF}} }} }}
+
{{#if: {{{randomcombatskill|}}}
 
+
| {{#ifexpr: {{{randomcombatskill}}} >= 1
<!-- Requirement: Mondain's Legacy -->
+
  | {{!}} +{{{randomcombatskill}}} Random Combat {{Colored Link|Skill|color=FFFFFF}}
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{requirementmondainslegacy|}}}
+
{{#if: {{{randomeater|}}}
| {{!}} Requirement: {{Colored Link|Ultima Online: Mondain's Legacy|Mondain's Legacy|color=FFFFFF}}
+
| {{#ifexpr: {{{randomeater}}} >= 1
 +
  | {{!}} {{Colored Link|Random Eater|color=FFFFFF}} {{{randomeater}}}%
 +
  }}
 
}}
 
}}
 
<!-- Damage Eaters -->
 
 
|-
 
|-
{{#if: {{{randomeater|}}} | {{#ifexpr: {{{randomeater}}} >= 1 | {{!}} {{Colored Link|Random Eater|color=FFFFFF}} {{{randomeater}}}% }} }}
+
{{#if: {{{kineticeater|}}}
 +
| {{#ifexpr: {{{kineticeater}}} >= 1
 +
  | {{!}} {{Colored Link|Kinetic Eater|color=FFFFFF}} {{{kineticeater}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{kineticeater|}}} | {{#ifexpr: {{{kineticeater}}} >= 1 | {{!}} {{Colored Link|Kinetic Eater|color=FFFFFF}} {{{kineticeater}}}% }} }}
+
{{#if: {{{fireeater|}}}
 +
| {{#ifexpr: {{{fireeater}}} >= 1
 +
  | {{!}} {{Colored Link|Fire Eater|color=FFFFFF}} {{{fireeater}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{fireeater|}}} | {{#ifexpr: {{{fireeater}}} >= 1 | {{!}} {{Colored Link|Fire Eater|color=FFFFFF}} {{{fireeater}}}% }} }}
+
{{#if: {{{coldeater|}}}
 +
| {{#ifexpr: {{{coldeater}}} >= 1
 +
  | {{!}} {{Colored Link|Cold Eater|color=FFFFFF}} {{{coldeater}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{coldeater|}}} | {{#ifexpr: {{{coldeater}}} >= 1 | {{!}} {{Colored Link|Cold Eater|color=FFFFFF}} {{{coldeater}}}% }} }}
+
{{#if: {{{poisoneater|}}}
 +
| {{#ifexpr: {{{poisoneater}}} >= 1
 +
  | {{!}} {{Colored Link|Poison Eater|color=FFFFFF}} {{{poisoneater}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{poisoneater|}}} | {{#ifexpr: {{{poisoneater}}} >= 1 | {{!}} {{Colored Link|Poison Eater|color=FFFFFF}} {{{poisoneater}}}% }} }}
+
{{#if: {{{energyeater|}}}
 +
| {{#ifexpr: {{{energyeater}}} >= 1
 +
  | {{!}} {{Colored Link|Energy Eater|color=FFFFFF}} {{{energyeater}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{energyeater|}}} | {{#ifexpr: {{{energyeater}}} >= 1 | {{!}} {{Colored Link|Energy Eater|color=FFFFFF}} {{{energyeater}}}% }} }}
+
{{#if: {{{randomresonance|}}}
 
+
| {{#ifexpr: {{{randomresonance}}} >= 1
<!-- Resonances -->
+
  | {{!}} {{Colored Link|Random Resonance|color=FFFFFF}} {{{randomresonance}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{randomresonance|}}} | {{#ifexpr: {{{randomresonance}}} >= 1 | {{!}} {{Colored Link|Random Resonance|color=FFFFFF}} {{{randomresonance}}}% }} }}
+
{{#if: {{{kineticresonance|}}}
 +
| {{#ifexpr: {{{kineticresonance}}} >= 1
 +
  | {{!}} {{Colored Link|Kinetic Resonance|color=FFFFFF}} {{{kineticresonance}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{kineticresonance|}}} | {{#ifexpr: {{{kineticresonance}}} >= 1 | {{!}} {{Colored Link|Kinetic Resonance|color=FFFFFF}} {{{kineticresonance}}}% }} }}
+
{{#if: {{{fireresonance|}}}
 +
| {{#ifexpr: {{{fireresonance}}} >= 1
 +
  | {{!}} {{Colored Link|Fire Resonance|color=FFFFFF}} {{{fireresonance}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{fireresonance|}}} | {{#ifexpr: {{{fireresonance}}} >= 1 | {{!}} {{Colored Link|Fire Resonance|color=FFFFFF}} {{{fireresonance}}}% }} }}
+
{{#if: {{{coldresonance|}}}
 +
| {{#ifexpr: {{{coldresonance}}} >= 1
 +
  | {{!}} {{Colored Link|Cold Resonance|color=FFFFFF}} {{{coldresonance}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{coldresonance|}}} | {{#ifexpr: {{{coldresonance}}} >= 1 | {{!}} {{Colored Link|Cold Resonance|color=FFFFFF}} {{{coldresonance}}}% }} }}
+
{{#if: {{{poisonresonance|}}}
 +
| {{#ifexpr: {{{poisonresonance}}} >= 1
 +
  | {{!}} {{Colored Link|Poison Resonance|color=FFFFFF}} {{{poisonresonance}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{poisonresonance|}}} | {{#ifexpr: {{{poisonresonance}}} >= 1 | {{!}} {{Colored Link|Poison Resonance|color=FFFFFF}} {{{poisonresonance}}}% }} }}
+
{{#if: {{{energyresonance|}}}
|-
+
| {{#ifexpr: {{{energyresonance}}} >= 1
{{#if: {{{energyresonance|}}} | {{#ifexpr: {{{energyresonance}}} >= 1 | {{!}} {{Colored Link|Energy Resonance|color=FFFFFF}} {{{energyresonance}}}% }} }}
+
  | {{!}} {{Colored Link|Energy Resonance|color=FFFFFF}} {{{energyresonance}}}%
 
+
  }}
<!-- Soul Charge -->
+
}}
 
|-
 
|-
 
{{#if: {{{soulcharge|}}}
 
{{#if: {{{soulcharge|}}}
Line 705: Line 707:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Velocity -->
 
 
|-
 
|-
 
{{#if: {{{velocity|}}}
 
{{#if: {{{velocity|}}}
Line 713: Line 713:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Spell Channeling -->
 
 
|-
 
|-
 
{{#if: {{{spellchanneling|}}}
 
{{#if: {{{spellchanneling|}}}
 
| {{!}} {{Colored Link|Spell Channeling|color=FFFFFF}}
 
| {{!}} {{Colored Link|Spell Channeling|color=FFFFFF}}
 
}}
 
}}
 
<!-- Mage Weapon -->
 
 
|-
 
|-
 
{{#if: {{{mageweapon|}}}
 
{{#if: {{{mageweapon|}}}
Line 727: Line 723:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Hit Life Leech -->
 
 
|-
 
|-
 
{{#if: {{{hitlifeleech|}}}
 
{{#if: {{{hitlifeleech|}}}
Line 735: Line 729:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Hit Stamina Leech -->
 
 
|-
 
|-
 
{{#if: {{{hitstaminaleech|}}}
 
{{#if: {{{hitstaminaleech|}}}
Line 743: Line 735:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Hit Mana Leech -->
 
 
|-
 
|-
 
{{#if: {{{hitmanaleech|}}}
 
{{#if: {{{hitmanaleech|}}}
Line 751: Line 741:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Slayers -->
 
 
|-
 
|-
 
{{#ifeq: {{{slayer}}}|random|{{!}} Random {{Colored Link|Slayer|color=ffffff}}|}}
 
{{#ifeq: {{{slayer}}}|random|{{!}} Random {{Colored Link|Slayer|color=ffffff}}|}}
Line 873: Line 861:
 
|-
 
|-
 
{{#ifeq: {{{slayer2}}}|goblin|{{!}} {{Colored Link|Goblin Slayer|color=ffffff}}|}}
 
{{#ifeq: {{{slayer2}}}|goblin|{{!}} {{Colored Link|Goblin Slayer|color=ffffff}}|}}
 
<!-- Random Item Property 1 -->
 
 
|-
 
|-
 
{{#if: {{{randomitemproperty1|}}}
 
{{#if: {{{randomitemproperty1|}}}
 
| {{!}} Random {{Colored Link|Item Property|color=FFFFFF}}
 
| {{!}} Random {{Colored Link|Item Property|color=FFFFFF}}
 
}}
 
}}
 
<!-- Random Item Property 2 -->
 
 
|-
 
|-
 
{{#if: {{{randomitemproperty2|}}}
 
{{#if: {{{randomitemproperty2|}}}
 
| {{!}} Random {{Colored Link|Item Property|color=FFFFFF}}
 
| {{!}} Random {{Colored Link|Item Property|color=FFFFFF}}
 
}}
 
}}
 
<!-- Random Item Property 3 -->
 
 
|-
 
|-
 
{{#if: {{{randomitemproperty3|}}}
 
{{#if: {{{randomitemproperty3|}}}
 
| {{!}} Random {{Colored Link|Item Property|color=FFFFFF}}
 
| {{!}} Random {{Colored Link|Item Property|color=FFFFFF}}
 
}}
 
}}
 
<!-- Hit Effects -->
 
 
|-
 
|-
{{#if: {{{hitfatigue|}}} | {{#ifexpr: {{{hitfatigue}}} >= 1 | {{!}} {{Colored Link|Hit Fatigue|color=FFFFFF}} {{{hitfatigue}}}% }} }}
+
{{#if: {{{hitfatigue|}}}
 +
| {{#ifexpr: {{{hitfatigue}}} >= 1
 +
  | {{!}} {{Colored Link|Hit Fatigue|color=FFFFFF}} {{{hitfatigue}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{hitmanadrain|}}} | {{#ifexpr: {{{hitmanadrain}}} >= 1 | {{!}} {{Colored Link|Hit Mana Drain|color=FFFFFF}} {{{hitmanadrain}}}% }} }}
+
{{#if: {{{hitmanadrain|}}}
 +
| {{#ifexpr: {{{hitmanadrain}}} >= 1
 +
  | {{!}} {{Colored Link|Hit Mana Drain|color=FFFFFF}} {{{hitmanadrain}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{hitcurse|}}} | {{#ifexpr: {{{hitcurse}}} >= 1 | {{!}} {{Colored Link|Hit Curse|color=FFFFFF}} {{{hitcurse}}}% }} }}
+
{{#if: {{{hitcurse|}}}
 +
| {{#ifexpr: {{{hitcurse}}} >= 1
 +
  | {{!}} {{Colored Link|Hit Curse|color=FFFFFF}} {{{hitcurse}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{hitdispel|}}} | {{#ifexpr: {{{hitdispel}}} >= 1 | {{!}} {{Colored Link|Hit Dispel|color=FFFFFF}} {{{hitdispel}}}% }} }}
+
{{#if: {{{hitdispel|}}}
 +
| {{#ifexpr: {{{hitdispel}}} >= 1
 +
  | {{!}} {{Colored Link|Hit Dispel|color=FFFFFF}} {{{hitdispel}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{hitfireball|}}} | {{#ifexpr: {{{hitfireball}}} >= 1 | {{!}} {{Colored Link|Hit Fireball|color=FFFFFF}} {{{hitfireball}}}% }} }}
+
{{#if: {{{hitfireball|}}}
 +
| {{#ifexpr: {{{hitfireball}}} >= 1
 +
  | {{!}} {{Colored Link|Hit Fireball|color=FFFFFF}} {{{hitfireball}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{hitharm|}}} | {{#ifexpr: {{{hitharm}}} >= 1 | {{!}} {{Colored Link|Hit Harm|color=FFFFFF}} {{{hitharm}}}% }} }}
+
{{#if: {{{hitharm|}}}
 +
| {{#ifexpr: {{{hitharm}}} >= 1
 +
  | {{!}} {{Colored Link|Hit Harm|color=FFFFFF}} {{{hitharm}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{hitlightning|}}} | {{#ifexpr: {{{hitlightning}}} >= 1 | {{!}} {{Colored Link|Hit Lightning|color=FFFFFF}} {{{hitlightning}}}% }} }}
+
{{#if: {{{hitlightning|}}}
 +
| {{#ifexpr: {{{hitlightning}}} >= 1
 +
  | {{!}} {{Colored Link|Hit Lightning|color=FFFFFF}} {{{hitlightning}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{hitmagicarrow|}}} | {{#ifexpr: {{{hitmagicarrow}}} >= 1 | {{!}} {{Colored Link|Hit Magic Arrow|color=FFFFFF}} {{{hitmagicarrow}}}% }} }}
+
{{#if: {{{hitmagicarrow|}}}
 +
| {{#ifexpr: {{{hitmagicarrow}}} >= 1
 +
  | {{!}} {{Colored Link|Hit Magic Arrow|color=FFFFFF}} {{{hitmagicarrow}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{hitcoldarea|}}} | {{#ifexpr: {{{hitenergyarea}}} >= 1 | {{!}} {{Colored Link|Hit Cold Area|color=FFFFFF}} {{{hitcoldarea}}}% }} }}
+
{{#if: {{{hitcoldarea|}}}
 +
| {{#ifexpr: {{{hitenergyarea}}} >= 1
 +
  | {{!}} {{Colored Link|Hit Cold Area|color=FFFFFF}} {{{hitcoldarea}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{hitenergyarea|}}} | {{#ifexpr: {{{hitenergyarea}}} >= 1 | {{!}} {{Colored Link|Hit Energy Area|color=FFFFFF}} {{{hitenergyarea}}}% }} }}
+
{{#if: {{{hitenergyarea|}}}
 +
| {{#ifexpr: {{{hitenergyarea}}} >= 1
 +
  | {{!}} {{Colored Link|Hit Energy Area|color=FFFFFF}} {{{hitenergyarea}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{hitfirearea|}}} | {{#ifexpr: {{{hitfirearea}}} >= 1 | {{!}} {{Colored Link|Hit Fire Area|color=FFFFFF}} {{{hitfirearea}}}% }} }}
+
{{#if: {{{hitfirearea|}}}
 +
| {{#ifexpr: {{{hitfirearea}}} >= 1
 +
  | {{!}} {{Colored Link|Hit Fire Area|color=FFFFFF}} {{{hitfirearea}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{hitphysicalarea|}}} | {{#ifexpr: {{{hitphysicalarea}}} >= 1 | {{!}} {{Colored Link|Hit Physical Area|color=FFFFFF}} {{{hitphysicalarea}}}% }} }}
+
{{#if: {{{hitphysicalarea|}}}
 +
| {{#ifexpr: {{{hitphysicalarea}}} >= 1
 +
  | {{!}} {{Colored Link|Hit Physical Area|color=FFFFFF}} {{{hitphysicalarea}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{hitpoisonarea|}}} | {{#ifexpr: {{{hitpoisonarea}}} >= 1 | {{!}} {{Colored Link|Hit Poison Area|color=FFFFFF}} {{{hitpoisonarea}}}% }} }}
+
{{#if: {{{hitpoisonarea|}}}
 +
| {{#ifexpr: {{{hitpoisonarea}}} >= 1
 +
  | {{!}} {{Colored Link|Hit Poison Area|color=FFFFFF}} {{{hitpoisonarea}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{hitlowerdefense|}}} | {{#ifexpr: {{{hitlowerdefense}}} >= 1 | {{!}} {{Colored Link|Hit Lower Defense|color=FFFFFF}} {{{hitlowerdefense}}}% }} }}
+
{{#if: {{{hitlowerdefense|}}}
 +
| {{#ifexpr: {{{hitlowerdefense}}} >= 1
 +
  | {{!}} {{Colored Link|Hit Lower Defense|color=FFFFFF}} {{{hitlowerdefense}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{hitlowerattack|}}} | {{#ifexpr: {{{hitlowerattack}}} >= 1 | {{!}} {{Colored Link|Hit Lower Attack|color=FFFFFF}} {{{hitlowerattack}}}% }} }}
+
{{#if: {{{hitlowerattack|}}}
 
+
| {{#ifexpr: {{{hitlowerattack}}} >= 1
<!-- Balanced -->
+
  | {{!}} {{Colored Link|Hit Lower Attack|color=FFFFFF}} {{{hitlowerattack}}}%
 +
  }}
 +
}}
 
|-
 
|-
 
{{#if: {{{balanced|}}}
 
{{#if: {{{balanced|}}}
 
| {{!}} {{Colored Link|Balanced|color=FFFFFF}}
 
| {{!}} {{Colored Link|Balanced|color=FFFFFF}}
 
}}
 
}}
 
<!-- Blood Drinker -->
 
 
|-
 
|-
 
{{#if: {{{blooddrinker|}}}
 
{{#if: {{{blooddrinker|}}}
 
| {{!}} {{Colored Link|Blood Drinker|color=FFFFFF}}
 
| {{!}} {{Colored Link|Blood Drinker|color=FFFFFF}}
 
}}
 
}}
 
<!-- Battle Lust -->
 
 
|-
 
|-
 
{{#if: {{{battlelust|}}}
 
{{#if: {{{battlelust|}}}
 
| {{!}} {{Colored Link|Battle Lust|color=FFFFFF}}
 
| {{!}} {{Colored Link|Battle Lust|color=FFFFFF}}
 
}}
 
}}
 
<!-- Mana Phase -->
 
 
|-
 
|-
 
{{#if: {{{manaphase|}}}
 
{{#if: {{{manaphase|}}}
 
| {{!}} {{Colored Link|Mana Phase|color=FFFFFF}}
 
| {{!}} {{Colored Link|Mana Phase|color=FFFFFF}}
 
}}
 
}}
 
<!-- Spell Focusing -->
 
 
|-
 
|-
 
{{#if: {{{spellfocusing|}}}
 
{{#if: {{{spellfocusing|}}}
 
| {{!}} {{Colored Link|Spell Focusing|color=FFFFFF}}
 
| {{!}} {{Colored Link|Spell Focusing|color=FFFFFF}}
 
}}
 
}}
 
<!-- Brittle -->
 
 
|-
 
|-
 
{{#if: {{{brittle|}}}
 
{{#if: {{{brittle|}}}
 
| {{!}} {{Colored Link|Brittle|color=FFFFFF}}
 
| {{!}} {{Colored Link|Brittle|color=FFFFFF}}
 
}}
 
}}
 
<!-- Surge HP Regeneration -->
 
 
|-
 
|-
 
{{#if: {{{surgehpregeneration|}}}
 
{{#if: {{{surgehpregeneration|}}}
Line 967: Line 993:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Surge Stamina Regeneration -->
 
 
|-
 
|-
 
{{#if: {{{surgestaminaregeneration|}}}
 
{{#if: {{{surgestaminaregeneration|}}}
Line 975: Line 999:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Surge Mana Regeneration -->
 
 
|-
 
|-
 
{{#if: {{{surgemanaregeneration|}}}
 
{{#if: {{{surgemanaregeneration|}}}
Line 983: Line 1,005:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Reactive Paralyze -->
 
 
|-
 
|-
 
{{#if: {{{reactiveparalyze|}}}
 
{{#if: {{{reactiveparalyze|}}}
 
| {{!}} {{Colored Link|Reactive Paralyze|color=FFFFFF}}
 
| {{!}} {{Colored Link|Reactive Paralyze|color=FFFFFF}}
 
}}
 
}}
 
<!-- Casting Focus -->
 
 
|-
 
|-
 
{{#if: {{{castingfocus|}}}
 
{{#if: {{{castingfocus|}}}
Line 997: Line 1,015:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Splintering Weapon -->
 
 
|-
 
|-
 
{{#if: {{{splinteringweapon|}}}
 
{{#if: {{{splinteringweapon|}}}
Line 1,005: Line 1,021:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Random Protection -->
 
 
|-
 
|-
 
{{#if: {{{randomprotection|}}}
 
{{#if: {{{randomprotection|}}}
 
| {{!}} Random {{Colored Link|Protection|color=FFFFFF}}
 
| {{!}} Random {{Colored Link|Protection|color=FFFFFF}}
 
}}
 
}}
 
<!-- Increased Weapon Damage -->
 
 
|-
 
|-
 
{{#if: {{{increasedweapondamage|}}}
 
{{#if: {{{increasedweapondamage|}}}
Line 1,019: Line 1,031:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Self Repair -->
 
 
|-
 
|-
 
{{#if: {{{selfrepair|}}}
 
{{#if: {{{selfrepair|}}}
Line 1,027: Line 1,037:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Strength Bonus -->
 
 
|-
 
|-
 
{{#if: {{{strengthbonus|}}}
 
{{#if: {{{strengthbonus|}}}
Line 1,035: Line 1,043:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Dexterity Bonus -->
 
 
|-
 
|-
 
{{#if: {{{dexteritybonus|}}}
 
{{#if: {{{dexteritybonus|}}}
Line 1,043: Line 1,049:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Intelligence Bonus -->
 
 
|-
 
|-
 
{{#if: {{{intelligencebonus|}}}
 
{{#if: {{{intelligencebonus|}}}
Line 1,051: Line 1,055:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Hit Point Increase -->
 
 
|-
 
|-
 
{{#if: {{{hitpointincrease|}}}
 
{{#if: {{{hitpointincrease|}}}
Line 1,059: Line 1,061:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Stamina Increase -->
 
 
|-
 
|-
 
{{#if: {{{staminaincrease|}}}
 
{{#if: {{{staminaincrease|}}}
Line 1,067: Line 1,067:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Mana Increase -->
 
 
|-
 
|-
 
{{#if: {{{manaincrease|}}}
 
{{#if: {{{manaincrease|}}}
Line 1,075: Line 1,073:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Hit Point Regeneration -->
 
 
|-
 
|-
 
{{#if: {{{hitpointregeneration|}}}
 
{{#if: {{{hitpointregeneration|}}}
Line 1,083: Line 1,079:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Stamina Regeneration -->
 
 
|-
 
|-
 
{{#if: {{{staminaregeneration|}}}
 
{{#if: {{{staminaregeneration|}}}
Line 1,091: Line 1,085:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Mana Regeneration -->
 
 
|-
 
|-
 
{{#if: {{{manaregeneration|}}}
 
{{#if: {{{manaregeneration|}}}
Line 1,099: Line 1,091:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Night Sight -->
 
 
|-
 
|-
 
{{#if: {{{nightsight|}}}
 
{{#if: {{{nightsight|}}}
 
| {{!}} {{Colored Link|Night Sight (Property)|Night Sight|color=FFFFFF}}
 
| {{!}} {{Colored Link|Night Sight (Property)|Night Sight|color=FFFFFF}}
 
}}
 
}}
 
<!-- Luck -->
 
 
|-
 
|-
 
{{#if: {{{luck|}}}
 
{{#if: {{{luck|}}}
Line 1,113: Line 1,101:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Enhance Potions -->
 
 
|-
 
|-
{{#if: {{{enhancepotions|}}} | {{#ifexpr: {{{enhancepotions}}} >= 1 | {{!}} {{Colored Link|Enhance Potions|color=FFFFFF}} {{{enhancepotions}}}% }} }}
+
{{#if: {{{enhancepotions|}}}
 
+
| {{#ifexpr: {{{enhancepotions}}} >= 1
<!-- Reflect Physical Damage -->
+
  | {{!}} {{Colored Link|Enhance Potions|color=FFFFFF}} {{{enhancepotions}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{reflectphysicaldamage|}}} | {{#ifexpr: {{{reflectphysicaldamage}}} >= 1 | {{!}} {{Colored Link|Reflect Physical Damage|color=FFFFFF}} {{{reflectphysicaldamage}}}% }} }}
+
{{#if: {{{reflectphysicaldamage|}}}
 
+
| {{#ifexpr: {{{reflectphysicaldamage}}} >= 1
<!-- Hit Chance Increase -->
+
  | {{!}} {{Colored Link|Reflect Physical Damage|color=FFFFFF}} {{{reflectphysicaldamage}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{hitchanceincrease|}}} | {{#ifexpr: {{{hitchanceincrease}}} >= 1 | {{!}} {{Colored Link|Hit Chance Increase|color=FFFFFF}} {{{hitchanceincrease}}}% }} }}
+
{{#if: {{{hitchanceincrease|}}}
 
+
| {{#ifexpr: {{{hitchanceincrease}}} >= 1
<!-- Defense Chance Increase -->
+
  | {{!}} {{Colored Link|Hit Chance Increase|color=FFFFFF}} {{{hitchanceincrease}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{defensechanceincrease|}}} | {{#ifexpr: {{{defensechanceincrease}}} >= 1 | {{!}} {{Colored Link|Defense Chance Increase|color=FFFFFF}} {{{defensechanceincrease}}}% }} }}
+
{{#if: {{{defensechanceincrease|}}}
 
+
| {{#ifexpr: {{{defensechanceincrease}}} >= 1
<!-- Faster Casting -->
+
  | {{!}} {{Colored Link|Defense Chance Increase|color=FFFFFF}} {{{defensechanceincrease}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{fastercasting|}}} | {{#ifexpr: {{{fastercasting}}} >= 1 | {{!}} {{Colored Link|Faster Casting|color=FFFFFF}} {{{fastercasting}}} }} }}
+
{{#if: {{{fastercasting|}}}
 
+
| {{#ifexpr: {{{fastercasting}}} >= 1
<!-- Faster Cast Recovery -->
+
  | {{!}} {{Colored Link|Faster Casting|color=FFFFFF}} {{{fastercasting}}}
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{fastercastrecovery|}}} | {{#ifexpr: {{{fastercastrecovery}}} >= 1 | {{!}} {{Colored Link|Faster Cast Recovery|color=FFFFFF}} {{{fastercastrecovery}}} }} }}
+
{{#if: {{{fastercastrecovery|}}}
 
+
| {{#ifexpr: {{{fastercastrecovery}}} >= 1
<!-- Swing Speed Increase -->
+
  | {{!}} {{Colored Link|Faster Cast Recovery|color=FFFFFF}} {{{fastercastrecovery}}}
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{swingspeedincrease|}}} | {{#ifexpr: {{{swingspeedincrease}}} >= 1 | {{!}} {{Colored Link|Swing Speed Increase|color=FFFFFF}} {{{swingspeedincrease}}}% }} }}
+
{{#if: {{{swingspeedincrease|}}}
 
+
| {{#ifexpr: {{{swingspeedincrease}}} >= 1
<!-- Damage Increase -->
+
  | {{!}} {{Colored Link|Swing Speed Increase|color=FFFFFF}} {{{swingspeedincrease}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{damageincrease|}}} | {{#ifexpr: {{{damageincrease}}} >= 1 | {{!}} {{Colored Link|Damage Increase|color=FFFFFF}} {{{damageincrease}}}% }} }}
+
{{#if: {{{damageincrease|}}}
 
+
| {{#ifexpr: {{{damageincrease}}} >= 1
<!-- Spell Damage Increase -->
+
  | {{!}} {{Colored Link|Damage Increase|color=FFFFFF}} {{{damageincrease}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{spelldamageincrease|}}} | {{#ifexpr: {{{spelldamageincrease}}} >= 1 | {{!}} {{Colored Link|Spell Damage Increase|color=FFFFFF}} {{{spelldamageincrease}}}% }} }}
+
{{#if: {{{spelldamageincrease|}}}
 
+
| {{#ifexpr: {{{spelldamageincrease}}} >= 1
<!-- Lower Mana Cost -->
+
  | {{!}} {{Colored Link|Spell Damage Increase|color=FFFFFF}} {{{spelldamageincrease}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{lowermanacost|}}} | {{#ifexpr: {{{lowermanacost}}} >= 1 | {{!}} {{Colored Link|Lower Mana Cost|color=FFFFFF}} {{{lowermanacost}}}% }} }}
+
{{#if: {{{lowermanacost|}}}
 
+
| {{#ifexpr: {{{lowermanacost}}} >= 1
<!-- Lower Reagant Cost -->
+
  | {{!}} {{Colored Link|Lower Mana Cost|color=FFFFFF}} {{{lowermanacost}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{lowerreagentcost|}}} | {{#ifexpr: {{{lowerreagentcost}}} >= 1 | {{!}} {{Colored Link|Lower Reagent Cost|color=FFFFFF}} {{{lowerreagentcost}}}% }} }}
+
{{#if: {{{lowerreagentcost|}}}
 
+
| {{#ifexpr: {{{lowerreagentcost}}} >= 1
<!-- Arcane Charges -->
+
  | {{!}} {{Colored Link|Lower Reagent Cost|color=FFFFFF}} {{{lowerreagentcost}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{arcanecharges|}}} | {{#ifexpr: {{{arcanecharges}}} >= 1 | {{!}} {{Colored Link|Arcane Charge|Arcane Charges|color=FFFFFF}}: {{{arcanecharges}}} }} }}
+
{{#if: {{{arcanecharges|}}}
 
+
| {{#ifexpr: {{{arcanecharges}}} >= 1
<!-- Resists -->
+
  | {{!}} {{Colored Link|Arcane Charge|Arcane Charges|color=FFFFFF}}: {{{arcanecharges}}}
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{randomresist|}}} | {{#ifexpr: {{{randomresist}}} >= 1 | {{!}} {{Colored Link|Random Resist|color=FFFFFF}} {{{randomresist}}}% }} }}
+
{{#if: {{{randomresist|}}}
 +
| {{#ifexpr: {{{randomresist}}} >= 1
 +
  | {{!}} {{Colored Link|Random Resist|color=FFFFFF}} {{{randomresist}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{physicalresist|}}} | {{#ifexpr: {{{physicalresist}}} >= 1 | {{!}} {{Colored Link|Physical Resist|color=FFFFFF}} {{{physicalresist}}}% }} }}
+
{{#if: {{{physicalresist|}}}
 +
| {{#ifexpr: {{{physicalresist}}} >= 1
 +
  | {{!}} {{Colored Link|Physical Resist|color=FFFFFF}} {{{physicalresist}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{fireresist|}}} | {{#ifexpr: {{{fireresist}}} >= 1 | {{!}} {{Colored Link|Fire Resist|color=FFFFFF}} {{{fireresist}}}% }} }}
+
{{#if: {{{fireresist|}}}
 +
| {{#ifexpr: {{{fireresist}}} >= 1
 +
  | {{!}} {{Colored Link|Fire Resist|color=FFFFFF}} {{{fireresist}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{coldresist|}}} | {{#ifexpr: {{{coldresist}}} >= 1 | {{!}} {{Colored Link|Cold Resist|color=FFFFFF}} {{{coldresist}}}% }} }}
+
{{#if: {{{coldresist|}}}
 +
| {{#ifexpr: {{{coldresist}}} >= 1
 +
  | {{!}} {{Colored Link|Cold Resist|color=FFFFFF}} {{{coldresist}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{poisonresist|}}} | {{#ifexpr: {{{poisonresist}}} >= 1 | {{!}} {{Colored Link|Poison Resist|color=FFFFFF}} {{{poisonresist}}}% }} }}
+
{{#if: {{{poisonresist|}}}
 +
| {{#ifexpr: {{{poisonresist}}} >= 1
 +
  | {{!}} {{Colored Link|Poison Resist|color=FFFFFF}} {{{poisonresist}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{energyresist|}}} | {{#ifexpr: {{{energyresist}}} >= 1 | {{!}} {{Colored Link|Energy Resist|color=FFFFFF}} {{{energyresist}}}% }} }}
+
{{#if: {{{energyresist|}}}
 
+
| {{#ifexpr: {{{energyresist}}} >= 1
<!-- Mage Armor -->
+
  | {{!}} {{Colored Link|Energy Resist|color=FFFFFF}} {{{energyresist}}}%
 +
  }}
 +
}}
 
|-
 
|-
 
{{#if: {{{magearmor|}}}
 
{{#if: {{{magearmor|}}}
 
| {{!}} {{Colored Link|Mage Armor|color=FFFFFF}}
 
| {{!}} {{Colored Link|Mage Armor|color=FFFFFF}}
 
}}
 
}}
 
<!-- Use Best Weapon Skill -->
 
 
|-
 
|-
 
{{#if: {{{usebestweaponskill|}}}
 
{{#if: {{{usebestweaponskill|}}}
 
| {{!}} {{Colored Link|Use Best Weapon Skill|color=FFFFFF}}
 
| {{!}} {{Colored Link|Use Best Weapon Skill|color=FFFFFF}}
 
}}
 
}}
 
<!-- Damage Types -->
 
 
|-
 
|-
{{#if: {{{directdamage|}}} | {{#ifexpr: {{{directdamage}}} >= 1 | {{!}} {{Colored Link|Direct Damage|color=FFFFFF}} {{{directdamage}}}% }} }}
+
{{#if: {{{directdamage|}}}
 +
| {{#ifexpr: {{{directdamage}}} >= 1
 +
  | {{!}} {{Colored Link|Direct Damage|color=FFFFFF}} {{{directdamage}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{chaosdamage|}}} | {{#ifexpr: {{{chaosdamage}}} >= 1 | {{!}} {{Colored Link|Chaos Damage|color=FFFFFF}} {{{chaosdamage}}}% }} }}
+
{{#if: {{{chaosdamage|}}}
 +
| {{#ifexpr: {{{chaosdamage}}} >= 1
 +
  | {{!}} {{Colored Link|Chaos Damage|color=FFFFFF}} {{{chaosdamage}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{physicaldamage|}}} | {{#ifexpr: {{{physicaldamage}}} >= 1 | {{!}} {{Colored Link|Physical Damage|color=FFFFFF}} {{{physicaldamage}}}% }} }}
+
{{#if: {{{physicaldamage|}}}
 +
| {{#ifexpr: {{{physicaldamage}}} >= 1
 +
  | {{!}} {{Colored Link|Physical Damage|color=FFFFFF}} {{{physicaldamage}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{firedamage|}}} | {{#ifexpr: {{{firedamage}}} >= 1 | {{!}} {{Colored Link|Fire Damage|color=FFFFFF}} {{{firedamage}}}% }} }}
+
{{#if: {{{firedamage|}}}
 +
| {{#ifexpr: {{{firedamage}}} >= 1
 +
  | {{!}} {{Colored Link|Fire Damage|color=FFFFFF}} {{{firedamage}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{colddamage|}}} | {{#ifexpr: {{{colddamage}}} >= 1 | {{!}} {{Colored Link|Cold Damage|color=FFFFFF}} {{{colddamage}}}% }} }}
+
{{#if: {{{colddamage|}}}
 +
| {{#ifexpr: {{{colddamage}}} >= 1
 +
  | {{!}} {{Colored Link|Cold Damage|color=FFFFFF}} {{{colddamage}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{poisondamage|}}} | {{#ifexpr: {{{poisondamage}}} >= 1 | {{!}} {{Colored Link|Poison Damage|color=FFFFFF}} {{{poisondamage}}}% }} }}
+
{{#if: {{{poisondamage|}}}
 +
| {{#ifexpr: {{{poisondamage}}} >= 1
 +
  | {{!}} {{Colored Link|Poison Damage|color=FFFFFF}} {{{poisondamage}}}%
 +
  }}
 +
}}
 
|-
 
|-
{{#if: {{{energydamage|}}} | {{#ifexpr: {{{energydamage}}} >= 1 | {{!}} {{Colored Link|Energy Damage|color=FFFFFF}} {{{energydamage}}}% }} }}
+
{{#if: {{{energydamage|}}}
 
+
| {{#ifexpr: {{{energydamage}}} >= 1
<!-- Weapon Damage -->
+
  | {{!}} {{Colored Link|Energy Damage|color=FFFFFF}} {{{energydamage}}}%
 +
  }}
 +
}}
 
|-
 
|-
 
{{#if: {{{mindamage|}}}
 
{{#if: {{{mindamage|}}}
Line 1,215: Line 1,269:
 
   }}
 
   }}
 
}}
 
}}
 
<!----------Weapon Damage--------->
 
|-
 
{{#if: {{{weapondamage|}}}|
 
{{!}} {{Colored Link|Weapon Damage|color=ffffff}} {{{weapondamage}}}
 
}}
 
 
<!-- Weapon Speed -->
 
 
|-
 
|-
 
{{#if: {{{weaponspeed|}}}
 
{{#if: {{{weaponspeed|}}}
Line 1,229: Line 1,275:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Range -->
 
 
|-
 
|-
 
{{#if: {{{range|}}}
 
{{#if: {{{range|}}}
Line 1,237: Line 1,281:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Lower Requirements -->
 
 
|-
 
|-
 
{{#if: {{{lowerrequirements|}}}
 
{{#if: {{{lowerrequirements|}}}
Line 1,245: Line 1,287:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Strength Requirement -->
 
 
|-
 
|-
 
{{#if: {{{strengthrequirement|}}}
 
{{#if: {{{strengthrequirement|}}}
Line 1,253: Line 1,293:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- One- or Two-Handed Weapon -->
 
 
|-
 
|-
 
{{#if: {{{handedweapon|}}}
 
{{#if: {{{handedweapon|}}}
Line 1,262: Line 1,300:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Skill Required -->
 
 
|-
 
|-
 
{{#if: {{{skillrequired|}}}
 
{{#if: {{{skillrequired|}}}
Line 1,274: Line 1,310:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Durability -->
 
 
|-
 
|-
 
{{#if: {{{durability|}}}
 
{{#if: {{{durability|}}}
Line 1,282: Line 1,316:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Durability Range? -->
 
 
|-
 
|-
 
{{#if: {{{mindurability|}}}
 
{{#if: {{{mindurability|}}}
Line 1,290: Line 1,322:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Lower Ammo Cost -->
 
 
|-
 
|-
 
{{#if: {{{lowerammocost|}}}
 
{{#if: {{{lowerammocost|}}}
Line 1,298: Line 1,328:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Charges Remaining -->
 
 
|-
 
|-
 
{{#if: {{{chargesremaining|}}}
 
{{#if: {{{chargesremaining|}}}
Line 1,309: Line 1,337:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Contents -->
 
 
|-
 
|-
 
{{#if: {{{contentsitems|}}}
 
{{#if: {{{contentsitems|}}}
Line 1,330: Line 1,356:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Weight Reduction -->
 
 
|-
 
|-
 
{{#if: {{{weightreduction|}}}
 
{{#if: {{{weightreduction|}}}
Line 1,338: Line 1,362:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Replenish Charges -->
 
 
|-
 
|-
 
{{#if: {{{replenishcharges|}}}
 
{{#if: {{{replenishcharges|}}}
 
| {{!}} {{Colored Link|Replenish Charges|color=FFFFFF}}
 
| {{!}} {{Colored Link|Replenish Charges|color=FFFFFF}}
 
}}
 
}}
 
<!-- Increased Karma Loss -->
 
 
|-
 
|-
 
{{#if: {{{increasedkarmaloss|}}}
 
{{#if: {{{increasedkarmaloss|}}}
Line 1,352: Line 1,372:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Spells -->
 
 
|-
 
|-
 
{{#if: {{{spells|}}}
 
{{#if: {{{spells|}}}
Line 1,363: Line 1,381:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Turned On/Off -->
 
 
|-
 
|-
 
{{#if: {{{turnedonoff|}}}
 
{{#if: {{{turnedonoff|}}}
 
| {{#switch: {{{turnedonoff}}}
 
| {{#switch: {{{turnedonoff}}}
   | on | oN | On | ON = {{!}} {{Colored Link|Turned On|color=FFFFFF}}
+
   | on = {{!}} {{Colored Link|Turned On|color=FFFFFF}}
   | off | ofF | oFf | oFF | Off | OfF | OFf | OFF = {{!}} {{Colored Link|Turned On|Turned Off|color=FFFFFF}}
+
   | off = {{!}} {{Colored Link|Turned On|Turned Off|color=FFFFFF}}
 
   }}
 
   }}
 
}}
 
}}
 
<!----------Increased Karma Loss--------->
 
|-
 
{{#if: {{{increasedkarmaloss|}}}|
 
{{!}} {{Colored Link|Increased Karma Loss|color=ffffff}} {{{increasedkarmaloss}}}%
 
}}
 
 
<!----------Spells--------->
 
|-
 
{{#if: {{{spells|}}}|
 
{{!}} {{{spells}}} {{Colored Link|Spells|color=ffffff}}
 
}}
 
 
<!----------Turned On--------->
 
|-
 
{{#if: {{{turnedon|}}}|
 
{{!}} {{Colored Link|Turned On|color=ffffff}}
 
}}
 
 
<!----------Turned Off--------->
 
|-
 
{{#if: {{{turnedoff|}}}|
 
{{!}} {{Colored Link|Turned On|Turned Off|color=ffffff}}
 
}}
 
 
<!----------Contents--------->
 
|-
 
{{#if: {{{contents|}}}|
 
{{!}} {{Colored Link|Contents|color=ffffff}}: 0/1 {{Colored Link|Items|color=ffffff}}, 0/50 {{Colored Link|Stones|color=ffffff}}
 
}}
 
 
<!----------(Standard) Contents--------->
 
|-
 
{{#if: {{{standardcontents|}}}|
 
{{!}} {{Colored Link|Contents|color=ffffff}}: 0/125 {{Colored Link|Items|color=ffffff}}, 0/400 {{Colored Link|Stones|color=ffffff}}
 
}}
 
 
<!-- Petals -->
 
 
|-
 
|-
 
{{#if: {{{petals|}}}
 
{{#if: {{{petals|}}}
Line 1,416: Line 1,394:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Common Tracks -->
 
 
|-
 
|-
 
{{#if: {{{commontracks|}}}
 
{{#if: {{{commontracks|}}}
Line 1,427: Line 1,403:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Uncommon Tracks -->
 
 
|-
 
|-
 
{{#if: {{{uncommontracks|}}}
 
{{#if: {{{uncommontracks|}}}
Line 1,438: Line 1,412:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Rare Tracks -->
 
 
|-
 
|-
 
{{#if: {{{raretracks|}}}
 
{{#if: {{{raretracks|}}}
Line 1,449: Line 1,421:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Only When Full Set Is Present -->
 
 
|-
 
|-
 
{{#if: {{{fullsetispresent|}}}
 
{{#if: {{{fullsetispresent|}}}
Line 1,457: Line 1,427:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Set Physical Resist -->
 
 
|-
 
|-
 
{{#if: {{{setphysicalresist|}}}
 
{{#if: {{{setphysicalresist|}}}
Line 1,465: Line 1,433:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Set Fire Resist -->
 
 
|-
 
|-
 
{{#if: {{{setfireresist|}}}
 
{{#if: {{{setfireresist|}}}
Line 1,473: Line 1,439:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Set Cold Resist -->
 
 
|-
 
|-
 
{{#if: {{{setcoldresist|}}}
 
{{#if: {{{setcoldresist|}}}
Line 1,481: Line 1,445:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Set Poison Resist -->
 
 
|-
 
|-
 
{{#if: {{{setpoisonresist|}}}
 
{{#if: {{{setpoisonresist|}}}
Line 1,489: Line 1,451:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Set Energy Resist -->
 
 
|-
 
|-
 
{{#if: {{{setenergyresist|}}}
 
{{#if: {{{setenergyresist|}}}
Line 1,497: Line 1,457:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Set Self Repair -->
 
 
|-
 
|-
 
{{#if: {{{setselfrepair|}}}
 
{{#if: {{{setselfrepair|}}}
Line 1,505: Line 1,463:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Set Strength Bonus -->
 
 
|-
 
|-
 
{{#if: {{{setstrengthbonus|}}}
 
{{#if: {{{setstrengthbonus|}}}
Line 1,513: Line 1,469:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Set Luck -->
 
 
|-
 
|-
 
{{#if: {{{setluck|}}}
 
{{#if: {{{setluck|}}}
Line 1,521: Line 1,475:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Set Reflect Physical Damage -->
 
 
|-
 
|-
 
{{#if: {{{setreflectphysical|}}}
 
{{#if: {{{setreflectphysical|}}}
Line 1,529: Line 1,481:
 
   }}
 
   }}
 
}}
 
}}
 
<!-- Set Night Sight -->
 
 
|-
 
|-
 
{{#if: {{{setnightsight|}}}
 
{{#if: {{{setnightsight|}}}
Line 1,537: Line 1,487:
 
   }}
 
   }}
 
}}
 
}}
 
 
<!-- Padding (Not an Item Property) -->
 
<!-- Padding (Not an Item Property) -->
 
|-
 
|-

Revision as of 16:37, 10 April 2011

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:Itembox 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

{{Itembox
|image=
|name=
|usesremaining=
|blessed=
|weight=
|recoveredfromashipwreck=
|armorset=
|weaponarmorset=
|jewelryset=
|durabilityincrease=
|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=
|stealth=
|swordsmanship=
|tactics=
|tailoring=
|tasteidentification=
|throwing=
|tinkering=
|tracking=
|veterinary=
|wrestling=
|randomskill=
|randomcombatskill=
|requirementmondainslegacy=
|damageeater=
|energyeater=
|poisoneater=
|coldeater=
|fireeater=
|kineticeater=
|randomresonance=
|fireresonance=
|coldresonance=
|poisonresonance=
|energyresonance=
|kineticresonance=
|soulcharge=
|velocity=
|spellchanneling=
|mageweapon=
|hitlifeleech=
|hitstaminaleech=
|hitmanaleech=
|slayer=
|slayer2=
|randomitemproperty1=
|randomitemproperty2=
|randomitemproperty3=
|hitmanadrain=
|hitfatigue=
|hitcurse=
|hitdispel=
|hitfireball=
|hitharm=
|hitlightning=
|hitmagicarrow=
|hitcoldarea=
|hitenergyarea=
|hitfirearea=
|hitphysicalarea=
|hitpoisonarea=
|hitlowerdefense=
|hitlowerattack=
|balanced=
|blooddrinker=
|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=
|swingspeedincrease=
|damageincrease=
|spelldamageincrease=
|lowermanacost=
|lowerreagentcost=
|arcanecharges=
|randomresist=
|physicalresist=
|fireresist=
|coldresist=
|poisonresist=
|energyresist=
|magearmor=
|usebestweaponskill=
|directdamage=
|chaosdamage=
|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=
|turnedon=
|turnedoff=
|contents=
|standardcontents=
|turnedonoff=
|petals=
|commontracks=
|uncommontracks=
|raretracks=
|fullsetispresent=
|setphysicalresist=
|setfireresist=
|setcoldresist=
|setpoisonresist=
|setenergyresist=
|setselfrepair=
|setstrengthbonus=
|setluck=
|setreflectphysical=
|setnightsight=
}}

Parameters

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:Image Needed 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.

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).