The Diablo 2 Wiki
The Diablo 2 Wiki archive is available for anyone looking for information on Diablo 2. All information here is pre-D2R but contains a lot of useful information that is still relevant. Updated sections for new D2R features can be found on the PureDiablo Diablo 2 section

Template:Character navbox: Difference between revisions

Template page
No edit summary
No edit summary
 
(10 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
  <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|diablo2|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"><!--
-->  '''Diablo NPCs:'''<!--
-->  [[D1_NPCs#Adria_the_Witch|Adria]] - <!--
-->  [[D1_NPCs#Cain_the_Elder|Deckard Cain]] - <!--
-->  [[D1_NPCs#Cows|Cows]] - <!--
-->  [[D1_NPCs#Farnham_the_Drunk|Farnham]] - <!--
-->  [[D1_NPCs#Gillian_the_Barmaid|Gillian]] - <!--
-->  [[D1_NPCs#Griswold_the_Blacksmith|Griswold]] - <!--
-->  [[D1_NPCs#Kael_Rills|Kael Rills]] - <!--
-->  [[D1_NPCs#Ogden_the_Tavern_Owner|Ogden]] - <!--
-->  [[D1_NPCs#Pepin_the_Healer|Pepin]] - <!--
-->  [[D1_NPCs#Wirt_the_Peg-Legged_Boy|Wirt]] -- <!--
-->  [[D1_NPCs#Lester_the_Farmer|Lester the Farmer]] - <!--
-->  [[D1_NPCs#Complete_Nut|Complete Nut]] - <!--
-->  [[D1_NPCs#Celia|Celia]]<!--
-->  <br /><!--
-->  '''Monster NPCs:'''<!--
-->  [[D1_NPCs#Gharbad_the_Weak|Gharbad]] - <!--
-->  [[D1_NPCs#Lachdanan|Lachdanan]] - <!--
-->  [[D1_NPCs#Archbishop_Lazarus|Lazarus]] - <!--
-->  [[D1_NPCs#Snotspill|Snotspill]] - <!--
-->  [[D1_NPCs#Zhar_the_Mad|Zhar]] -- <!--
-->  [[D1_NPCs#The_Defiler|Defiler]] - <!--
-->  [[D1_NPCs#Na-Krul|Na-Krul]]<!--
-->  <br /><!--
-->  </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|Cain]] - <!--
-->  [[Cows|Cows]] - <!--
-->  [[Farnham_the_Drunk|Farnham]] - <!--
-->  [[Gillian_the_Barmaid|Gillian]] - <!--
-->  [[Griswold_the_Blacksmith|Griswold]] - <!--
-->  [[Kael_Rills|Kael Rills]] - <!--
-->  [[Ogden_the_Tavern_Owner|Ogden]] - <!--
-->  [[Pepin_the_Healer|Pepin]] - <!--
-->  [[Wirt_the_Peg-Legged_Boy|Wirt]] -- <!--
-->  [[The_Farmer's_Orchard|Lester the Farmer]] - <!--
-->  [[The_Jersey's_Jersey|Complete Nut]] - <!--
-->  [[Little_Girl|Celia]]<!--
-->  <br /><!--
-->  '''Monster NPCs:'''<!--
-->  [[Gharbad_the_Weak|Gharbad]] - <!--
-->  [[Lachdanan|Lachdanan]] - <!--
-->  [[Archbishop_Lazarus|Lazarus]] - <!--
-->  [[Ogden's_Sign|Snotspill]] - <!--
-->  [[Zhar_the_Mad|Zhar]] -- <!--
-->  [[The_Defiler|Defiler]] - <!--
-->  [[Na-Krul_Quest|Na-Krul]]<!--
-->  </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

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
|D2               Diablo II dialogues
|D1               Diablo I dialogues
}}


Appearance