Difference between revisions of "Template:Races navbox"

ADVERTISEMENT
From Diablo Wiki
Jump to: navigation, search
(testing something)
(tweaks)
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
 
 
Just a small strip of code is actually transcluded, and used in other navboxes.
 
 
 
 
<!--
 
<!--
--><table align="center" class="navbox NavTabContainer"><!--
+
--><table align="center" class="navbox NavTabContainer NavTabContentBlock" title="Races"><!--
 
--> <tr><!--
 
--> <tr><!--
-->  <th colspan="5">[[Race|Races]] of the [[Diablo Universe]]<div style="float:right; margin-left: -10px;">{{editlink|Template:Races_navbox|e|www|A|A}}</div><!--
+
-->  <th colspan="5">[[Race|Races]] of the [[Diablo Universe]]<br /> Please select the race you wish to view.<div style="float:right; margin-left: -10px;">{{editlink|Template:Races_navbox|e|www|A|A}}</div><!--
-->  <span style="font-size:9px; display: block; margin: 10px 0px -4px 0px;"><!--
 
-->    <span class="NavTabHeader SelectedNavTabHeader" title="Races">'''Races'''</span><!--
 
-->  </span><!--
 
-->  </th><!--
 
--> </tr><!--
 
--></noinclude><!--
 
--> <tr class="NavTabContent" title="Races"><!--
 
-->  <th width="15%" style="font-size:10px;"><!--
 
-->    [[Races]]<!--                Races
 
-->  </th><!--
 
-->  <td colspan="1"><!--
 
 
 
  
 
+
-->  <span class="NavHeaderBlock" title="Races" style="font-size:9px; display: block; margin: 10px 0px -4px 0px;"><!--
--><table align="center" class="navbox NavTabContainer NavTabContentBlock" title="characters"><!--
 
--> <tr><!--
 
-->  <th colspan="5">[[Race|Races]] of the [[Diablo Universe]]<div style="float:right; margin-left: -10px;">{{editlink|Template:Races_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: <!--
 
-->    <span class="NavTabHeader {{#if: {{{1|}}} || SelectedNavTabHeader}} {{#if: <!--
-->    {{#switch: {{{1|}}} |Angels=X }}<!--
+
-->    {{#switch: {{{1|}}} |Angels=Angels }}<!--
 
-->    | SelectedNavTabHeader}}" title="Angels" >'''Angels'''</span><!--
 
-->    | SelectedNavTabHeader}}" title="Angels" >'''Angels'''</span><!--
 +
 
-->    <span class="NavTabHeader {{#if: <!--
 
-->    <span class="NavTabHeader {{#if: <!--
-->    {{#switch: {{{1|}}} |Demons=X }}<!--
+
-->    {{#switch: {{{1|}}} |Demons=Demons }}<!--
 
-->    | SelectedNavTabHeader}}" title="Demons" >'''Demons'''</span><!--
 
-->    | SelectedNavTabHeader}}" title="Demons" >'''Demons'''</span><!--
 +
 
-->    <span class="NavTabHeader {{#if: <!--
 
-->    <span class="NavTabHeader {{#if: <!--
-->    {{#switch: {{{1|}}} |Humans=X }}<!--
+
-->    {{#switch: {{{1|}}} |Humans=Humans }}<!--
 
-->    | SelectedNavTabHeader}}" title="Humans" >'''Humans'''</span><!--
 
-->    | SelectedNavTabHeader}}" title="Humans" >'''Humans'''</span><!--
 +
 
-->    <span class="NavTabHeader {{#if: <!--
 
-->    <span class="NavTabHeader {{#if: <!--
-->    {{#switch: {{{1|}}} |Nephalem=X }}<!--
+
-->    {{#switch: {{{1|}}} |Nephalem=Naphalem }}<!--
 
-->    | SelectedNavTabHeader}}" title="Nephalem" >'''Nephalem'''</span><!--
 
-->    | SelectedNavTabHeader}}" title="Nephalem" >'''Nephalem'''</span><!--
 
-->  </span><!--
 
-->  </span><!--
 
-->  </th><!--
 
-->  </th><!--
 
--> </tr><!--
 
--> </tr><!--
 +
 
--> <tr class="NavTabContent" title="Angels"><!--                Angel Characters
 
--> <tr class="NavTabContent" title="Angels"><!--                Angel Characters
 
-->  <th width="15%" style="font-size:10px;" rowspan="1"><!--
 
-->  <th width="15%" style="font-size:10px;" rowspan="1"><!--
Line 71: Line 54:
 
-->  </td><!--
 
-->  </td><!--
 
--> </tr><!--
 
--> </tr><!--
 +
 
--> <tr class="NavTabContent" title="Demons"><!--                Demon Characters
 
--> <tr class="NavTabContent" title="Demons"><!--                Demon Characters
 
-->  <th width="15%" style="font-size:10px;" rowspan="1"><!--
 
-->  <th width="15%" style="font-size:10px;" rowspan="1"><!--
Line 104: Line 88:
 
-->  </td><!--
 
-->  </td><!--
 
--> </tr><!--
 
--> </tr><!--
 +
 +
 
--> <tr class="NavTabContent" title="Humans"><!--                Human Characters
 
--> <tr class="NavTabContent" title="Humans"><!--                Human Characters
 
-->  <th width="15%" style="font-size:10px;" rowspan="1"><!--
 
-->  <th width="15%" style="font-size:10px;" rowspan="1"><!--
-->    [[Human|Human]] [[Character]]s<!--
+
-->    [[Characters|Human Characters]]<!--
 
-->  </th><!--
 
-->  </th><!--
-->  <td colspan="4"><!--
+
-->  <td colspan="1"><!--
 
-->
 
-->
* [[Human]]s are too numerous to list. See individual "Main", "Important" and "Minor" tabs.<!--
+
* [[Humans]] are too numerous to list. See individual, "Main," "Important," and "Minor" tabs.  
-->  <br /><!--
+
<!--
-->  <br /><!--
 
 
-->  </td><!--
 
-->  </td><!--
 
--> </tr><!--
 
--> </tr><!--
 +
 
--> <tr class="NavTabContent" title="Nephalem"><!--                Nephalem Characters
 
--> <tr class="NavTabContent" title="Nephalem"><!--                Nephalem Characters
 
-->  <th width="15%" style="font-size:10px;" rowspan="1"><!--
 
-->  <th width="15%" style="font-size:10px;" rowspan="1"><!--
Line 151: Line 137:
 
-->  </td><!--
 
-->  </td><!--
 
--> </tr><!--
 
--> </tr><!--
--> <tr><!--
+
--></table><!--
--> <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.)<!--
+
<noinclude>
-->  </th><!--
+
[[Category:Templates]]
--> </tr><!--
+
</noinclude>
--></table><noinclude>[[Category:Templates]][[Category:Navboxes]]
 

Latest revision as of 02:38, 8 March 2011