Template:5e Dice Table

From Rlyehwiki
Revision as of 12:02, 11 March 2021 by Rlyehable (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Syntax

{{5e Dice Table
|name=<!-- table name -->
|entry1=<!-- value associated with rolling a 1 on the table -->
|entry2=<!-- value associated with rolling a 2 on the table -->
|entry3=<!-- value associated with rolling a 3 on the table -->
...
|entry20=<!-- value associated with rolling a 20 on the table -->
}}

Optional Entries

|small= <!--blank, otherwise applies "small" class to table
|width= <!--blank, or width 

Delete unused entry values. Table will automatically size to d2, d3, d4, d6, d8, d10, d12, or d20. It does not support entries in an amount that does not correspond to one of those dice.

Example

{{5e Dice Table
|name=Foo<!-- table name -->
|entry1=This is entry one
|entry2=This is entry two
|entry3=This is entry three
|entry4=This is entry four
}}

produces...

d4 Foo
1 This is entry one
2 This is entry two 
3 This is entry three 
4 This is entry four
d4 Foo
1 This is entry one
2 This is entry two 
3 This is entry three 
4 This is entry four