Difference between revisions of "Template:Character navbox"

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search
m
m
Line 4: Line 4:
  
  
{{Character navbox|poss}}
+
!Use only ONE of these variables!
 
+
<nowiki>{{Character_navbox</nowiki>
{{Character navbox|d1}}
+
|d3              Confirmed Diablo III NPC
 +
|poss             Possible Diablo III NPC
 +
|d2              Diablo II NPC
 +
|d1              Diablo I NPC
 +
|main            Main Character
 +
|imp              Important Character
 +
|minor            Minor Character
 +
<nowiki>}}</nowiki>
  
  
Line 12: Line 19:
 
--><table align="center" class="navbox NavTabContainer"><!--
 
--><table align="center" class="navbox NavTabContainer"><!--
 
--> <tr><!--
 
--> <tr><!--
-->  <th colspan="3">[[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 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: {{{1|}}} || SelectedNavTabHeader}} {{#if: <!--
 
-->    <span class="NavTabHeader {{#if: {{{1|}}} || SelectedNavTabHeader}} {{#if: <!--
 
-->    {{#switch: {{{1|}}} |d3=d3 |conf=d3 }}<!--
 
-->    {{#switch: {{{1|}}} |d3=d3 |conf=d3 }}<!--
-->    | SelectedNavTabHeader}}" title="Conf" >'''Confirmed D3 NPCs'''</span><!--
+
-->    | SelectedNavTabHeader}}" title="Conf" >'''Conf. D3 NPCs'''</span><!--
 
-->    <span class="NavTabHeader {{#if: <!--
 
-->    <span class="NavTabHeader {{#if: <!--
 
-->    {{#switch: {{{1|}}} |poss=poss }}<!--
 
-->    {{#switch: {{{1|}}} |poss=poss }}<!--
-->    | SelectedNavTabHeader}}" title="Poss">'''Possible D3 NPCs'''</span><!--
+
-->    | SelectedNavTabHeader}}" title="Poss">'''Poss. D3 NPCs'''</span><!--
 
-->    <span class="NavTabHeader {{#if: <!--
 
-->    <span class="NavTabHeader {{#if: <!--
 
-->    {{#switch: {{{1|}}} |d2=d2 }}<!--
 
-->    {{#switch: {{{1|}}} |d2=d2 }}<!--
Line 28: Line 35:
 
-->    <span class="NavTabHeader {{#if: <!--
 
-->    <span class="NavTabHeader {{#if: <!--
 
-->    {{#switch: {{{1|}}} |main=main }}<!--
 
-->    {{#switch: {{{1|}}} |main=main }}<!--
-->    | SelectedNavTabHeader}}" title="Main" >'''Main Characters'''</span><!--
+
-->    | SelectedNavTabHeader}}" title="Main" >'''Main Chars'''</span><!--
 
-->    <span class="NavTabHeader {{#if: <!--
 
-->    <span class="NavTabHeader {{#if: <!--
 
-->    {{#switch: {{{1|}}} |imp=imp }}<!--
 
-->    {{#switch: {{{1|}}} |imp=imp }}<!--
-->    | SelectedNavTabHeader}}" title="Imp" >'''Important Characters'''</span><!--
+
-->    | SelectedNavTabHeader}}" title="Imp" >'''Important Chars'''</span><!--
 
-->    <span class="NavTabHeader {{#if: <!--
 
-->    <span class="NavTabHeader {{#if: <!--
 
-->    {{#switch: {{{1|}}} |minor=minor }}<!--
 
-->    {{#switch: {{{1|}}} |minor=minor }}<!--
Line 38: Line 45:
 
-->    {{#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: <!--
 +
-->    {{#switch: {{{1|}}} |fan_char=fan_char }}<!--
 +
-->    | SelectedNavTabHeader}}" title="Fan_Character" >'''Fanmade'''</span><!--
 
-->  </span><!--
 
-->  </span><!--
 
-->  </th><!--
 
-->  </th><!--
Line 45: Line 55:
 
-->    [[Diablo III]]'s [[NPCs|Confirmed NPCs]]<!--
 
-->    [[Diablo III]]'s [[NPCs|Confirmed NPCs]]<!--
 
-->  </th><!--
 
-->  </th><!--
-->  <td colspan="2"><!--
+
-->  <td colspan="4"><!--
 
-->  <center><!--
 
-->  <center><!--
 
-->[[Alesar]] - <!--
 
-->[[Alesar]] - <!--
Line 72: Line 82:
 
-->  [[Diablo III]]'s [[NPC|Possible NPCs]]<!--
 
-->  [[Diablo III]]'s [[NPC|Possible NPCs]]<!--
 
-->  </th><!--
 
-->  </th><!--
-->  <td colspan="2"><!--
+
-->  <td colspan="4"><!--
 
-->  <center><!--
 
-->  <center><!--
 
-->[[Abd al-Hazir]] - <!--
 
-->[[Abd al-Hazir]] - <!--
Line 91: Line 101:
 
-->  [[NPC]]s of [[Diablo II]]<!--
 
-->  [[NPC]]s of [[Diablo II]]<!--
 
-->  </th><!--
 
-->  </th><!--
-->  <td colspan="2"><!--
+
-->  <td colspan="4"><!--
 
-->  '''{{iw|Act_I Act I}}:'''<!--
 
-->  '''{{iw|Act_I Act I}}:'''<!--
 
-->  {{iw|Akara Akara}} - <!--
 
-->  {{iw|Akara Akara}} - <!--
Line 155: Line 165:
 
-->  [[NPC]]s of [[Diablo I]]<!--
 
-->  [[NPC]]s of [[Diablo I]]<!--
 
-->  </th><!--
 
-->  </th><!--
-->  <td colspan="2"><!--
+
-->  <td colspan="4"><!--
 
-->  '''NPCs:'''<!--
 
-->  '''NPCs:'''<!--
 
-->  {{iw|1_NPCs Adria}}<!--
 
-->  {{iw|1_NPCs Adria}}<!--
Line 183: Line 193:
 
-->  [[Character|Main Characters]]'''<!--
 
-->  [[Character|Main Characters]]'''<!--
 
-->  </th><!--
 
-->  </th><!--
-->  <td colspan="1"><!--
+
-->  <td colspan="3"><!--
 
-->  <b><u>Good:</u></b> <!--
 
-->  <b><u>Good:</u></b> <!--
 
-->[[Player character|Unnamed Heroes]] - <!--
 
-->[[Player character|Unnamed Heroes]] - <!--
Line 199: Line 209:
 
--> </tr><!--
 
--> </tr><!--
 
--> <tr class="NavTabContent" title="Main"><!--
 
--> <tr class="NavTabContent" title="Main"><!--
-->  <td colspan="2"><!--
+
-->  <td colspan="4"><!--
 
-->  ''* Presumed and [[Tyrael|debated]]''<!--
 
-->  ''* Presumed and [[Tyrael|debated]]''<!--
 
-->  </td><!--
 
-->  </td><!--
Line 207: Line 217:
 
-->  [[Character|Important Characters]]<!--
 
-->  [[Character|Important Characters]]<!--
 
-->  </th><!--
 
-->  </th><!--
-->  <td colspan="2"><!--
+
-->  <td colspan="4"><!--
 
-->  <center><!--
 
-->  <center><!--
 
-->[[Abd al-Hazir]] - <!--
 
-->[[Abd al-Hazir]] - <!--
Line 264: Line 274:
 
-->  [[Character|Minor A-K]]<!--
 
-->  [[Character|Minor A-K]]<!--
 
-->  </th><!--
 
-->  </th><!--
-->  <td colspan="2"><!--
+
-->  <td colspan="4"><!--
 
-->  <center><!--
 
-->  <center><!--
 
-->[[Achilios]] - <!--
 
-->[[Achilios]] - <!--
Line 329: Line 339:
 
-->  [[Character|Minor L-Z]]<!--
 
-->  [[Character|Minor L-Z]]<!--
 
-->  </th><!--
 
-->  </th><!--
-->  <td colspan="2"><!--
+
-->  <td colspan="4"><!--
 
-->  <center><!--
 
-->  <center><!--
 
-->[[Linariel]] - <!--
 
-->[[Linariel]] - <!--
Line 376: Line 386:
 
-->  </td><!--
 
-->  </td><!--
 
--> </tr><!--
 
--> </tr><!--
 +
 +
-->{{Fan character navbox}}<!--
 +
 
--> <tr><!--
 
--> <tr><!--
-->  <th colspan="3" style="font-size:9px; font-weight:normal;"><!--
+
-->  <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.)<!--
 
-->  (All listed [[NPCs]] and [[Monsters]] are also [[Character]]s, main ones or otherwise.) - (This navigation is being populated.)<!--
 
-->  </th><!--
 
-->  </th><!--
Line 384: Line 397:
  
  
 
 
 
 
 
!Use only ONE of these variables!
 
<nowiki>{{Character_navbox</nowiki>
 
|d3              Confirmed Diablo III NPC
 
|poss            Possible Diablo III NPC
 
|d2              Diablo II NPC
 
|d1              Diablo I NPC
 
|main            Main Character
 
|imp              Important Character
 
|minor            Minor Character
 
<nowiki>}}</nowiki>
 
  
  
  
 
</noinclude>
 
</noinclude>

Revision as of 22:44, 19 June 2010


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.


!Use only ONE of these variables!
{{Character_navbox
|d3               Confirmed Diablo III NPC
|poss             Possible Diablo III NPC
|d2               Diablo II NPC
|d1               Diablo I NPC
|main             Main Character
|imp              Important Character
|minor            Minor Character
}}