Difference between revisions of "Heroes footer nav"

m (Transcluded documentation page)
m (Added default parameter)
Line 3: Line 3:
 
{| class="wikitable" style="margin: 0 auto;"
 
{| class="wikitable" style="margin: 0 auto;"
 
|-
 
|-
! colspan="2" style="text-align: center;" class="{{lc:{{{1}}}}}" | [[{{{1}}}]]
+
! colspan="2" style="text-align: center;" class="{{lc:{{{1|{{{name}}}}}}}}" | [[{{{1|{{{name}}}}}}]]
 
|- style="border-bottom: none;"
 
|- style="border-bottom: none;"
 
| style="width: 8rem; text-align: right; font-weight: bold; border-right: 3px solid #3c3e46; border-bottom: none;" | Lists
 
| style="width: 8rem; text-align: right; font-weight: bold; border-right: 3px solid #3c3e46; border-bottom: none;" | Lists
| style="padding-bottom: 0.5rem; border-bottom: none;" | [[List of {{{1}}} skills|Skills]]
+
| style="padding-bottom: 0.5rem; border-bottom: none;" | [[List of {{{1|{{{name}}}}}} skills|Skills]]
 
|-
 
|-
 
| style="width: 8rem; text-align: right; font-weight: bold; border-right: 3px solid #3c3e46;" | [[Mastery|Masteries]]
 
| style="width: 8rem; text-align: right; font-weight: bold; border-right: 3px solid #3c3e46;" | [[Mastery|Masteries]]
| style="padding-top: 0.5rem;" | {{#switch: {{{1}}} |
+
| style="padding-top: 0.5rem;" | {{#switch: {{{1|{{{name}}}}}} |
 
| style="border-bottom: none;" | Bomber = [[Bomber#Blast Medic|Blast Medic]]{{Bullet}}[[Bomber#Grenadier|Grenadier]]{{Bullet}}[[Bomber#Infiltrator|Infiltrator]]
 
| style="border-bottom: none;" | Bomber = [[Bomber#Blast Medic|Blast Medic]]{{Bullet}}[[Bomber#Grenadier|Grenadier]]{{Bullet}}[[Bomber#Infiltrator|Infiltrator]]
 
| style="border-bottom: none;" | Champion = [[Champion#Defender|Defender]]{{Bullet}}[[Champion#Destroyer|Destroyer]]{{Bullet}}[[Champion#Ranger|Ranger]]
 
| style="border-bottom: none;" | Champion = [[Champion#Defender|Defender]]{{Bullet}}[[Champion#Destroyer|Destroyer]]{{Bullet}}[[Champion#Ranger|Ranger]]

Revision as of 22:12, 16 February 2023

Description

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

Usage

{{Heroes footer nav|<Bomber>}}

Parameters

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

Errors

Invalid Hero.