The Diablo 2 Wiki
The Diablo 2 Wiki archive is available for anyone looking for information on Diablo 2. All information here is pre-D2R but contains a lot of useful information that is still relevant. Updated sections for new D2R features can be found on the PureDiablo Diablo 2 section

Template:Itembox: Difference between revisions

Template page
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{#if: {{#switch: {{{flat|}}}
<includeonly><!--
 
FLAT VERSION (D2) STARTS HERE!!!
 
-->{{#if: {{#switch: {{{flat|}}}
   |Yes = Yes
   |Yes = Yes
   |yes = Yes
   |yes = Yes
Line 149: Line 153:
</table> |<!--
</table> |<!--


MAIN TEMPLATE STARTS HERE!!!
MAIN SECTION STARTS HERE!!!


--><includeonly><table cellpadding="4" width="250px" align="right" style="border-collapse: collapse; border: none; background: #2D0606;  margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 10px; line-height: 11px; font-size: 11px;"> {{#if: {{{item_set_short|}}}{{{extra-quality|}}}||
--><table cellpadding="4" width="250px" align="right" style="border-collapse: collapse; border: none; background: #2D0606;  margin-top: 5px; margin-right: 0px; margin-bottom: 5px; margin-left: 10px; line-height: 11px; font-size: 11px;"> {{#if: {{{item_set_short|}}}{{{extra-quality|}}}||
     <tr>
     <tr>
       <th colspan="4" style="text-align: center; line-height: 12px; font-size: 14px;">'''[[{{{Game|Diablo II}}}]] [[Item|Item Info]]''' {{editlink|Template:Itembox|e|diablo2|A|A}}</th>
       <th colspan="4" style="text-align: center; line-height: 12px; font-size: 14px;">'''[[{{{Game|Diablo II}}}]] [[Item|Item Info]]''' {{editlink|Template:Itembox|e|diablo2|A|A}}</th>
Line 485: Line 489:
     </td>
     </td>
   </tr> }}
   </tr> }}
</table>{{#if: {{{catexclude|}}}||<!--
</table><!--
 
MAIN SECTION ENDS HERE!!!
 
 
CATEGORIES START HERE!!!
 
-->{{#if: {{{catexclude|}}}||<!--
-->{{#if: {{{unique|}}} | [[Category:Unique items ({{{game|Diablo II}}})]] }}<!--
-->{{#if: {{{unique|}}} | [[Category:Unique items ({{{game|Diablo II}}})]] }}<!--
-->{{#if: {{{unique|}}} | [[Category:Unique items]] }}<!--
-->{{#if: {{{unique|}}} | [[Category:Unique items]] }}<!--
-->{{#if: {{{set|}}} | [[Category:{{{set|}}}]] }}<!--
-->{{#if: {{{set|}}} | [[Category:{{{set|}}}]] }}<!--
-->{{#if: {{{set|}}} | [[Category:Item sets ({{{game|Diablo II}}})]] }}<!--
-->{{#if: {{{set|}}} | [[Category:Set item ({{{game|Diablo II}}})]] }}<!--
-->{{#if: {{{set|}}} | [[Category:Item sets]] }}<!--
-->{{#if: {{{set|}}} | [[Category:Set item]] }}<!--
-->{{#if: {{{item_set|}}} | [[Category:Item sets ({{{game|Diablo II}}})]] }}<!--
-->{{#if: {{{item_set|}}} | [[Category:Item sets]] }}<!--
 
-->{{#if: {{{type|}}} | [[Category:{{#switch: {{{type|General Item}}}
-->{{#if: {{{type|}}} | [[Category:{{#switch: {{{type|General Item}}}
   |Set = Item sets
   |Set = Item sets
Line 528: Line 542:
   |General Item = General items
   |General Item = General items
   |Quest Item = Quest items }} ({{{game|Diablo II}}})]] }}<!--
   |Quest Item = Quest items }} ({{{game|Diablo II}}})]] }}<!--
-->{{#if: {{{item_set|}}} || {{#if: {{{ilvl|}}} | [[Category:Ilvl {{IlvlCount|{{{ilvl|60}}} }} ({{{game|Diablo II}}})]] }} }}<!--
-->{{#if: {{{item_set|}}} || {{#if: {{{ilvl|}}} | [[Category:Ilvl {{IlvlCount|{{{ilvl|60}}} }} ({{{game|Diablo II}}})]] }} }}<!--
-->{{#if: {{{ladder|}}} | [[Category:Ladder only]]}}<!--
-->{{#if: {{{ladder|}}} | [[Category:Ladder only]]}}<!--
-->{{#if: {{{barbarian_d3|}}} | [[Category:Barbarian items (Diablo III)]]}}<!--
-->{{#if: {{{barbarian_d3|}}} | [[Category:Barbarian items (Diablo III)]]}}<!--
Line 541: Line 557:
-->{{#if: {{{paladin|}}} | [[Category:Paladin items]]}}<!--
-->{{#if: {{{paladin|}}} | [[Category:Paladin items]]}}<!--
-->{{#if: {{{sorceress|}}} | [[Category:Sorceress items]]}}<!--
-->{{#if: {{{sorceress|}}} | [[Category:Sorceress items]]}}<!--
-->[[Category:Items (Diablo II)]]<!--
-->[[Category:Items (Diablo II)]]<!--
-->[[Category:Items]]<!--
-->[[Category:Items]]<!--
-->}}</includeonly><!--
 
-->}}<!-- END flat HERE!
-->}}<!-- END catexclude HERE!
-->}}</includeonly><!-- END flat HERE!
--><noinclude>
--><noinclude>



Revision as of 12:28, 14 May 2010


This is the Itembox and it's a very complicated and useful template. It can be used for all types of items from all three games and expansions. Please see individual help pages for each item you want to make for an easier understanding.

Below is a master list of all variables.

Diablo II X mini-icon.png
Ladder icon.png
Reflex Bow
(See full set)
[Set]
Set Pieces:
Slots Used:
  • Head
  • Neck
  • Chest
  • Main Hand
  • Off-Hand
  • Waist
  • Hands
  • Ring 1
  • Ring 2
  • Feet
Slots Free:
Diablo II Item Info [e]
X-mavinas-caster.gif
Ladder icon.png
Itembox
[General Item]


Ilvl: 1 - 25
Diablo II X mini-icon.png
Ladder icon.png
Reflex Bow
(See full set)
[Staff]
100.5 Damage Per Second
1100 Armor
Base Item: Reflex Bow X
Set Pieces:
Slots Used:
  • Head
  • Neck
  • Chest
  • Off-Hand
  • Waist
  • Hands
Slots Free:
  • Main Hand
  • Ring 1
  • Ring 2
  • Feet
  • Durability: 500
  • Stack Size: 1
  • Inv Size: 1
  • Sell Value: 1


{{Itembox
|flat=                        Creates a horizontal table version of the
                                template. ALWAYS leave it as {{{1}}}!
|game=                        Diablo I, Diablo II or Diablo III
|portrait=                    Filename only! Like: "X-mavinas-caster.gif"
|portrait-width=              Standard is 200px. Change to match picture best.
|extra-quality=               If this is activated, portrait is hidden.
|ladder=                      Yes or delete entry.
|d2x=                         D2 expansion exclusive: Yes or delete entry.
|patch=                       Just numbers. Like: "1.13"
|quality=                     Exceptional/Elite. If normal, remove entry. (D2)
|name=                        Name of item, if different from article title.
|magic=                       Magic level. Yes or delete entry.
|rare=                        Magic level. Yes or delete entry.
|unique=                      Magic level. Yes or delete entry.
|type=                        Axe, Bow, Crossbow, Dagger, Mace, Polearm,
                                Scepter, Spear, Staff, Sword, Thrown, Wand
                                Belt, Body Armor, Boots, Helmet, Gloves, Legs,
                                Shield, Shoulder Pads
                                Amulet, Gem, Ring, Rune
                                Elixir, Potion, Scroll, Vial
                                General Item, Quest Item, Item Set
|item_set=                    Is it an item set? Yes or delete entry.
|item_set_short=              Show only brief info? Yes or delete entry.
|set_piece1=                  Item in an item set. Yes or delete entry.
|set_piece2=                  Item in an item set. Yes or delete entry.
|set_piece3=                  Item in an item set. Yes or delete entry.
|set_piece4=                  Item in an item set. Yes or delete entry.
|set_piece5=                  Item in an item set. Yes or delete entry.
|set_piece6=                  Item in an item set. Yes or delete entry.
|set_piece7=                  Item in an item set. Yes or delete entry.
|set_piece8=                  Item in an item set. Yes or delete entry.
|set_2_bonus1=                Set bonus for more 2 items. Yes or delete.
|set_2_bonus2=                Set bonus for more 2 items. Yes or delete.
|set_2_bonus3=                Set bonus for more 2 items. Yes or delete.
|set_3_bonus1=                Set bonus for more 3 items. Yes or delete.
|set_3_bonus2=                Set bonus for more 3 items. Yes or delete.
|set_3_bonus3=                Set bonus for more 3 items. Yes or delete.
|set_4_bonus1=                Set bonus for more 4 items. Yes or delete.
|set_4_bonus2=                Set bonus for more 4 items. Yes or delete.
|set_4_bonus3=                Set bonus for more 4 items. Yes or delete.
|set_full_bonus1=             Set bonus for all items. Yes or delete.
|set_full_bonus2=             Set bonus for all items. Yes or delete.
|set_full_bonus3=             Set bonus for all items. Yes or delete.
|set_full_bonus4=             Set bonus for all items. Yes or delete.
|set_full_bonus5=             Set bonus for all items. Yes or delete.
|set_full_bonus6=             Set bonus for all items. Yes or delete.
|set_full_bonus7=             Set bonus for all items. Yes or delete.
|set_full_bonus8=             Set bonus for all items. Yes or delete.
|head= Yes                    Used on this location? Yes or delete entry.
|neck= Yes                    Used on this location? Yes or delete entry.
|main_shoulder=               Used on this location? Yes or delete entry.
|off_shoulder=                Used on this location? Yes or delete entry.
|chest=                       Used on this location? Yes or delete entry.
|main_hand=                   Used on this location? Yes or delete entry.
|off_hand=                    Used on this location? Yes or delete entry.
|waist=                       Used on this location? Yes or delete entry.
|hands=                       Used on this location? Yes or delete entry.
|main_ring=                   Used on this location? Yes or delete entry.
|off_ring=                    Used on this location? Yes or delete entry.
|legs=                        Used on this location? Yes or delete entry.
|feet=                        Used on this location? Yes or delete entry.
|talisman=                    Used on this location? Yes or delete entry.
|location=                    One-Handed, Two-Handed (NOT USED)
|dps=                         Value. Like "100.5". (D3)
|armor=                       Value. Like "1100". (D3)
|base_item=                   If Unique/Set, name the base item. Auto-linked.
|attacks=                     Attacks per second. Value. Like 1.10. (D3)
|dam_melee_low=               Melee low end attack. "5-10".
|dam_melee_high=              Melee high end attack. "5-10".
|dam_range_low=               Ranged low end attack. "5-10".
|dam_range_high=              Ranged high end attack. "5-10".
|speed=                       Value. Like "2" (D2)
|range=                       Value. Like "6".
|dam_bonus_dex=               Value. Like "75" (D2)
|dam_bonus_str=               Value. Like "75" (D2)
|defense=1500                 Value. Like "1500" (D2)
|armortype=                   Light/Medium/Heavy - OR; delete entry. (D2)
|socket=                      Rune sockets. Like "3" (D2)
|property=                    Magical property 1 (optional)
|property2=                   Magical property 2 (optional)
|property3=                   Magical property 3 (optional)
|property4=                   Magical property 4 (optional)
|property5=                   Magical property 5 (optional)
|property6=                   Magical property 6 (optional)
|property7=                   Magical property 7 (optional)
|property8=                   Magical property 8 (optional)
|durability=                  Value. Like "500" (D2)
|stack=                       If item can be stacked, how big is max?
|inv_size=                    How much space it uses in bag.
|barbarian_d3=                Put "1" here if it's a class-restricted item.
|monk_d3=                     Put "1" here if it's a class-restricted item.
|witch_doctor=                Put "1" here if it's a class-restricted item.
|wizard=                      Put "1" here if it's a class-restricted item.
|other_class=                 Put "1" here if it's a class-restricted item.
|amazon=                      Put "1" here if it's a class-restricted item.
|assassin=                    Put "1" here if it's a class-restricted item.
|barbarian_d2=                Put "1" here if it's a class-restricted item.
|druid=                       Put "1" here if it's a class-restricted item.
|necromancer=                 Put "1" here if it's a class-restricted item.
|paladin=                     Put "1" here if it's a class-restricted item.
|sorceress=                   Put "1" here if it's a class-restricted item.
|barbarian_d1=                Put "1" here if it's a class-restricted item.
|bard=                        Put "1" here if it's a class-restricted item.
|monk_d1=                     Put "1" here if it's a class-restricted item.
|rogue=                       Put "1" here if it's a class-restricted item.
|sorcerer=                    Put "1" here if it's a class-restricted item.
|warrior=                     Put "1" here if it's a class-restricted item.
|str=                         Requirement value. Like "95".
|dex=                         Requirement value. Like "95".
|lvl=                         Requirement value. 1-99.
|ilvl=                        Value. Like "55".
|ilvl_high=                   Only use if it's an item set. Value. Like "55".
|sell=                        Value. Like "150". (D3)
|catexclude=                  Yes = no categories added.
}}