Difference between revisions of "Template:Itembox"

m (Fixed slayer property.)
m
 
(32 intermediate revisions by the same user not shown)
Line 22: Line 22:
 
|artifactrarity=
 
|artifactrarity=
 
|spellconsumption=
 
|spellconsumption=
|highseas=
 
|stygianabyss=
 
 
|elvesonly=
 
|elvesonly=
|gargsonly=
+
|gargoylesonly=
|ammo=
+
|mondainslegacy=
|damagemodifier=
+
|stygianabyss=
 +
|highseas=
 
|manaburst=
 
|manaburst=
 
|frequency=
 
|frequency=
|burstlevel=
+
|spellconsumption=
 +
|ammo=
 +
|damagemodifier=
 
|alchemy=
 
|alchemy=
 
|anatomy=
 
|anatomy=
Line 67: Line 68:
 
|meditation=
 
|meditation=
 
|mining=
 
|mining=
|mysticism=
 
 
|musicianship=
 
|musicianship=
 +
|mysticism=
 
|necromancy=
 
|necromancy=
 
|ninjitsu=
 
|ninjitsu=
Line 93: Line 94:
 
|randomskill=
 
|randomskill=
 
|randomcombatskill=
 
|randomcombatskill=
|requirementmondainslegacy=
 
|damageeater=
 
|energyeater=
 
|poisoneater=
 
|coldeater=
 
|fireeater=
 
 
|kineticeater=
 
|kineticeater=
|randomresonance=
+
|fireeater=
 +
|coldeater=
 +
|poisoneater=
 +
|energyeater=
 +
|randomeater=
 +
|kineticresonance=
 
|fireresonance=
 
|fireresonance=
 
|coldresonance=
 
|coldresonance=
 
|poisonresonance=
 
|poisonresonance=
 
|energyresonance=
 
|energyresonance=
|kineticresonance=
+
|randomresonance=
 
|soulcharge=
 
|soulcharge=
 
|velocity=
 
|velocity=
Line 118: Line 118:
 
|randomitemproperty2=
 
|randomitemproperty2=
 
|randomitemproperty3=
 
|randomitemproperty3=
|hitmanadrain=
 
 
|hitfatigue=
 
|hitfatigue=
 +
|hitmanadrain=
 
|hitcurse=
 
|hitcurse=
 
|hitdispel=
 
|hitdispel=
Line 126: Line 126:
 
|hitlightning=
 
|hitlightning=
 
|hitmagicarrow=
 
|hitmagicarrow=
|hitcoldarea=
 
|hitenergyarea=
 
|hitfirearea=
 
 
|hitphysicalarea=
 
|hitphysicalarea=
 +
|hitfirearea=
 +
|hitcoldarea=
 
|hitpoisonarea=
 
|hitpoisonarea=
 +
|hitenergyarea=
 
|hitlowerdefense=
 
|hitlowerdefense=
 
|hitlowerattack=
 
|hitlowerattack=
Line 136: Line 136:
 
|blooddrinker=
 
|blooddrinker=
 
|battlelust=
 
|battlelust=
|charges=
 
 
|manaphase=
 
|manaphase=
 
|spellfocusing=
 
|spellfocusing=
 
|brittle=
 
|brittle=
 
|surgehpregeneration=
 
|surgehpregeneration=
|surgemanaregeneration=
 
 
|surgestaminaregeneration=
 
|surgestaminaregeneration=
 +
|surgemanaregeneration=
 
|reactiveparalyze=
 
|reactiveparalyze=
 
|castingfocus=
 
|castingfocus=
Line 148: Line 147:
 
|randomprotection=
 
|randomprotection=
 
|increasedweapondamage=
 
|increasedweapondamage=
 +
|increasedkarmaloss=
 
|selfrepair=
 
|selfrepair=
 
|strengthbonus=
 
|strengthbonus=
Line 181: Line 181:
 
|usebestweaponskill=
 
|usebestweaponskill=
 
|directdamage=
 
|directdamage=
|chaosdamage=
 
 
|physicaldamage=
 
|physicaldamage=
 
|firedamage=
 
|firedamage=
Line 187: Line 186:
 
|poisondamage=
 
|poisondamage=
 
|energydamage=
 
|energydamage=
 +
|chaosdamage=
 
|mindamage=
 
|mindamage=
 
|maxdamage=
 
|maxdamage=
Line 206: Line 206:
 
|weightreduction=
 
|weightreduction=
 
|replenishcharges=
 
|replenishcharges=
|increasedkarmaloss=
+
|autorecharge=
 
|spells=
 
|spells=
|turnedon=
 
|turnedoff=
 
|contents=
 
|standardcontents=
 
 
|turnedonoff=
 
|turnedonoff=
 
|petals=
 
|petals=
Line 217: Line 213:
 
|uncommontracks=
 
|uncommontracks=
 
|raretracks=
 
|raretracks=
|fullsetispresent=
+
|lifespan=
 
|setphysicalresist=
 
|setphysicalresist=
 
|setfireresist=
 
|setfireresist=
Line 228: Line 224:
 
|setreflectphysical=
 
|setreflectphysical=
 
|setnightsight=
 
|setnightsight=
 +
|setstealth=
 +
|setdexteritybonus=
 
}}</nowiki>
 
}}</nowiki>
 
|category=Information
 
|category=Information
Line 364: Line 362:
 
</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]]
<div id="itemImage" style="position:relative; z-index:1;">{{#if: {{{image|}}}
+
{{#if: {{{image|}}}
| [[File:{{{image}}}]]
+
| <div style="margin-top:{{#expr: -180 + {{#expr: 83 - {{#expr: {{#imgh: {{{image}}} }} / 2}} }} }}px; position:relative; z-index:1;">[[File:{{{image}}}]]</div>
| [[File:Image_Needed.png]]
+
| <div style="margin-top:-122px; position:relative; z-index:1;">[[File:Image_Needed.png]]</div>
 
{{Categorize|Image Needed}}
 
{{Categorize|Image Needed}}
}}</div>
+
}}
 
<div style="position:relative; z-index:1;">[[File:Cursor_Standard.png]]</div>
 
<div style="position:relative; z-index:1;">[[File:Cursor_Standard.png]]</div>
 
{| id="tooltip"
 
{| id="tooltip"
| style="color:#FFFF8F; padding-top:3px;" | {{{name|{{PAGENAME}}}}}
+
| style="color:#FFFF00; padding-top:3px;" | {{{name|{{PAGENAME}}}}}
 
|-
 
|-
 
{{#if: {{{usesremaining|}}}
 
{{#if: {{{usesremaining|}}}
Line 1,002: Line 1,000:
 
   | random = {{!}} Random {{Colored Link|Slayer|color=FFFFFF}}
 
   | random = {{!}} Random {{Colored Link|Slayer|color=FFFFFF}}
 
   | randomsuper = {{!}} Random {{Colored Link|Super Slayer|color=FFFFFF}}
 
   | randomsuper = {{!}} Random {{Colored Link|Super Slayer|color=FFFFFF}}
 +
  }}
 +
  {{#if: {{{slayer2|}}}
 +
  | {{#ifeq: {{{slayer2}}} | {{{slayer1}}}
 +
    |
 +
    | {{!}}-
 +
      {{#switch: {{{slayer2}}}
 +
      | airelemental = {{!}} {{Colored Link|Air Elemental Slayer|color=FFFFFF}}
 +
      | arachnid = {{!}} {{Colored Link|Arachnid Slayer|color=FFFFFF}}
 +
      | bloodelemental = {{!}} {{Colored Link|Blood Elemental Slayer|color=FFFFFF}}
 +
      | bovine = {{!}} {{Colored Link|Bovine Slayer|color=FFFFFF}}
 +
      | demon = {{!}} {{Colored Link|Demon Slayer|color=FFFFFF}}
 +
      | dragon = {{!}} {{Colored Link|Dragon Slayer|color=FFFFFF}}
 +
      | earthelemental = {{!}} {{Colored Link|Earth Elemental Slayer|color=FFFFFF}}
 +
      | elemental = {{!}} {{Colored Link|Elemental Slayer|color=FFFFFF}}
 +
      | fey = {{!}} {{Colored Link|Fey Slayer|color=FFFFFF}}
 +
      | fireelemental = {{!}} {{Colored Link|Fire Elemental Slayer|color=FFFFFF}}
 +
      | gargoyle = {{!}} {{Colored Link|Gargoyle Slayer|color=FFFFFF}}
 +
      | goblin = {{!}} {{Colored Link|Goblin Slayer|color=FFFFFF}}
 +
      | lizardman = {{!}} {{Colored Link|Lizardman Slayer|color=FFFFFF}}
 +
      | mage = {{!}} {{Colored Link|Mage Slayer|color=FFFFFF}}
 +
      | ogre = {{!}} {{Colored Link|Ogre Slayer|color=FFFFFF}}
 +
      | ophidian = {{!}} {{Colored Link|Ophidian Slayer|color=FFFFFF}}
 +
      | orc = {{!}} {{Colored Link|Orc Slayer|color=FFFFFF}}
 +
      | poisonelemental = {{!}} {{Colored Link|Poison Elemental Slayer|color=FFFFFF}}
 +
      | repond = {{!}} {{Colored Link|Repond Slayer|color=FFFFFF}}
 +
      | reptile = {{!}} {{Colored Link|Reptile Slayer|color=FFFFFF}}
 +
      | scorpion = {{!}} {{Colored Link|Scorpion Slayer|color=FFFFFF}}
 +
      | snake = {{!}} {{Colored Link|Snake Slayer|color=FFFFFF}}
 +
      | snowelemental = {{!}} {{Colored Link|Snow Elemental Slayer|color=FFFFFF}}
 +
      | spider = {{!}} {{Colored Link|Spider Slayer|color=FFFFFF}}
 +
      | terathan = {{!}} {{Colored Link|Terathan Slayer|color=FFFFFF}}
 +
      | troll = {{!}} {{Colored Link|Troll Slayer|color=FFFFFF}}
 +
      | undead = {{!}} {{Colored Link|Undead Slayer|color=FFFFFF}}
 +
      | waterelemental = {{!}} {{Colored Link|Water Elemental Slayer|color=FFFFFF}}
 +
      | random = {{!}} Random {{Colored Link|Slayer|color=FFFFFF}}
 +
      | randomsuper = {{!}} Random {{Colored Link|Super Slayer|color=FFFFFF}}
 +
      }}
 +
    }}
 
   }}
 
   }}
 
}}
 
}}
|-
 
{{#ifeq: {{{slayer2}}}|random|{{!}} Random {{Colored Link|Slayer|color=ffffff}} (Secondary)|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|randomsuper|{{!}} Random {{Colored Link|Super Slayer|color=ffffff}} (Secondary)|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|repond|{{!}} {{Colored Link|Repond Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|ogre|{{!}} {{Colored Link|Ogre Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|orc|{{!}} {{Colored Link|Orc Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|troll|{{!}} {{Colored Link|Troll Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|undead|{{!}} {{Colored Link|Undead Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|elemental|{{!}} {{Colored Link|Elemental Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|airelemental|{{!}} {{Colored Link|Air Elemental Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|bloodelemental|{{!}} {{Colored Link|Blood Elemental Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|earthelemental|{{!}} {{Colored Link|Earth Elemental Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|fireelemental|{{!}} {{Colored Link|Fire Elemental Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|poisonelemental|{{!}} {{Colored Link|Poison Elemental Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|snowelemental|{{!}} {{Colored Link|Snow Elemental Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|waterelemental|{{!}} {{Colored Link|Water Elemental Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|demon|{{!}} {{Colored Link|Demon Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|gargoyle|{{!}} {{Colored Link|Gargoyle Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|arachnid|{{!}} {{Colored Link|Arachnid Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|scorpion|{{!}} {{Colored Link|Scorpion Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|spider|{{!}} {{Colored Link|Spider Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|terathan|{{!}} {{Colored Link|Terathan Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|reptile|{{!}} {{Colored Link|Reptile Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|dragon|{{!}} {{Colored Link|Dragon Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|lizardman|{{!}} {{Colored Link|Lizardman Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|ophidian|{{!}} {{Colored Link|Ophidian Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|snake|{{!}} {{Colored Link|Snake Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|fey|{{!}} {{Colored Link|Fey Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|mage|{{!}} {{Colored Link|Mage Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|bovine|{{!}} {{Colored Link|Bovine Slayer|color=ffffff}}|}}
 
|-
 
{{#ifeq: {{{slayer2}}}|goblin|{{!}} {{Colored Link|Goblin Slayer|color=ffffff}}|}}
 
 
|-
 
|-
 
{{#if: {{{randomitemproperty1|}}}
 
{{#if: {{{randomitemproperty1|}}}
Line 1,125: Line 1,101:
 
}}
 
}}
 
|-
 
|-
{{#if: {{{hitcoldarea|}}}
+
{{#if: {{{hitphysicalarea|}}}
| {{#ifexpr: {{{hitenergyarea}}} >= 1
+
| {{#ifexpr: {{{hitphysicalarea}}} >= 1
   | {{!}} {{Colored Link|Hit Cold Area|color=FFFFFF}} {{{hitcoldarea}}}%
+
   | {{!}} {{Colored Link|Hit Physical Area|color=FFFFFF}} {{{hitphysicalarea}}}%
  }}
+
}}
+
|-
+
{{#if: {{{hitenergyarea|}}}
+
| {{#ifexpr: {{{hitenergyarea}}} >= 1
+
  | {{!}} {{Colored Link|Hit Energy Area|color=FFFFFF}} {{{hitenergyarea}}}%
+
 
   }}
 
   }}
 
}}
 
}}
Line 1,143: Line 1,113:
 
}}
 
}}
 
|-
 
|-
{{#if: {{{hitphysicalarea|}}}
+
{{#if: {{{hitcoldarea|}}}
| {{#ifexpr: {{{hitphysicalarea}}} >= 1
+
| {{#ifexpr: {{{hitenergyarea}}} >= 1
   | {{!}} {{Colored Link|Hit Physical Area|color=FFFFFF}} {{{hitphysicalarea}}}%
+
   | {{!}} {{Colored Link|Hit Cold Area|color=FFFFFF}} {{{hitcoldarea}}}%
 
   }}
 
   }}
 
}}
 
}}
Line 1,152: Line 1,122:
 
| {{#ifexpr: {{{hitpoisonarea}}} >= 1
 
| {{#ifexpr: {{{hitpoisonarea}}} >= 1
 
   | {{!}} {{Colored Link|Hit Poison Area|color=FFFFFF}} {{{hitpoisonarea}}}%
 
   | {{!}} {{Colored Link|Hit Poison Area|color=FFFFFF}} {{{hitpoisonarea}}}%
 +
  }}
 +
}}
 +
|-
 +
{{#if: {{{hitenergyarea|}}}
 +
| {{#ifexpr: {{{hitenergyarea}}} >= 1
 +
  | {{!}} {{Colored Link|Hit Energy Area|color=FFFFFF}} {{{hitenergyarea}}}%
 
   }}
 
   }}
 
}}
 
}}
Line 1,232: Line 1,208:
 
| {{#ifexpr: {{{increasedweapondamage}}} >= 1
 
| {{#ifexpr: {{{increasedweapondamage}}} >= 1
 
   | {{!}} {{Colored Link|Increased Weapon Damage|color=FFFFFF}}: {{{increasedweapondamage}}}%
 
   | {{!}} {{Colored Link|Increased Weapon Damage|color=FFFFFF}}: {{{increasedweapondamage}}}%
 +
  }}
 +
}}
 +
|-
 +
{{#if: {{{increasedkarmaloss|}}}
 +
| {{#ifexpr: {{{increasedkarmaloss}}} >= 1
 +
  | {{!}} {{Colored Link|Increased Karma Loss|color=FFFFFF}} {{{increasedkarmaloss}}}%
 
   }}
 
   }}
 
}}
 
}}
Line 1,424: Line 1,406:
 
| {{#ifexpr: {{{directdamage}}} >= 1
 
| {{#ifexpr: {{{directdamage}}} >= 1
 
   | {{!}} {{Colored Link|Direct Damage|color=FFFFFF}} {{{directdamage}}}%
 
   | {{!}} {{Colored Link|Direct Damage|color=FFFFFF}} {{{directdamage}}}%
  }}
 
}}
 
|-
 
{{#if: {{{chaosdamage|}}}
 
| {{#ifexpr: {{{chaosdamage}}} >= 1
 
  | {{!}} {{Colored Link|Chaos Damage|color=FFFFFF}} {{{chaosdamage}}}%
 
 
   }}
 
   }}
 
}}
 
}}
Line 1,460: Line 1,436:
 
| {{#ifexpr: {{{energydamage}}} >= 1
 
| {{#ifexpr: {{{energydamage}}} >= 1
 
   | {{!}} {{Colored Link|Energy Damage|color=FFFFFF}} {{{energydamage}}}%
 
   | {{!}} {{Colored Link|Energy Damage|color=FFFFFF}} {{{energydamage}}}%
 +
  }}
 +
}}
 +
|-
 +
{{#if: {{{chaosdamage|}}}
 +
| {{#ifexpr: {{{chaosdamage}}} >= 1
 +
  | {{!}} {{Colored Link|Chaos Damage|color=FFFFFF}} {{{chaosdamage}}}%
 
   }}
 
   }}
 
}}
 
}}
Line 1,570: Line 1,552:
 
}}
 
}}
 
|-
 
|-
{{#if: {{{increasedkarmaloss|}}}
+
{{#if: {{{autorecharge|}}}
| {{#ifexpr: {{{increasedkarmaloss}}} >= 1
+
| {{!}} {{Colored Link|Auto Recharge|color=FFFFFF}}
  | {{!}} {{Colored Link|Increased Karma Loss|color=FFFFFF}} {{{increasedkarmaloss}}}%
+
  }}
+
 
}}
 
}}
 
|-
 
|-
Line 1,625: Line 1,605:
 
}}
 
}}
 
|-
 
|-
{{#if: {{{fullsetispresent|}}}
+
{{#if: {{{lifespan|}}}
| {{#ifeq: {{{fullsetispresent}}} | true
+
| {{#if: {{{lifespan}}} >= 1
   | {{!}} style="padding-top:15px;" {{!}} Only When Full Set Is Present:
+
   | {{!}} {{Colored Link|Lifespan|color=ffffff}}: {{{lifespan}}} Seconds
 
   }}
 
   }}
 
}}
 
}}
Line 1,633: Line 1,613:
 
{{#if: {{{setphysicalresist|}}}
 
{{#if: {{{setphysicalresist|}}}
 
| {{#ifexpr: {{{setphysicalresist}}} >= 0
 
| {{#ifexpr: {{{setphysicalresist}}} >= 0
   | {{!}} {{Colored Link|Physical Resist|color=FFFFFF}} +{{{setphysicalresist}}}%
+
   | {{#vardefine: fullset}}
 +
{{!}} style="padding-top:15px;" {{!}} Only When Full Set Is Present:
 +
{{!}}-
 +
{{!}} {{Colored Link|Physical Resist|color=FFFFFF}} +{{{setphysicalresist}}}%
 
   }}
 
   }}
 
}}
 
}}
Line 1,639: Line 1,622:
 
{{#if: {{{setfireresist|}}}
 
{{#if: {{{setfireresist|}}}
 
| {{#ifexpr: {{{setfireresist}}} >= 0
 
| {{#ifexpr: {{{setfireresist}}} >= 0
   | {{!}} {{Colored Link|Fire Resist|color=FFFFFF}} +{{{setfireresist}}}%
+
   | {{#if: {{#varexists: fullset}} |
 +
    | {{#vardefine: fullset}}
 +
{{!}} style="padding-top:15px;" {{!}} Only When Full Set Is Present:
 +
{{!}}-
 +
    }}
 +
{{!}} {{Colored Link|Fire Resist|color=FFFFFF}} +{{{setfireresist}}}%
 
   }}
 
   }}
 
}}
 
}}
Line 1,645: Line 1,633:
 
{{#if: {{{setcoldresist|}}}
 
{{#if: {{{setcoldresist|}}}
 
| {{#ifexpr: {{{setcoldresist}}} >= 0
 
| {{#ifexpr: {{{setcoldresist}}} >= 0
   | {{!}} {{Colored Link|Cold Resist|color=FFFFFF}} +{{{setcoldresist}}}%
+
   | {{#if: {{#varexists: fullset}} |
 +
    | {{#vardefine: fullset}}
 +
{{!}} style="padding-top:15px;" {{!}} Only When Full Set Is Present:
 +
{{!}}-
 +
    }}
 +
{{!}} {{Colored Link|Cold Resist|color=FFFFFF}} +{{{setcoldresist}}}%
 
   }}
 
   }}
 
}}
 
}}
Line 1,651: Line 1,644:
 
{{#if: {{{setpoisonresist|}}}
 
{{#if: {{{setpoisonresist|}}}
 
| {{#ifexpr: {{{setpoisonresist}}} >= 0
 
| {{#ifexpr: {{{setpoisonresist}}} >= 0
   | {{!}} {{Colored Link|Poison Resist|color=FFFFFF}} +{{{setpoisonresist}}}%
+
   | {{#if: {{#varexists: fullset}} |
 +
    | {{#vardefine: fullset}}
 +
{{!}} style="padding-top:15px;" {{!}} Only When Full Set Is Present:
 +
{{!}}-
 +
    }}
 +
{{!}} {{Colored Link|Poison Resist|color=FFFFFF}} +{{{setpoisonresist}}}%
 
   }}
 
   }}
 
}}
 
}}
Line 1,657: Line 1,655:
 
{{#if: {{{setenergyresist|}}}
 
{{#if: {{{setenergyresist|}}}
 
| {{#ifexpr: {{{setenergyresist}}} >= 0
 
| {{#ifexpr: {{{setenergyresist}}} >= 0
   | {{!}} {{Colored Link|Energy Resist|color=FFFFFF}} +{{{setenergyresist}}}%
+
   | {{#if: {{#varexists: fullset}} |
 +
    | {{#vardefine: fullset}}
 +
{{!}} style="padding-top:15px;" {{!}} Only When Full Set Is Present:
 +
{{!}}-
 +
    }}
 +
{{!}} {{Colored Link|Energy Resist|color=FFFFFF}} +{{{setenergyresist}}}%
 
   }}
 
   }}
 
}}
 
}}
Line 1,663: Line 1,666:
 
{{#if: {{{setselfrepair|}}}
 
{{#if: {{{setselfrepair|}}}
 
| {{#ifexpr: {{{setselfrepair}}} >= 1
 
| {{#ifexpr: {{{setselfrepair}}} >= 1
   | {{!}} {{Colored Link|Self Repair|color=FFFFFF}} {{{setselfrepair}}}
+
   | {{#if: {{#varexists: fullset}} |
 +
    | {{#vardefine: fullset}}
 +
{{!}} style="padding-top:15px;" {{!}} Only When Full Set Is Present:
 +
{{!}}-
 +
    }}
 +
{{!}} {{Colored Link|Self Repair|color=FFFFFF}} {{{setselfrepair}}}
 
   }}
 
   }}
 
}}
 
}}
Line 1,669: Line 1,677:
 
{{#if: {{{setstrengthbonus|}}}
 
{{#if: {{{setstrengthbonus|}}}
 
| {{#ifexpr: {{{setstrengthbonus}}} >= 1
 
| {{#ifexpr: {{{setstrengthbonus}}} >= 1
   | {{!}} {{Colored Link|Strength Bonus|color=FFFFFF}} {{{setstrengthbonus}}}
+
   | {{#if: {{#varexists: fullset}} |
 +
    | {{#vardefine: fullset}}
 +
{{!}} style="padding-top:15px;" {{!}} Only When Full Set Is Present:
 +
{{!}}-
 +
    }}
 +
{{!}} {{Colored Link|Strength Bonus|color=FFFFFF}} {{{setstrengthbonus}}}
 
   }}
 
   }}
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{setluck|}}}
 
{{#if: {{{setluck|}}}
| {{#ifexpr: {{{setluck}}} >= 1
+
| {{#if: {{#varexists: fullset}} |
   | {{!}} {{Colored Link|Luck|color=FFFFFF}} {{{setluck}}}
+
   | {{#vardefine: fullset}}
 +
{{!}} style="padding-top:15px;" {{!}} Only When Full Set Is Present:
 +
{{!}}-
 
   }}
 
   }}
 +
{{!}} {{Colored Link|Luck|color=FFFFFF}} {{{setluck}}}
 
}}
 
}}
 
|-
 
|-
 
{{#if: {{{setreflectphysical|}}}
 
{{#if: {{{setreflectphysical|}}}
 
| {{#ifexpr: {{{setreflectphysical}}} >= 1
 
| {{#ifexpr: {{{setreflectphysical}}} >= 1
   | {{!}} {{Colored Link|Reflect Physical Damage|color=FFFFFF}} {{{setreflectphysical}}}%
+
   | {{#if: {{#varexists: fullset}} |
 +
    | {{#vardefine: fullset}}
 +
{{!}} style="padding-top:15px;" {{!}} Only When Full Set Is Present:
 +
{{!}}-
 +
    }}
 +
{{!}} {{Colored Link|Reflect Physical Damage|color=FFFFFF}} {{{setreflectphysical}}}%
 
   }}
 
   }}
 
}}
 
}}
Line 1,687: Line 1,708:
 
{{#if: {{{setnightsight|}}}
 
{{#if: {{{setnightsight|}}}
 
| {{#ifeq: {{{setnightsight}}} | true
 
| {{#ifeq: {{{setnightsight}}} | true
   | {{!}} {{Colored Link|Night Sight|color=FFFFFF}}
+
   | {{#if: {{#varexists: fullset}} |
 +
    | {{#vardefine: fullset}}
 +
{{!}} style="padding-top:15px;" {{!}} Only When Full Set Is Present:
 +
{{!}}-
 +
    }}
 +
{{!}} {{Colored Link|Night Sight|color=FFFFFF}}
 +
  }}
 +
}}
 +
|-
 +
{{#if: {{{setstealth|}}}
 +
| {{#if: {{#varexists: fullset}} |
 +
  | {{#vardefine: fullset}}
 +
{{!}} style="padding-top:15px;" {{!}} Only When Full Set Is Present:
 +
{{!}}-
 +
  }}
 +
{{!}} {{Colored Link|Stealth|color=FFFFFF}} {{{setstealth}}}
 +
}}
 +
|-
 +
{{#if: {{{setdexteritybonus|}}}
 +
| {{#if: {{#varexists: fullset}} |
 +
  | {{#vardefine: fullset}}
 +
{{!}} style="padding-top:15px;" {{!}} Only When Full Set Is Present:
 +
{{!}}-
 
   }}
 
   }}
 +
{{!}} {{Colored Link|Dexterity Bonus|color=FFFFFF}} {{{setdexteritybonus}}}
 
}}
 
}}
 
<!-- Padding (Not an Item Property) -->
 
<!-- Padding (Not an Item Property) -->

Latest revision as of 12:25, 28 August 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=
|elvesonly=
|gargoylesonly=
|mondainslegacy=
|stygianabyss=
|highseas=
|manaburst=
|frequency=
|spellconsumption=
|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=
|mysticism=
|necromancy=
|ninjitsu=
|parrying=
|peacemaking=
|poisoning=
|provocation=
|removetrap=
|resistingspells=
|snooping=
|spellweaving=
|spiritspeak=
|stealing=
|stealth=
|swordsmanship=
|tactics=
|tailoring=
|tasteidentification=
|throwing=
|tinkering=
|tracking=
|veterinary=
|wrestling=
|randomskill=
|randomcombatskill=
|kineticeater=
|fireeater=
|coldeater=
|poisoneater=
|energyeater=
|randomeater=
|kineticresonance=
|fireresonance=
|coldresonance=
|poisonresonance=
|energyresonance=
|randomresonance=
|soulcharge=
|velocity=
|spellchanneling=
|mageweapon=
|hitlifeleech=
|hitstaminaleech=
|hitmanaleech=
|slayer=
|slayer2=
|randomitemproperty1=
|randomitemproperty2=
|randomitemproperty3=
|hitfatigue=
|hitmanadrain=
|hitcurse=
|hitdispel=
|hitfireball=
|hitharm=
|hitlightning=
|hitmagicarrow=
|hitphysicalarea=
|hitfirearea=
|hitcoldarea=
|hitpoisonarea=
|hitenergyarea=
|hitlowerdefense=
|hitlowerattack=
|balanced=
|blooddrinker=
|battlelust=
|manaphase=
|spellfocusing=
|brittle=
|surgehpregeneration=
|surgestaminaregeneration=
|surgemanaregeneration=
|reactiveparalyze=
|castingfocus=
|splinteringweapon=
|randomprotection=
|increasedweapondamage=
|increasedkarmaloss=
|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=
|physicaldamage=
|firedamage=
|colddamage=
|poisondamage=
|energydamage=
|chaosdamage=
|mindamage=
|maxdamage=
|weaponspeed=
|range=
|lowerrequirements=
|strengthrequirement=
|handedweapon=
|skillrequired=
|durability=
|mindurability=
|maxdurability=
|lowerammocost=
|chargesremaining=
|contentsitems=
|contentsstones=
|contents2items=
|contents2stones=
|weightreduction=
|replenishcharges=
|autorecharge=
|spells=
|turnedonoff=
|petals=
|commontracks=
|uncommontracks=
|raretracks=
|lifespan=
|setphysicalresist=
|setfireresist=
|setcoldresist=
|setpoisonresist=
|setenergyresist=
|setselfrepair=
|setstrengthbonus=
|setluck=
|setreflectphysical=
|setnightsight=
|setstealth=
|setdexteritybonus=
}}

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