Difference between revisions of "Template:Character navbox"
ADVERTISEMENT
From Diablo Wiki
Line 11: | Line 11: | ||
<nowiki>{{Character_navbox</nowiki> | <nowiki>{{Character_navbox</nowiki> | ||
|d3 Confirmed Diablo III NPC | |d3 Confirmed Diablo III NPC | ||
+ | |fol Followers skills | ||
|poss Rumoured/possible Diablo III NPC | |poss Rumoured/possible Diablo III NPC | ||
|d2 Diablo II NPC | |d2 Diablo II NPC | ||
Line 35: | Line 36: | ||
--> <th colspan="5">[[Character]]s & [[NPC]]s<div style="float:right; margin-left: -10px;">{{editlink|Template:Character_navbox|e|www|A|A}}</div><!-- | --> <th colspan="5">[[Character]]s & [[NPC]]s<div style="float:right; margin-left: -10px;">{{editlink|Template:Character_navbox|e|www|A|A}}</div><!-- | ||
--> <span class="NavHeaderBlock" title="characters" style="font-size:9px; display: block; margin: 10px 0px -4px 0px;"><!-- | --> <span class="NavHeaderBlock" title="characters" style="font-size:9px; display: block; margin: 10px 0px -4px 0px;"><!-- | ||
+ | |||
--> <span class="NavTabHeader {{#if: {{{1|}}} || SelectedNavTabHeader}} {{#if: <!-- | --> <span class="NavTabHeader {{#if: {{{1|}}} || SelectedNavTabHeader}} {{#if: <!-- | ||
--> {{#switch: {{{1|}}} |d3=X |conf=d3 }}<!-- | --> {{#switch: {{{1|}}} |d3=X |conf=d3 }}<!-- | ||
--> | SelectedNavTabHeader}}" title="D3" >'''D3 NPCs'''</span><!-- | --> | SelectedNavTabHeader}}" title="D3" >'''D3 NPCs'''</span><!-- | ||
+ | |||
+ | --> <span class="NavTabHeader {{#if: <!-- | ||
+ | --> {{#switch: {{{1|}}} |fol=fol }}<!-- | ||
+ | --> | SelectedNavTabHeader}}" title="Followers" >'''Followers'''</span><!-- | ||
+ | |||
--> <span class="NavTabHeader {{#if: <!-- | --> <span class="NavTabHeader {{#if: <!-- | ||
--> {{#switch: {{{1|}}} |poss=X |Rumoured=X }}<!-- | --> {{#switch: {{{1|}}} |poss=X |Rumoured=X }}<!-- | ||
Line 56: | Line 63: | ||
--> {{#switch: {{{1|}}} |Races=X |races=X }}<!-- | --> {{#switch: {{{1|}}} |Races=X |races=X }}<!-- | ||
--> | SelectedNavTabHeader}}" title="Races" >'''Races'''</span><!-- | --> | SelectedNavTabHeader}}" title="Races" >'''Races'''</span><!-- | ||
+ | |||
--> <span class="NavTabHeader {{#if: <!-- | --> <span class="NavTabHeader {{#if: <!-- | ||
--> {{#switch: {{{1|}}} |main=main }}<!-- | --> {{#switch: {{{1|}}} |main=main }}<!-- | ||
--> | SelectedNavTabHeader}}" title="Main" >'''Main Chars'''</span><!-- | --> | SelectedNavTabHeader}}" title="Main" >'''Main Chars'''</span><!-- | ||
+ | |||
--> <span class="NavTabHeader {{#if: <!-- | --> <span class="NavTabHeader {{#if: <!-- | ||
--> {{#switch: {{{1|}}} |imp=X |Imp=X |Important=X }}<!-- | --> {{#switch: {{{1|}}} |imp=X |Imp=X |Important=X }}<!-- | ||
--> | SelectedNavTabHeader}}" title="Imp" >'''Import. Chars'''</span><!-- | --> | SelectedNavTabHeader}}" title="Imp" >'''Import. Chars'''</span><!-- | ||
+ | |||
--> <span class="NavTabHeader {{#if: <!-- | --> <span class="NavTabHeader {{#if: <!-- | ||
--> {{#switch: {{{1|}}} |minor=minor }}<!-- | --> {{#switch: {{{1|}}} |minor=minor }}<!-- | ||
--> | SelectedNavTabHeader}}" title="Minor" >'''Minor A-K'''</span><!-- | --> | SelectedNavTabHeader}}" title="Minor" >'''Minor A-K'''</span><!-- | ||
+ | |||
--> <span class="NavTabHeader {{#if: <!-- | --> <span class="NavTabHeader {{#if: <!-- | ||
--> {{#switch: {{{1|}}} |minor2=minor2 }}<!-- | --> {{#switch: {{{1|}}} |minor2=minor2 }}<!-- | ||
--> | SelectedNavTabHeader}}" title="Minor2" >'''Minor L-Z'''</span><!-- | --> | SelectedNavTabHeader}}" title="Minor2" >'''Minor L-Z'''</span><!-- | ||
+ | |||
--> <span class="NavTabHeader {{#if: <!-- | --> <span class="NavTabHeader {{#if: <!-- | ||
--> {{#switch: {{{1|}}} |fan_char=fan_char }}<!-- | --> {{#switch: {{{1|}}} |fan_char=fan_char }}<!-- | ||
Line 74: | Line 86: | ||
--> </th><!-- | --> </th><!-- | ||
--> </tr><!-- | --> </tr><!-- | ||
+ | |||
--> <tr class="NavTabContent" title="D3"><!-- D3 Confirmed | --> <tr class="NavTabContent" title="D3"><!-- D3 Confirmed | ||
--> <th width="15%" style="font-size:10px;"><!-- | --> <th width="15%" style="font-size:10px;"><!-- | ||
Line 107: | Line 120: | ||
--> </td><!-- | --> </td><!-- | ||
--> </tr><!-- | --> </tr><!-- | ||
+ | |||
+ | |||
+ | --> <tr class="NavTabContent" title="Followers"><!-- Followers | ||
+ | {{Template:Follower skills}} | ||
+ | --> </tr><!-- | ||
+ | |||
--> <tr class="NavTabContent" title="Rumoured"><!-- D3 Rumoured | --> <tr class="NavTabContent" title="Rumoured"><!-- D3 Rumoured | ||
--> <th width="15%" style="font-size:10px;"><!-- | --> <th width="15%" style="font-size:10px;"><!-- |
Revision as of 20:54, 9 July 2011
Guideline for Tab Choice
The guideline for this navbox when deciding which tab to display on individual articles is that if the character is a Main Character, show that. If it's an Important character or a Minor one, but of a special race (like an Angel) then show Angel tab. Otherwise, show imp/min tab. Think of which attribute is the more prominent one: race or importance.
Legend
!Use only ONE of these variables! {{Character_navbox |d3 Confirmed Diablo III NPC |fol Followers skills |poss Rumoured/possible Diablo III NPC |d2 Diablo II NPC |d2_dia Diablo II dialogues |d1 Diablo I NPC |d1_dia Diablo I dialogues |Races Different races |Angels |Demons |Humans |Nephalem |main Main Character |imp Important Character |minor Minor Character |minor2 Minor Character 2nd tab }}
Appearance
An idea here is to make sub-sections for Quest NPCs, Vendors etc. They can be listed to the left or so. Or, they can have their own TR in ALL titles.