Difference between revisions of "Heroes footer nav"

m (All skills -> {{{1}}} Skills)
 
(31 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
{{#vardefine:hero|{{ucfirst:{{lc:{{{1}}}}}}}}}<div style="display: inline-block; width: 100%;"><div class="table-responsive" style="margin: 0 auto;">
+
<div style="display: inline-block; width: 100%;"><div class="table-responsive">
{| class="wikitable"
+
{| class="wikitable" style="margin: 0 auto;"
 
|-
 
|-
! colspan="2" style="text-align: center;" class="{{lc:{{#var:hero}}}}" | [[{{#var:hero}}]]
+
! colspan="2" style="text-align: center;" class="{{lc:{{{1}}}}}" | [[{{{1}}}]]
 
|- style="border-bottom: none;"
 
|- style="border-bottom: none;"
| style="width: 8rem; text-align: right; font-weight: bold; border-right: 1px solid #262831;" | Lists
+
| style="width: 8rem; text-align: right; font-weight: bold; border-right: 3px solid #3c3e46; border-bottom: none;" | Lists
| style="padding-bottom: 0.5rem;" | [[List of {{#var:hero}} skills|Skills]]
+
| style="padding-bottom: 0.5rem; border-bottom: none;" | [[{{{1}}}#Skills|{{{1}}} Skills]]
 
|-
 
|-
| style="width: 8rem; text-align: right; font-weight: bold; border-right: 1px solid #262831;" | Specializations
+
| style="width: 8rem; text-align: right; font-weight: bold; border-right: 3px solid #3c3e46;" | [[Mastery|Masteries]]
| style="padding-top: 0.5rem;" | {{#switch: {{#var:hero}} |
+
| style="padding-top: 0.5rem;" | {{#switch: {{{1}}} |
| Bomber = [[Bomber#Blast Medic|Blast Medic]]{{Bullet}}[[Bomber#Grenadier|Grenadier]]{{Bullet}}[[Bomber#Infiltrator|Infiltrator]]
+
| style="border-bottom: none;" | Bomber = [[Blast Medic]]{{Bullet}}[[Grenadier]]{{Bullet}}[[Infiltrator]]
| Champion = [[Champion#Defender|Defender]]{{Bullet}}[[Champion#Destroyer|Destroyer]]{{Bullet}}[[Champion#Ranger|Ranger]]
+
| style="border-bottom: none;" | Champion = [[Defender]]{{Bullet}}[[Destroyer]]{{Bullet}}[[Ranger]]
| Paladin = [[Paladin#Cleric|Cleric]]{{Bullet}}[[Paladin#Crusader|Crusader]]{{Bullet}}[[Paladin#Hand of the Light|Hand of the Light]]
+
| style="border-bottom: none;" | Mercenary = [[Berserker]]{{Bullet}}[[Engineer]]{{Bullet}}[[Sniper]]
| Warmonger = [[Warmonger#Commando|Commando]]{{Bullet}}[[Warmonger#Legionary|Legionary]]{{Bullet}}[[Warmonger#Shaman|Shaman]]
+
| style="border-bottom: none;" | Pain Reaper = [[Pyromancer]]{{Bullet}}[[Soul Eater]]{{Bullet}}[[Warlock]]
 +
| style="border-bottom: none;" | Paladin = [[Cleric]]{{Bullet}}[[Crusader]]{{Bullet}}[[Hand of the Light]]
 +
| style="border-bottom: none;" | Warmonger = [[Commando]]{{Bullet}}[[Legionary]]{{Bullet}}[[Shaman]]
 +
| style="border-bottom: none;" | #default = {{error|Invalid Hero.}}
 
}}
 
}}
 
|-
 
|-
! colspan="2" style="text-align: center;" | All [[heroes]]
+
! colspan="2" style="text-align: center;" | All [[hero]]es
 
|-
 
|-
| colspan="2" style="text-align: center; font-size: smaller;" | [[Bomber]]{{Bullet}}[[Champion]]{{Bullet}}[[Paladin]]{{Bullet}}[[Warmonger]]
+
| colspan="2" style="text-align: center; font-size: smaller;" | [[Bomber]]{{Bullet}}[[Champion]]{{Bullet}}[[Mercenary]]{{Bullet}}[[Pain Reaper]]{{Bullet}}[[Paladin]]{{Bullet}}[[Warmonger]]
|}
+
|}</div></div></includeonly><noinclude>{{Heroes footer nav/Documentation}}</noinclude>
</div></div></includeonly>
 

Latest revision as of 23:51, 15 April 2023

Description[edit]

Creates a navigation panel for a specific Hero. It includes a list of its masteries and a list of all heroes.

Usage[edit]

{{Heroes footer nav|<Bomber>}}

Parameters[edit]

Arrow.png1: The name of the hero to be used for the panel.
Required.

Errors[edit]

Invalid Hero.