Difference between revisions of "Template:5e Dice Table"

From Dungeons and Dragons Wiki
Jump to: navigation, search
m
m
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{{!}} class="FifthEd zebra"
+
<includeonly>{{{!}} class="FifthEd zebra" {{#if: {{{width|}}} | style="width:{{{width}}};"}}
 
{{!}}-
 
{{!}}-
! d{{#if: {{{entry13|}}}|20|{{#if: {{{entry11|}}}|12|{{#if: {{{entry9|}}}|10|{{#if: {{{entry7|}}}|8|{{#if: {{{entry5|}}}|6|{{#if: {{{entry4|}}}|4|{{#if: {{{entry3|}}}|3|2}} }} }} }} }} }} }} !! class="left;" {{!}} {{{name|}}}
+
! style="width:30px" {{!}} d{{#if: {{{entry13|}}}|20|{{#if: {{{entry11|}}}|12|{{#if: {{{entry9|}}}|10|{{#if: {{{entry7|}}}|8|{{#if: {{{entry5|}}}|6|{{#if: {{{entry4|}}}|4|{{#if: {{{entry3|}}}|3|2}} }} }} }} }} }} }} !! class="left" {{!}} {{{name|}}}
 
{{!}}-
 
{{!}}-
{{!}} 1 {{!!}} style="text-align:left;" {{!}} {{{entry1|}}}
+
{{!}} 1 {{!!}} class="left" {{!}} {{{entry1|}}}
 
{{!}}-
 
{{!}}-
{{!}} 2 {{!!}} class="left;" {{!}} {{{entry2|}}}{{#if: {{{entry3|}}}|&nbsp;
+
{{!}} 2 {{!!}} class="left" {{!}} {{{entry2|}}}{{#if: {{{entry3|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} 3 {{!!}} class="left;" {{!}} {{{entry3|}}}}}{{#if: {{{entry4|}}}|&nbsp;
+
{{!}} 3 {{!!}} class="left" {{!}} {{{entry3|}}}}}{{#if: {{{entry4|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} 4 {{!!}} class="left;" {{!}} {{{entry4|}}}}}{{#if: {{{entry5|}}}|&nbsp;
+
{{!}} 4 {{!!}} class="left" {{!}} {{{entry4|}}}}}{{#if: {{{entry5|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} 5 {{!!}} class="left;" {{!}} {{{entry5|}}}}}{{#if: {{{entry6|}}}|&nbsp;
+
{{!}} 5 {{!!}} class="left" {{!}} {{{entry5|}}}}}{{#if: {{{entry6|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} 6 {{!!}} class="left;" {{!}} {{{entry6|}}}}}{{#if: {{{entry7|}}}|&nbsp;
+
{{!}} 6 {{!!}} class="left" {{!}} {{{entry6|}}}}}{{#if: {{{entry7|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} 7 {{!!}} class="left;" {{!}} {{{entry7|}}}}}{{#if: {{{entry8|}}}|&nbsp;
+
{{!}} 7 {{!!}} class="left" {{!}} {{{entry7|}}}}}{{#if: {{{entry8|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} 8 {{!!}} class="left;" {{!}} {{{entry8|}}}}}{{#if: {{{entry9|}}}|&nbsp;
+
{{!}} 8 {{!!}} class="left" {{!}} {{{entry8|}}}}}{{#if: {{{entry9|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} 9 {{!!}} class="left;" {{!}} {{{entry9|}}}}}{{#if: {{{entry10|}}}|&nbsp;
+
{{!}} 9 {{!!}} class="left" {{!}} {{{entry9|}}}}}{{#if: {{{entry10|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} 10 {{!!}} class="left;" {{!}} {{{entry10|}}}}}{{#if: {{{entry11|}}}|&nbsp;
+
{{!}} 10 {{!!}} class="left" {{!}} {{{entry10|}}}}}{{#if: {{{entry11|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} 11 {{!!}} class="left;" {{!}} {{{entry11|}}}}}{{#if: {{{entry12|}}}|&nbsp;
+
{{!}} 11 {{!!}} class="left" {{!}} {{{entry11|}}}}}{{#if: {{{entry12|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} 12 {{!!}} class="left;" {{!}} {{{entry12|}}}}}{{#if: {{{entry13|}}}|&nbsp;
+
{{!}} 12 {{!!}} class="left" {{!}} {{{entry12|}}}}}{{#if: {{{entry13|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} 13 {{!!}} class="left;" {{!}} {{{entry13|}}}}}{{#if: {{{entry14|}}}|&nbsp;
+
{{!}} 13 {{!!}} class="left" {{!}} {{{entry13|}}}}}{{#if: {{{entry14|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} 14 {{!!}} class="left;" {{!}} {{{entry14|}}}}}{{#if: {{{entry15|}}}|&nbsp;
+
{{!}} 14 {{!!}} class="left" {{!}} {{{entry14|}}}}}{{#if: {{{entry15|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} 15 {{!!}} class="left;" {{!}} {{{entry15|}}}}}{{#if: {{{entry16|}}}|&nbsp;
+
{{!}} 15 {{!!}} class="left" {{!}} {{{entry15|}}}}}{{#if: {{{entry16|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} 16 {{!!}} class="left;" {{!}} {{{entry16|}}}}}{{#if: {{{entry17|}}}|&nbsp;
+
{{!}} 16 {{!!}} class="left" {{!}} {{{entry16|}}}}}{{#if: {{{entry17|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} 17 {{!!}} class="left;" {{!}} {{{entry17|}}}}}{{#if: {{{entry18|}}}|&nbsp;
+
{{!}} 17 {{!!}} class="left" {{!}} {{{entry17|}}}}}{{#if: {{{entry18|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} 18 {{!!}} class="left;" {{!}} {{{entry18|}}}}}{{#if: {{{entry19|}}}|&nbsp;
+
{{!}} 18 {{!!}} class="left" {{!}} {{{entry18|}}}}}{{#if: {{{entry19|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} 19 {{!!}} class="left;" {{!}} {{{entry19|}}}}}{{#if: {{{entry20|}}}|&nbsp;
+
{{!}} 19 {{!!}} class="left" {{!}} {{{entry19|}}}}}{{#if: {{{entry20|}}}|&nbsp;
 
{{!}}-
 
{{!}}-
{{!}} 20 {{!!}} class="left;" {{!}} {{{entry20|}}}}}
+
{{!}} 20 {{!!}} class="left" {{!}} {{{entry20|}}}}}
 
{{!}}}</includeonly><noinclude>
 
{{!}}}</includeonly><noinclude>
 
{{documentation}}</noinclude>
 
{{documentation}}</noinclude>

Latest revision as of 06:06, 24 October 2014

Template documentation (for the above template, sometimes hidden or invisible)
{{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 -->
}}

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.