Template:Spell Row

From Rlyehwiki
Revision as of 16:29, 29 September 2019 by Rlyehable (talk | contribs) (Created page with "{{#ifeq: {{#expr: {{{1|}}} >= 1}}|1| {{!!}} {{{2|—}}} |}}{{#ifeq: {{#expr: {{{1|}}} >= 2}}|1| {{!!}} {{{3|—}}} |}}{{#ifeq: {{#expr: {{{1|}}} >= 3}}|1| {{!!}} {{{4|...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Intended for use in Class Simple templates, in order to make adding spell rows less complicated and hide table notation from users who don't want to deal with it.

Usage

The first parameter indicates the number of additional rows. For a class with 9 spell levels plus cantrips, this would be "10". Each additional parameter indicated the number of spell slots for the next increasing level. Parameters not included will default to "—".

Ranger-like Example

{{Spell Row |4 |2 |2 |1}}

|| 2|| 2|| 1|| —

Bard-like Example

{{Spell Row |7 |6 |4 |3 |3 |2 |2}}

|| 6|| 4|| 3|| 3|| 2|| 2|| —

Wizard-like Example

{{Spell Row |10 |6 |4 |4 |3 |3 |2 |2 |1}}

|| 6|| 4|| 4|| 3|| 3|| 2|| 2|| 1|| —|| —