Difference between revisions of "Template:Character navbox"
ADVERTISEMENT
From Diablo Wiki
(fixed a minor error in the major character tab) |
(fixed some buggy tabs) |
||
Line 44: | Line 44: | ||
--> {{#switch: {{{1|}}} |d2=X }}<!-- | --> {{#switch: {{{1|}}} |d2=X }}<!-- | ||
--> | SelectedNavTabHeader}}" title="D2" >'''D2 NPCs'''</span><!-- | --> | SelectedNavTabHeader}}" title="D2" >'''D2 NPCs'''</span><!-- | ||
+ | --> <span class="NavTabHeader {{#if: <!-- | ||
+ | --> {{#switch: {{{1|}}} |d2_dia=d2_dia }}<!-- | ||
+ | --> | SelectedNavTabHeader}}" title="D2_Dialogues" >'''D2 Dialogues'''</span><!-- | ||
--> <span class="NavTabHeader {{#if: <!-- | --> <span class="NavTabHeader {{#if: <!-- | ||
--> {{#switch: {{{1|}}} |d1=d1 }}<!-- | --> {{#switch: {{{1|}}} |d1=d1 }}<!-- | ||
--> | SelectedNavTabHeader}}" title="D1" >'''D1 NPCs'''</span><!-- | --> | SelectedNavTabHeader}}" title="D1" >'''D1 NPCs'''</span><!-- | ||
+ | --> <span class="NavTabHeader {{#if: <!-- | ||
+ | --> {{#switch: {{{1|}}} |d1_dia=d1_dia }}<!-- | ||
+ | --> | SelectedNavTabHeader}}" title="D1_Dialogues" >'''D1 Dialogues'''</span><!-- | ||
--> <span class="NavTabHeader {{#if: <!-- | --> <span class="NavTabHeader {{#if: <!-- | ||
--> {{#switch: {{{1|}}} |Races=X |races=X }}<!-- | --> {{#switch: {{{1|}}} |Races=X |races=X }}<!-- | ||
Line 183: | Line 189: | ||
--> {{iw|The_Bunny_Roaster Bunny Roast}}<!-- | --> {{iw|The_Bunny_Roaster Bunny Roast}}<!-- | ||
--> <br /><!-- | --> <br /><!-- | ||
+ | |||
--> <span style="font-size:9px; display: block; margin: 10px 0px -4px 0px;"><!-- | --> <span style="font-size:9px; display: block; margin: 10px 0px -4px 0px;"><!-- | ||
--> <span class="NavTabHeader {{#if: <!-- | --> <span class="NavTabHeader {{#if: <!-- | ||
− | --> {{#switch: {{{1|}}} |d2_dia= | + | --> {{#switch: {{{1|}}} |d2_dia=X }}<!-- |
--> | SelectedNavTabHeader}}" title="D2_Dialogues" >'''Switch to Dialogues'''</span><!-- | --> | SelectedNavTabHeader}}" title="D2_Dialogues" >'''Switch to Dialogues'''</span><!-- | ||
--> </span><!-- | --> </span><!-- | ||
Line 255: | Line 262: | ||
--> {{iw|Barbarian_NPCs Barbarian}}<!-- | --> {{iw|Barbarian_NPCs Barbarian}}<!-- | ||
--> <br /><!-- | --> <br /><!-- | ||
+ | --> <br /><!-- | ||
+ | --> ''(Orange links are placeholders, yellow links are live)''<!-- | ||
--> <span style="font-size:9px; display: block; margin: 10px 0px -4px 0px;"><!-- | --> <span style="font-size:9px; display: block; margin: 10px 0px -4px 0px;"><!-- | ||
− | --> <span class="NavTabHeader" title="D2" >'''Switch to NPCs'''</span><!-- | + | --> <span class="NavTabHeader" title="D2">'''Switch to D2 NPCs'''</span><!-- |
--> </span><!-- | --> </span><!-- | ||
− | |||
--> </td><!-- | --> </td><!-- | ||
--> </tr><!-- | --> </tr><!-- | ||
Line 328: | Line 336: | ||
--> {{iw|Zhar_the_Mad Zhar}}<!-- | --> {{iw|Zhar_the_Mad Zhar}}<!-- | ||
--> <br /><!-- | --> <br /><!-- | ||
+ | --> <br /><!-- | ||
+ | --> ''(Orange links are placeholders, yellow links are live)''<!-- | ||
+ | |||
--> <span style="font-size:9px; display: block; margin: 10px 0px -4px 0px;"><!-- | --> <span style="font-size:9px; display: block; margin: 10px 0px -4px 0px;"><!-- | ||
− | --> <span class="NavTabHeader" title="D1" >'''Switch to NPCs'''</span><!-- | + | --> <span class="NavTabHeader" title="D1">'''Switch to D1 NPCs'''</span><!-- |
--> </span><!-- | --> </span><!-- | ||
− | |||
--> </td><!-- | --> </td><!-- | ||
--> </tr><!-- | --> </tr><!-- |
Revision as of 00:34, 7 March 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 |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.