Difference between revisions of "Template:Character navbox"
ADVERTISEMENT
From Diablo Wiki
Brokenstorm (talk | contribs) |
|||
Line 28: | Line 28: | ||
--> <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: <!-- | --> <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: {{{1|}}} || SelectedNavTabHeader}} {{#if: <!-- | --> <span class="NavTabHeader {{#if: {{{1|}}} || SelectedNavTabHeader}} {{#if: <!-- | ||
+ | |||
+ | --> {{#switch: {{{1|}}} |poss=X |poss=X }}<!-- | ||
+ | --> | SelectedNavTabHeader}}" title="poss" >'''Rumoured'''</span><!-- | ||
+ | --> <span class="NavTabHeader {{#if: <!-- | ||
+ | |||
--> {{#switch: {{{1|}}} |d3=X |conf=d3 }}<!-- | --> {{#switch: {{{1|}}} |d3=X |conf=d3 }}<!-- | ||
− | --> | SelectedNavTabHeader}}" title=" | + | --> | SelectedNavTabHeader}}" title="D3">'''Rumoured'''</span><!-- |
--> <span class="NavTabHeader {{#if: <!-- | --> <span class="NavTabHeader {{#if: <!-- | ||
+ | |||
--> {{#switch: {{{1|}}} |d2=X }}<!-- | --> {{#switch: {{{1|}}} |d2=X }}<!-- | ||
− | --> | SelectedNavTabHeader}}" title=" | + | --> | SelectedNavTabHeader}}" title="d2" >'''D3 NPCs'''</span><!-- |
− | |||
− | |||
− | |||
--> <span class="NavTabHeader {{#if: <!-- | --> <span class="NavTabHeader {{#if: <!-- | ||
+ | |||
--> {{#switch: {{{1|}}} |d2_dia=d2_dia }}<!-- | --> {{#switch: {{{1|}}} |d2_dia=d2_dia }}<!-- | ||
--> | SelectedNavTabHeader}}" title="D1" >'''D1 NPCs'''</span><!-- | --> | SelectedNavTabHeader}}" title="D1" >'''D1 NPCs'''</span><!-- | ||
--> <span class="NavTabHeader {{#if: <!-- | --> <span class="NavTabHeader {{#if: <!-- | ||
+ | |||
--> {{#switch: {{{1|}}} |d1_dia=d1_dia }}<!-- | --> {{#switch: {{{1|}}} |d1_dia=d1_dia }}<!-- | ||
--> | 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><!-- |
Revision as of 04:19, 3 December 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.
Comment: The race distinction seems cumbersome. My opinion is to streamline and remove "race" consideration entirely. --Varquynne
Legend
!Use only ONE of these variables! {{Character_navbox |imp Important Character |poss Rumoured/possible Diablo III NPC |d3 Confirmed Diablo III NPC |d2 Diablo II NPC |d1 Diablo I NPC |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.