Template:Rolltable

From The Undead Archive
Revision as of 10:48, 31 May 2026 by Niuf (talk | contribs) (Created page with "<includeonly>{| class="wikitable rolltable" ! Roll ! Result {{{rows|}}} |}</includeonly><noinclude> == Description == Creates a two-column roll table with fixed headers: * '''Roll''' * '''Result''' Rows are added using {{tl|Rolltable/row}}. == Usage == <pre> {{Rolltable |rows= {{Rolltable/row|4 and under|Object lands 5 tiles off target.<br />Strong Failure if Item calls for it.}} {{Rolltable/row|5-9|Object lands 3 tiles off target.}} {{Rolltable/row|10-14|Object lands...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

Creates a two-column roll table with fixed headers:

  • Roll
  • Result

Rows are added using Template:Tl.

Usage

{{Rolltable
|rows=
{{Rolltable/row|4 and under|Object lands 5 tiles off target.<br />Strong Failure if Item calls for it.}}
{{Rolltable/row|5-9|Object lands 3 tiles off target.}}
{{Rolltable/row|10-14|Object lands 2 tiles off target.}}
{{Rolltable/row|15-19|Object lands on target.}}
{{Rolltable/row|20 and up|Object lands on target.<br />Strong Success if Item calls for it.}}
}}

Example

Roll Result
4 and under Object lands 5 tiles off target.
Strong Failure if Item calls for it.
5-9 Object lands 3 tiles off target.
10-14 Object lands 2 tiles off target.
15-19 Object lands on target.
20 and up Object lands on target.
Strong Success if Item calls for it.

Creates a two-column roll table with fixed headers: Roll and Result. Add rows using Template:Rolltable/row.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Rowsrows

The table rows. Use Template:Rolltable/row once for each row.

Example
{{Rolltable/row|4 and under|Object lands 5 tiles off target.}}
Contentrequired