Difference between revisions of "Template:RacePerks"

111 bytes added ,  00:35, 10 July 2022
→‎Example: Yay, I have learned how to make the documentation more readable AND not screw up the template!
(→‎Example: Removed italics from the perk text boxes. It seemed unnecessary and caused oddities.)
(→‎Example: Yay, I have learned how to make the documentation more readable AND not screw up the template!)
 
Line 16: Line 16:


==Example==
==Example==
<code><nowiki>{{RacePerks|1|2|3|4|5}}</nowiki></code> will look similar to what's below.
<code><nowiki>{{RacePerks|Feeling|Hearing|Smelling|Tasting|Seeing}}</nowiki></code> will look similar to what's below.
{{RacePerks|Feeling|Hearing|Smelling|Tasting|Seeing}}


<!-- Between the onlyinclude tags is where the actual template code happens. -->
<!-- Between the onlyinclude tags is where the actual template code happens. -->
<onlyinclude>{| border="0" cellpadding="5" cellspacing="3" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; font-size: 95%;" style="margin:2 2 1em 1em;"
<includeonly><onlyinclude>{| border="0" cellpadding="5" cellspacing="3" style="margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; font-size: 95%;" style="margin:2 2 1em 1em;"
|-
|-
| 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'''
Line 33: Line 34:
| align="right" bgcolor="lightblue" | '''Demigod+'''|| {{{5}}}
| align="right" bgcolor="lightblue" | '''Demigod+'''|| {{{5}}}
|-
|-
|}</onlyinclude>
|}</onlyinclude></includeonly>


[[Category: Templates]]
[[Category: Templates]]
2,691

edits