Difference between revisions of "Template:Items navbox"

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search
(added tabs)
(added second armor page)
Line 8: Line 8:
 
  |basics                    Item basics
 
  |basics                    Item basics
 
  |normal                    Normal items
 
  |normal                    Normal items
  |armor1                    Legendary armor (first page)
+
  |armor1                    Legendary armor (Belts, Bracers, Gloves, Pants, Boots, Helms, Pauldrons)
 +
|armor2                    Legendary armor (Chest Armor, Off-Hand, Jewelry)
 
  |weapons1                  Legendary weapons (first page)
 
  |weapons1                  Legendary weapons (first page)
 
  |sets                      Item sets
 
  |sets                      Item sets
Line 18: Line 19:
 
* [[Template:Item_navbox_normal]] {{editlink|Template:Item_navbox_normal|e|www|A|A}}
 
* [[Template:Item_navbox_normal]] {{editlink|Template:Item_navbox_normal|e|www|A|A}}
 
* [[Template:Item_navbox_armor1]] {{editlink|Template:Item_navbox_armor1|e|www|A|A}}
 
* [[Template:Item_navbox_armor1]] {{editlink|Template:Item_navbox_armor1|e|www|A|A}}
 +
* [[Template:Item_navbox_armor2]] {{editlink|Template:Item_navbox_armor2|e|www|A|A}}
 
* [[Template:Item_navbox_weapons1]] {{editlink|Template:Item_navbox_weapons1|e|www|A|A}}
 
* [[Template:Item_navbox_weapons1]] {{editlink|Template:Item_navbox_weapons1|e|www|A|A}}
 
* [[Template:Item_navbox_sets]] {{editlink|Template:Item_navbox_sets|e|www|A|A}}
 
* [[Template:Item_navbox_sets]] {{editlink|Template:Item_navbox_sets|e|www|A|A}}
Line 36: Line 38:
 
                     </nowiki><span class="NavTabHeader {{#if: {{#switch: {{{1|}}} |armor1=X }}
 
                     </nowiki><span class="NavTabHeader {{#if: {{#switch: {{{1|}}} |armor1=X }}
 
| SelectedNavTabHeader}}" title="Armor1" >Legendary Armor I<nowiki>
 
| SelectedNavTabHeader}}" title="Armor1" >Legendary Armor I<nowiki>
 +
                    </nowiki></span><nowiki>
 +
                    </nowiki><span class="NavTabHeader {{#if: {{#switch: {{{1|}}} |armor2=X }}
 +
| SelectedNavTabHeader}}" title="Armor2" >Legendary Armor II<nowiki>
 
                     </nowiki></span><nowiki>
 
                     </nowiki></span><nowiki>
 
                     </nowiki><span class="NavTabHeader {{#if: {{#switch: {{{1|}}} |weapons1=X }}
 
                     </nowiki><span class="NavTabHeader {{#if: {{#switch: {{{1|}}} |weapons1=X }}
Line 51: Line 56:
 
         <div class="NavTabContent" title="Normal">{{Item navbox normal}}</div>
 
         <div class="NavTabContent" title="Normal">{{Item navbox normal}}</div>
 
         <div class="NavTabContent" title="Armor1">{{Item navbox armor1}}</div>
 
         <div class="NavTabContent" title="Armor1">{{Item navbox armor1}}</div>
 +
        <div class="NavTabContent" title="Armor2">{{Item navbox armor2}}</div>
 
         <div class="NavTabContent" title="Weapons1">{{Item navbox weapons1}}</div>
 
         <div class="NavTabContent" title="Weapons1">{{Item navbox weapons1}}</div>
 
         <div class="NavTabContent" title="Sets">{{Item navbox sets}}</div>
 
         <div class="NavTabContent" title="Sets">{{Item navbox sets}}</div>

Revision as of 22:01, 22 May 2012



Legend: Just use ONE of these variables:

{{items navbox
|basics                    Item basics
|normal                    Normal items
|armor1                    Legendary armor (Belts, Bracers, Gloves, Pants, Boots, Helms, Pauldrons)
|armor2                    Legendary armor (Chest Armor, Off-Hand, Jewelry)
|weapons1                  Legendary weapons (first page)
|sets                      Item sets
}}


Templates used