Difference between revisions of "Template:Character navbox"

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search
(Created page with "<noinclude> ==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, s...")
 
 
(23 intermediate revisions by the same user not shown)
Line 10: Line 10:
 
  !Use only ONE of these variables!
 
  !Use only ONE of these variables!
 
  <nowiki>{{Character_navbox</nowiki>
 
  <nowiki>{{Character_navbox</nowiki>
  |d2               Diablo II NPC
+
  |D2               Diablo II dialogues
|d2_dia          Diablo II dialogues
+
  |D1               Diablo I 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
 
 
  <nowiki>}}</nowiki>
 
  <nowiki>}}</nowiki>
  
  
 
==Appearance==
 
==Appearance==
 +
</noinclude>
 +
<div class="NavTabContainer">
 +
<table align="center" style="width:900px" class="navbox">
 +
<tr>
 +
<th colspan="1">[[Characters]] & [[NPCs]] {{editlink|Template:Character_navbox|e|diablo2|A|A}}
 +
<span class="NavHeaderBlock" title="characters" style="font-size:9px; display: block; margin: 10px 0px -6px 0px;">
 +
<span class="NavTabHeader {{#if:
 +
{{#switch: {{{1|}}} |D2=X }}
 +
| SelectedNavTabHeader}}" title="D2" >'''D2 NPCs'''
 +
</span>
 +
<span class="NavTabHeader {{#if:
 +
{{#switch: {{{1|}}} |D1=X }}
 +
| SelectedNavTabHeader}}" title="D1" >'''D1 NPCs'''
 +
</span>
 +
</span>
 +
</th>
 +
</tr>
 +
</table>
 +
<div class="NavTabContentBlock" title="characters">
 +
<div class="NavTabContent" title="D2">{{D2_NPCs}}</div>
 +
<div class="NavTabContent" title="D1">{{D1_NPCs}}</div>
 +
</div>
 +
</div>
  
</noinclude><!--
+
<noinclude>[[Category:Navboxes]][[Category:Templates]]</noinclude>
--><table align="center" class="navbox NavTabContainer NavTabContentBlock" title="characters"><!--
 
--> <tr><!--
 
-->  <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="NavTabHeader {{#if: {{{1|}}} || SelectedNavTabHeader}} {{#if: <!--
 
-->    {{#switch: {{{1|}}} |d2=X }}<!--
 
-->    | 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: <!--
 
-->    {{#switch: {{{1|}}} |d1=d1 }}<!--
 
-->    | SelectedNavTabHeader}}" title="D1" >'''D1 NPCs'''</span><!--
 
-->    <span class="NavTabHeader {{#if: <!--
 
-->    {{#switch: {{{1|}}} |d1_dia=d1_dia }}<!--
 
-->    | SelectedNavTabHeader}}" title="D1_Dialogues" >'''D1 Dialogues'''</span><!--
 
-->  </span><!--
 
-->  </th><!--
 
--> </tr><!--
 
 
 
--> <tr class="NavTabContent" title="D2"><!--              D2 NPCs
 
-->  <th width="15%" style="font-size:10px;"><!--
 
-->  [[NPC]]s of [[Diablo II]]<!--
 
-->  </th><!--
 
-->  <td colspan="4"><!--
 
-->  '''[[Act I]]:'''<!--
 
-->  [[Akara]] - <!--
 
-->  [[Charsi]] - <!--
 
-->  [[Chickens]] - <!--
 
-->  [[Deckard Cain]] - <!--
 
-->  [[Flavie]] - <!--
 
-->  [[Gheed]] - <!--
 
-->  [[Kashya]] - <!--
 
-->  [[Rogue NPCs]] - <!--
 
-->  [[Warriv]]<!--
 
-->  <br /><!--
 
-->  '''[[Act II]]:'''<!--
 
-->  [[Atma]] - <!--
 
-->  [[Deckard Cain]]- <!--
 
-->  [[Drognan]] - <!--
 
-->  [[Elzix]] - <!--
 
-->  [[Fara]] - <!--
 
-->  [[Geglash]] - <!--
 
-->  [[Greiz]] - <!--
 
-->  [[Jerhyn]] - <!--
 
-->  [[Kaelan]] - <!--
 
-->  [[Lysander]] - <!--
 
-->  [[Meshif]] - <!--
 
-->  [[Tyrael]] - <!--
 
-->  [[Warriv]]<!--
 
-->  <br /><!--
 
-->  '''[[Act III]]:'''<!--
 
-->  [[Alkor]] - <!--
 
-->  [[Asheara]] - <!--
 
-->  [[Deckard Cain]] - <!--
 
-->  [[Hratli]] - <!--
 
-->  [[Meshif]] - <!--}}
 
-->  [[Natalya]] - <!--
 
-->  [[Ormus]] - <!--
 
-->  [[The Iron Wolves]] - <!--
 
-->  [[Dark Wanderer]]<!--
 
-->  <br /><!--
 
-->  '''[[Act IV]]:'''<!--
 
-->  [[Deckard Cain]] - <!--
 
-->  [[Halbu]] - <!--
 
-->  [[Hadriel]] - <!--
 
-->  [[Izual NPC]] - <!--
 
-->  [[Jamella]] - <!--
 
-->  [[Tyrael]]<!--
 
-->  <br /><!--
 
-->  '''[[Act V]]:'''<!--
 
-->  [[Anya]] - <!--
 
-->  [[Deckard Cain]] - <!--
 
-->  [[Larzuk]] - <!--
 
-->  [[Malah]] - <!--
 
-->  [[Nihlathak]] - <!--
 
-->  [[Qual-Kehk]] - <!--
 
-->  [[The Ancients]] - <!--
 
-->  [[Tyrael]] - <!--
 
-->  [[Barbarian NPCs]] - <!--
 
-->  [[Bunnies]] - <!--
 
-->  [[The Bunny Roaster]]<!--
 
-->  <br /><!--
 
-->  </td><!--
 
--> </tr><!--
 
 
 
--> <tr class="NavTabContent" title="D2_Dialogues"><!--    D2 Dialogues
 
-->  <th width="15%" style="font-size:10px;"><!--
 
-->    [[Dialogue|NPC Dialogues]] of [[Diablo II]]<!--
 
-->  </th><!--
 
-->  <td colspan="4"><!--
 
-->  '''[[Act I]]:'''<!--
 
-->  [[Akara]] - <!--
 
-->  [[Charsi]] - <!--
 
-->  [[Chickens]] - <!--
 
-->  [[Deckard Cain]] - <!--
 
-->  [[Flavie]] - <!--
 
-->  [[Gheed]] - <!--
 
-->  [[Kashya]] - <!--
 
-->  [[Rogue NPCs]] - <!--
 
-->  [[Warriv]]<!--
 
-->  <br /><!--
 
-->  '''[[Act II]]:'''<!--
 
-->  [[Atma]] - <!--
 
-->  [[Deckard Cain]]- <!--
 
-->  [[Drognan]] - <!--
 
-->  [[Elzix]] - <!--
 
-->  [[Fara]] - <!--
 
-->  [[Geglash]] - <!--
 
-->  [[Greiz]] - <!--
 
-->  [[Jerhyn]] - <!--
 
-->  [[Kaelan]] - <!--
 
-->  [[Lysander]] - <!--
 
-->  [[Meshif]] - <!--
 
-->  [[Tyrael]] - <!--
 
-->  [[Warriv]]<!--
 
-->  <br /><!--
 
-->  '''[[Act III]]:'''<!--
 
-->  [[Alkor]] - <!--
 
-->  [[Asheara]] - <!--
 
-->  [[Deckard Cain]] - <!--
 
-->  [[Hratli]] - <!--
 
-->  [[Meshif]] - <!--}}
 
-->  [[Natalya]] - <!--
 
-->  [[Ormus]] - <!--
 
-->  [[The Iron Wolves]] - <!--
 
-->  [[Dark Wanderer]]<!--
 
-->  <br /><!--
 
-->  '''[[Act IV]]:'''<!--
 
-->  [[Deckard Cain]] - <!--
 
-->  [[Halbu]] - <!--
 
-->  [[Hadriel]] - <!--
 
-->  [[Izual NPC]] - <!--
 
-->  [[Jamella]] - <!--
 
-->  [[Tyrael]]<!--
 
-->  <br /><!--
 
-->  '''[[Act V]]:'''<!--
 
-->  [[Anya]] - <!--
 
-->  [[Deckard Cain]] - <!--
 
-->  [[Larzuk]] - <!--
 
-->  [[Malah]] - <!--
 
-->  [[Nihlathak]] - <!--
 
-->  [[Qual-Kehk]] - <!--
 
-->  [[The Ancients]] - <!--
 
-->  [[Tyrael]] - <!--
 
-->  [[Barbarian NPCs]] - <!--
 
-->  [[Bunnies]] - <!--
 
-->  [[The Bunny Roaster]]<!--
 
-->  <br /><!--
 
-->  </td><!--
 
--> </tr><!--
 
 
 
--> <tr class="NavTabContent" title="D1"><!--            D1 NPCs
 
-->  <th width="15%" style="font-size:10px;"><!--
 
-->  [[NPC]]s of [[Diablo I]]<!--
 
-->  </th><!--
 
-->  <td colspan="4"><!--
 
-->  '''NPCs:'''<!--
 
-->  [[D1_NPCs#Adria_the_Witch|Adria]] - <!--
 
-->  [[D1_NPCs#Deckard_Cain|Deckard Cain]] - <!--
 
-->  [[D1_NPCs#Farnum_the_Drunk|Farnham]] - <!--
 
-->  [[D1_NPCs#Gillian_the_Barmaid|Gillian]] - <!--
 
-->  [[D1_NPCs#Griswold_the_Blacksmith|Griswold]] - <!--
 
-->  [[D1_NPCs#Ogden_the_Innkeeper|Ogden]] - <!--
 
-->  [[D1_NPCs#Pepin_the_Healer|Pepin]] - <!--
 
-->  [[D1_NPCs#Wirt_the_Peg-Legged_Boy|Wirt]] - <!--
 
-->  <br /><!--
 
-->  '''Hellfire NPCs:'''<!--
 
-->  [[D1_NPCs|Celia]] - <!--
 
-->  [[D1_NPCs|Lester]] - <!--
 
-->  [[D1_NPCs|The Complete Nut]]<!--
 
-->  <br /><!--
 
-->  '''Monster NPCs:'''<!--
 
-->  [[Gharbad the Weak]] - <!--
 
-->  [[Lachdanan]] - <!--
 
-->  [[Lazarus]] - <!--
 
-->  [[Snotspill]] - <!--
 
-->  [[Zhar the Mad]]<!--
 
-->  <br /><!--
 
-->  '''Hellfire Monster NPCs:'''<!--
 
-->  {{iw|D1_NPCs Defiler}} - <!--
 
-->  {{iw|D1_NPCs Na-Krul}} - <!--
 
-->  </td><!--
 
--> </tr><!--
 
 
 
--> <tr class="NavTabContent" title="D1_Dialogues"><!--
 
-->  <th width="15%" style="font-size:10px;"><!--              D1 Dialogues
 
-->    [[Dialogue|NPC Dialogues]] of [[Diablo I]]<!--
 
-->  </th><!--
 
-->  <td colspan="4"><!--
 
 
 
-->  '''NPCs:'''<!--
 
-->  [[Adria_the_Witch|Adria]] - <!--
 
-->  [[Cain_the_Elder|Deckard Cain]] - <!--
 
-->  [[Farnum_the_Drunk|Farnham]] - <!--
 
-->  [[Gillian_the_Barmaid|Gillian]] - <!--
 
-->  [[Griswold_the_Blacksmith|Griswold]] - <!--
 
-->  [[Ogden the Tavern Owner|Ogden]] - <!--
 
-->  [[Pepin_the_Healer|Pepin]] - <!--
 
-->  [[Wirt_the_Peg-Legged_Boy|Wirt]] - <!--
 
-->  <br /><!--
 
-->  '''Hellfire NPCs:'''<!--
 
-->  [[D1_NPCs|Celia]] - <!--
 
-->  [[D1_NPCs|Lester]] - <!--
 
-->  [[D1_NPCs|The Complete Nut]]<!--
 
-->  <br /><!--
 
-->  '''Monster NPCs:'''<!--
 
-->  [[Gharbad the Weak]] - <!--
 
-->  [[Lachdanan]] - <!--
 
-->  [[Lazarus]] - <!--
 
-->  [[Snotspill]] - <!--
 
-->  [[Zhar the Mad]]<!--
 
-->  <br /><!--
 
-->  '''Hellfire Monster NPCs:'''<!--
 
-->  {{iw|D1_NPCs Defiler}} - <!--
 
-->  {{iw|D1_NPCs Na-Krul}}<!--
 
-->  <br /><!--
 
-->  <br /><!--
 
-->  ''(Orange links are placeholders, yellow links are live)''<!--
 
-->  </td><!--
 
--> </tr><!--
 
 
 
--> <tr><!--
 
-->  <th colspan="5" style="font-size:9px; font-weight:normal;"><!--
 
-->  (All listed [[NPCs]] and [[Monsters]] are also [[Character]]s, main ones or otherwise.) - (This navigation is being populated.)<!--
 
-->  </th><!--
 
--> </tr><!--
 
--></table><noinclude>[[Category:Templates]][[Category:Navboxes]]
 
 
 
 
 
 
 
 
 
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.
 
 
 
 
 
 
 
 
 
 
 
</noinclude>
 

Latest revision as of 18:24, 12 October 2011


Guideline for Tab Choice[edit]

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[edit]

!Use only ONE of these variables!
{{Character_navbox
|D2               Diablo II dialogues
|D1               Diablo I dialogues
}}


Appearance[edit]