Difference between revisions of "Template:Items navbox"

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search
m
(added tabs)
Line 7: Line 7:
 
  <nowiki>{{items navbox</nowiki>
 
  <nowiki>{{items navbox</nowiki>
 
  |basics                    Item basics
 
  |basics                    Item basics
  |normal                    Normal (white) items
+
  |normal                    Normal items
 +
|armor1                    Legendary armor (first page)
 +
|weapons1                  Legendary weapons (first page)
 +
|sets                      Item sets
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
  
Line 14: Line 17:
 
* [[Template:Item_navbox_basics]] {{editlink|Template:Item_navbox_basics|e|www|A|A}}
 
* [[Template:Item_navbox_basics]] {{editlink|Template:Item_navbox_basics|e|www|A|A}}
 
* [[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_weapons1]] {{editlink|Template:Item_navbox_weapons1|e|www|A|A}}
 +
* [[Template:Item_navbox_sets]] {{editlink|Template:Item_navbox_sets|e|www|A|A}}
  
  
Line 23: Line 29:
 
                                                 style="font-size:9px; display: block; margin: 10px 0px -5px 0px;"><nowiki>
 
                                                 style="font-size:9px; display: block; margin: 10px 0px -5px 0px;"><nowiki>
 
                     </nowiki><span class="NavTabHeader {{#if: {{#switch: {{{1|}}} |basics=X }}
 
                     </nowiki><span class="NavTabHeader {{#if: {{#switch: {{{1|}}} |basics=X }}
| SelectedNavTabHeader}}" title="Basics" >Item basics<nowiki>
+
| SelectedNavTabHeader}}" title="Basics" >Item Basics<nowiki>
 
                     </nowiki></span><nowiki>
 
                     </nowiki></span><nowiki>
 
                     </nowiki><span class="NavTabHeader {{#if: {{#switch: {{{1|}}} |normal=X }}
 
                     </nowiki><span class="NavTabHeader {{#if: {{#switch: {{{1|}}} |normal=X }}
| SelectedNavTabHeader}}" title="Normal" >Normal items<nowiki>
+
| SelectedNavTabHeader}}" title="Normal" >Normal Items<nowiki>
 +
                    </nowiki></span><nowiki>
 +
                    </nowiki><span class="NavTabHeader {{#if: {{#switch: {{{1|}}} |armor1=X }}
 +
| SelectedNavTabHeader}}" title="Armor1" >Legendary Armor I<nowiki>
 +
                    </nowiki></span><nowiki>
 +
                    </nowiki><span class="NavTabHeader {{#if: {{#switch: {{{1|}}} |weapons1=X }}
 +
| SelectedNavTabHeader}}" title="Weapons1" >Legendary Weapons I<nowiki>
 +
                    </nowiki></span><nowiki>
 +
                    </nowiki><span class="NavTabHeader {{#if: {{#switch: {{{1|}}} |sets=X }}
 +
| SelectedNavTabHeader}}" title="Sets" >Item Sets<nowiki>
 
                     </nowiki></span><nowiki>
 
                     </nowiki></span><nowiki>
 
                 </nowiki></span><nowiki>
 
                 </nowiki></span><nowiki>
Line 35: Line 50:
 
         <div class="NavTabContent" title="Basics">{{Item navbox basics}}</div>
 
         <div class="NavTabContent" title="Basics">{{Item navbox basics}}</div>
 
         <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="Weapons1">{{Item navbox weapons1}}</div>
 +
        <div class="NavTabContent" title="Sets">{{Item navbox sets}}</div>
 
     </div>
 
     </div>
 
</div>
 
</div>

Revision as of 19:34, 14 May 2012



Legend: Just use ONE of these variables:

{{items navbox
|basics                    Item basics
|normal                    Normal items
|armor1                    Legendary armor (first page)
|weapons1                  Legendary weapons (first page)
|sets                      Item sets
}}


Templates used