Difference between revisions of "Heroes footer nav"

m (All skills -> {{{1}}} Skills)
 
(54 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:hero|{{ucfirst:{{lc:{{{1}}}}}}}}}<div class="table-responsive" style="max-width: 30rem; margin: 0 auto; border-radius: 0.25rem;">
+
<includeonly>
{| class="table"
+
<div style="display: inline-block; width: 100%;"><div class="table-responsive">
 +
{| class="wikitable" style="margin: 0 auto;"
 
|-
 
|-
! colspan="2" style="text-align: center;" | [[{{#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 #373940;" | 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="border-bottom: none;"
 
| style="width: 8rem; text-align: right; font-weight: bold; border-right: 1px solid #373940;" | Specializations
 
| style="padding-top: 0.5rem;" | {{#switch: {{#var:hero}} |
 
| Bomber = [[Bomber#Blast Medic|Blast Medic]]{{Bullet}}[[Bomber#Grenadier|Grenadier]]{{Bullet}}[[Bomber#Infiltrator|Infiltrator]]
 
| Champion = [[Champion#Defender|Defender]]{{Bullet}}[[Champion#Destroyer|Destroyer]]{{Bullet}}[[Champion#Ranger|Ranger]]
 
| Paladin = [[Paladin#Cleric|Cleric]]{{Bullet}}[[Paladin#Crusader|Crusader]]{{Bullet}}[[Paladin#Hand of the Light|Hand of the Light]]
 
}}
 
 
|-
 
|-
| style="width: 8rem; text-align: right; font-weight: bold; font-size: smaller; border-right: 1px solid #373940;" | Related
+
| style="width: 8rem; text-align: right; font-weight: bold; border-right: 3px solid #3c3e46;" | [[Mastery|Masteries]]
| style="padding-top: 0.5rem; font-size: smaller;" | {{#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]]
 +
| 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 [[hero]]es
 
! colspan="2" style="text-align: center;" | All [[hero]]es
 
|-
 
|-
| colspan="2" style="text-align: center; font-size: smaller;" | [[Bomber]]{{Bullet}}[[Champion]]{{Bullet}}[[Paladin]]
+
| 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></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.