Difference between revisions of "Template:Itembox"
ADVERTISEMENT
From Diablo Wiki
m |
m |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly><!-- | <includeonly><!-- | ||
+ | |||
FLAT VERSION (D2) STARTS HERE!!! | FLAT VERSION (D2) STARTS HERE!!! | ||
+ | |||
-->{{#if: {{#switch: {{{flat|}}} | -->{{#if: {{#switch: {{{flat|}}} | ||
|Yes = Yes | |Yes = Yes | ||
|yes = Yes | |yes = Yes | ||
− | |No = }} |<!-- | + | |No = |
+ | |no = }} |<!-- | ||
-->{{clear|both}}<table cellpadding="4" width="100%" style="border-collapse: collapse; border: none; background: #2D0606; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 11px; font-size: 11px;"> | -->{{clear|both}}<table cellpadding="4" width="100%" style="border-collapse: collapse; border: none; background: #2D0606; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 11px; font-size: 11px;"> | ||
Line 17: | Line 20: | ||
-->[[File:{{{portrait|Diablo_II_Logo.jpg}}}|{{{portrait-width|140px}}}|link={{{name|File:{{{portrait|File:Diablo_II_Logo.jpg}}} }}}]]<!-- | -->[[File:{{{portrait|Diablo_II_Logo.jpg}}}|{{{portrait-width|140px}}}|link={{{name|File:{{{portrait|File:Diablo_II_Logo.jpg}}} }}}]]<!-- | ||
-->{{#if: {{{base_item|}}} | <br /> ([[{{{base_item|}}}]]) }}<!-- | -->{{#if: {{{base_item|}}} | <br /> ([[{{{base_item|}}}]]) }}<!-- | ||
− | -->{{#if: {{{ilvl|}}} | <span style="font-size:10px; line-height:10px;"><br />[[Item level|Ilvl]]: {{{ilvl| | + | -->{{#if: {{{ilvl|}}} | <span style="font-size:10px; line-height:10px;"><br />[[Item level|Ilvl]]: {{{ilvl|}}} </span>}} |
</td><!-- | </td><!-- | ||
− | + | ||
--> | --> | ||
Line 26: | Line 29: | ||
-->{{#if: {{{dam_melee_low|}}} {{{dam_melee_high|}}} |<!-- | -->{{#if: {{{dam_melee_low|}}} {{{dam_melee_high|}}} |<!-- | ||
-->:* Melee Damage: {{{dam_melee_low|}}} {{#if: {{{dam_melee_low|}}} | {{#if: {{{dam_melee_high|}}} | - }} }} {{{dam_melee_high|}}}<!-- | -->:* Melee Damage: {{{dam_melee_low|}}} {{#if: {{{dam_melee_low|}}} | {{#if: {{{dam_melee_high|}}} | - }} }} {{{dam_melee_high|}}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#if: {{{dam_melee_1h_low|}}} {{{dam_melee_1h_high|}}} |<!-- | ||
+ | -->:* Melee 1h Damage: {{{dam_melee_1h_low|}}} {{#if: {{{dam_melee_1h_low|}}} | {{#if: {{{dam_melee_1h_high|}}} | - }} }} {{{dam_melee_1h_high|}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if: {{{dam_range_low|}}} {{{dam_range_high|}}} |<!-- | -->{{#if: {{{dam_range_low|}}} {{{dam_range_high|}}} |<!-- | ||
Line 177: | Line 183: | ||
</tr> | </tr> | ||
</table> |<!-- | </table> |<!-- | ||
+ | |||
MAIN SECTION STARTS HERE!!! | MAIN SECTION STARTS HERE!!! | ||
+ | |||
--><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|}}}|| | ||
Line 194: | Line 202: | ||
-->{{#if: {{{ladder|}}} | <div style="float: left; margin-right: -16px; clear:left;">[[File:Ladder_icon.png|link=Ladder]]</div> }}<!-- | -->{{#if: {{{ladder|}}} | <div style="float: left; margin-right: -16px; clear:left;">[[File:Ladder_icon.png|link=Ladder]]</div> }}<!-- | ||
--><!-- | --><!-- | ||
− | -->{{#if: {{{item_set|}}}|<span style="color:#00c400;"> <b>{{{name|{{PAGENAME}} }}}</b></span>|<!-- | + | -->{{#if: {{{item_set|}}}|<span style="color:#00c400;"> <b style="width:80%; display:block; margin: 0 auto;">{{{name|{{PAGENAME}} }}}</b></span>|<!-- |
-->{{#if: {{{quality|}}}|{{{quality}}} }}<!-- | -->{{#if: {{{quality|}}}|{{{quality}}} }}<!-- | ||
− | -->{{#if: {{{magic|}}} |<span style="color:#4850b8;"> <b>{{{name|{{PAGENAME}} }}}</b></span> }}<!-- | + | -->{{#if: {{{magic|}}} |<span style="color:#4850b8;"> <b style="width:80%; display:block; margin: 0 auto;">{{{name|{{PAGENAME}} }}}</b></span> }}<!-- |
− | -->{{#if: {{{rare|}}} |<span style="color:yellow;"> <b>{{{name|{{PAGENAME}} }}}</b></span> }}<!-- | + | -->{{#if: {{{rare|}}} |<span style="color:yellow;"> <b style="width:80%; display:block; margin: 0 auto;">{{{name|{{PAGENAME}} }}}</b></span> }}<!-- |
--><!-- | --><!-- | ||
Crafted/Very Rare = Orange | Crafted/Very Rare = Orange | ||
− | -->{{#if: {{{unique|}}} |<span style="color:#908858;"> <b>{{{name|{{PAGENAME}} }}} </b></span>}}<!-- | + | -->{{#if: {{{unique|}}} |<span style="color:#908858;"> <b style="width:80%; display:block; margin: 0 auto;">{{{name|{{PAGENAME}} }}} </b></span>}}<!-- |
− | -->{{#if: {{{set|}}} |<span style="color:#00c400;"> <b>{{{name|{{PAGENAME}} }}} </b></span>}}<!-- | + | -->{{#if: {{{set|}}} |<span style="color:#00c400;"> <b style="width:80%; display:block; margin: 0 auto;">{{{name|{{PAGENAME}} }}} </b></span>}}<!-- |
− | -->{{#if: {{{item_set|}}}{{{magic|}}}{{{rare|}}}{{{set|}}}{{{unique|}}}||<b>{{{name|{{PAGENAME}} }}}</b>}}<!-- | + | -->{{#if: {{{item_set|}}}{{{magic|}}}{{{rare|}}}{{{set|}}}{{{unique|}}}||<b style="width:80%; display:block; margin: 0 auto;">{{{name|{{PAGENAME}} }}}</b>}}<!-- |
-->}}<!-- END of item_set | -->}}<!-- END of item_set | ||
--><br /><!-- | --><br /><!-- | ||
Line 245: | Line 253: | ||
-->{{#if: {{{dam_melee_low|}}} {{{dam_melee_high|}}} |<!-- | -->{{#if: {{{dam_melee_low|}}} {{{dam_melee_high|}}} |<!-- | ||
-->:* Melee Damage: {{{dam_melee_low|}}} {{#if: {{{dam_melee_low|}}} | {{#if: {{{dam_melee_high|}}} | - }} }} {{{dam_melee_high|}}}<!-- | -->:* Melee Damage: {{{dam_melee_low|}}} {{#if: {{{dam_melee_low|}}} | {{#if: {{{dam_melee_high|}}} | - }} }} {{{dam_melee_high|}}}<!-- | ||
+ | -->}}<!-- | ||
+ | -->{{#if: {{{dam_melee_1h_low|}}} {{{dam_melee_1h_high|}}} |<!-- | ||
+ | -->:* Melee 1H Damage: {{{dam_melee_1h_low|}}} {{#if: {{{dam_melee_1h_low|}}} | {{#if: {{{dam_melee_1h_high|}}} | - }} }} {{{dam_melee_high|}}}<!-- | ||
-->}}<!-- | -->}}<!-- | ||
-->{{#if: {{{dam_range_low|}}} {{{dam_range_high|}}} |<!-- | -->{{#if: {{{dam_range_low|}}} {{{dam_range_high|}}} |<!-- | ||
Line 332: | Line 343: | ||
-->{{#if: {{{set_full_bonus8|}}} |<!-- | -->{{#if: {{{set_full_bonus8|}}} |<!-- | ||
-->** {{{set_full_bonus8|}}} }}<!-- | -->** {{{set_full_bonus8|}}} }}<!-- | ||
+ | -->{{#if: {{{set_full_bonus9|}}} |<!-- | ||
+ | -->** {{{set_full_bonus9|}}} }}<!-- | ||
+ | -->{{#if: {{{set_full_bonus10|}}} |<!-- | ||
+ | -->** {{{set_full_bonus10|}}} }}<!-- | ||
+ | -->{{#if: {{{set_full_bonus11|}}} |<!-- | ||
+ | -->** {{{set_full_bonus11|}}} }}<!-- | ||
+ | -->{{#if: {{{set_full_bonus12|}}} |<!-- | ||
+ | -->** {{{set_full_bonus12|}}} }}<!-- | ||
+ | -->{{#if: {{{set_full_bonus13|}}} |<!-- | ||
+ | -->** {{{set_full_bonus13|}}} }}<!-- | ||
+ | -->{{#if: {{{set_full_bonus14|}}} |<!-- | ||
+ | -->** {{{set_full_bonus14|}}} }}<!-- | ||
+ | -->{{#if: {{{set_full_bonus15|}}} |<!-- | ||
+ | -->** {{{set_full_bonus15|}}} }}<!-- | ||
-->}}<!-- (END of set_full_bonus) | -->}}<!-- (END of set_full_bonus) | ||
--> | --> | ||
Line 559: | Line 584: | ||
|Dagger = Daggers | |Dagger = Daggers | ||
|Mace = Maces | |Mace = Maces | ||
+ | |Orb = Orbs | ||
|Polearm = Polearms | |Polearm = Polearms | ||
|Scepter = Scepters | |Scepter = Scepters | ||
Line 576: | Line 602: | ||
|Legs = Legs | |Legs = Legs | ||
|Shield = Shields | |Shield = Shields | ||
+ | |Totem = Totems | ||
|Shoulder Pads = Shoulder pads | |Shoulder Pads = Shoulder pads | ||
|Amulet = amulets | |Amulet = amulets | ||
Line 588: | Line 615: | ||
|Quest Item = Quest items }} ({{{game|Diablo II}}})]] }}<!-- | |Quest Item = Quest items }} ({{{game|Diablo II}}})]] }}<!-- | ||
− | -->{{#if: {{{item_set|}}} || {{#if: {{{ilvl|}}} | [[Category:Ilvl {{IlvlCount|{{{ilvl| | + | -->{{#if: {{{item_set|}}} || {{#if: {{{ilvl|}}} | [[Category:Ilvl {{IlvlCount|{{{ilvl|}}} }} ({{{game|Diablo II}}})]] | [[Category:Items without Ilvls ({{{game|Diablo II}}})]] }} }}<!-- |
-->{{#if: {{{ladder|}}} | [[Category:Ladder only]]}}<!-- | -->{{#if: {{{ladder|}}} | [[Category:Ladder only]]}}<!-- | ||
Line 702: | Line 729: | ||
|dam_melee_low= 5 | |dam_melee_low= 5 | ||
|dam_melee_high= 10 | |dam_melee_high= 10 | ||
+ | |dam_melee_1h_low= 6 | ||
+ | |dam_melee_1h_high= 11 | ||
|dam_range_low= 7 | |dam_range_low= 7 | ||
|dam_range_high= 13 | |dam_range_high= 13 | ||
Line 769: | Line 798: | ||
Scepter, Spear, Staff, Sword, Thrown, Wand | Scepter, Spear, Staff, Sword, Thrown, Wand | ||
Belt, Body Armor, Boots, Helmet, Gloves, Legs, | Belt, Body Armor, Boots, Helmet, Gloves, Legs, | ||
− | Shield, Shoulder Pads | + | Shield, Totem, Shoulder Pads |
Amulet, Gem, Ring, Rune | Amulet, Gem, Ring, Rune | ||
Elixir, Potion, Scroll, Vial | Elixir, Potion, Scroll, Vial | ||
Line 821: | Line 850: | ||
|dam_melee_low= Melee low end attack. "<u>5</u>-10". | |dam_melee_low= Melee low end attack. "<u>5</u>-10". | ||
|dam_melee_high= Melee high end attack. "5-<u>10</u>". | |dam_melee_high= Melee high end attack. "5-<u>10</u>". | ||
+ | |dam_melee_1h_low= Like regular, but only for 2h weapons used 1h. | ||
+ | |dam_melee_1h_high= Like regular, but only for 2h weapons used 1h. | ||
|dam_range_low= Ranged low end attack. "<u>5</u>-10". | |dam_range_low= Ranged low end attack. "<u>5</u>-10". | ||
|dam_range_high= Ranged high end attack. "5-<u>10</u>". | |dam_range_high= Ranged high end attack. "5-<u>10</u>". |
Latest revision as of 16:49, 16 July 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.
Reflex Bow (See full set) [Set] |
|||
---|---|---|---|
Set Pieces: | |||
|
|
||
|
|||
|
Diablo II Item Info [e] | |||
---|---|---|---|
Itembox [General Item] |
Ilvl: 1 - 25 Reflex Bow(See full set) [Staff] |
|||
---|---|---|---|
100.5 | Damage Per Second | ||
1100 | Armor | ||
|
|||
Set Pieces: | |||
|
|
||
|
|||
|
|||
|
{{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. |name_full= Name of item with underscrores, if different. |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, Totem, 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_melee_1h_low= Like regular, but only for 2h weapons used 1h. |dam_melee_1h_high= Like regular, but only for 2h weapons used 1h. |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) |storage= Value. Like "8". If item stores other items. |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. }}