Difference between revisions of "Template:RacePerks"

From Archives of Lusternian Lore
Jump to navigation Jump to search
(Made a template based on the tables that some race pages already have but others do not.)
 
m (→‎Example: fixing a typo)
Line 23: Line 23:
| style="font-size: larger; color:white" align="center" colspan="2" bgcolor="darkblue" | '''Perks'''
| style="font-size: larger; color:white" align="center" colspan="2" bgcolor="darkblue" | '''Perks'''
|-
|-
| align="right" bgcolor="lightblue" | '''Level 1'''
| align="right" bgcolor="lightblue" | '''Level 1'''| ''{{{1}}}''
| ''{{{1}}}}''
|-
|-
| align="right" bgcolor="lightblue" | '''Level 25'''
| align="right" bgcolor="lightblue" | '''Level 25'''| ''{{{2}}}''
| ''{{{2}}}''
|-
|-
| align="right" bgcolor="lightblue" | '''Level 50'''
| align="right" bgcolor="lightblue" | '''Level 50'''| ''{{{3}}}''
| ''{{{3}}}''
|-
|-
| align="right" bgcolor="lightblue" | '''Demigod'''
| align="right" bgcolor="lightblue" | '''Demigod'''| ''{{{4}}}''
| ''{{{4}}}''
|-
|-
| align="right" bgcolor="lightblue" | '''Demigod+'''
| align="right" bgcolor="lightblue" | '''Demigod+'''| ''{{{5}}}''
| ''{{{5}}}''
|-
|-
|}</onlyinclude>
|}</onlyinclude>


[[Category: Templates]]
[[Category: Templates]]

Revision as of 23:31, 3 May 2022

Template for listing racial perks in a structured way.

Syntax

{{RacePerks|<L1Perk>|<L25Perk>|<L50Perk>|<DemigodPerk>|<Demigod+Perk>}}

Parameters

NOTE: parameters must be in order

<L1Perk> should be the text for the Level 1 perk.
<L25Perk> should be the text for the Level 25 perk.
<L50Perk> should be the text for the Level 50 perk.
<DemigodPerk> should be the text for the Demigod perk.
<Demigod+Perk> should be the text for the Demigod+ perk.

Returns

This appears on the page as a nifty table.

Example

{{RacePerks|1|2|3|4|5}} will look similar to what's below.

Perks
Level 1| {{{1}}}
Level 25| {{{2}}}
Level 50| {{{3}}}
Demigod| {{{4}}}
Demigod+| {{{5}}}