Template:Rolltable/row: Difference between revisions

From The Undead Archive
Niuf (talk | contribs)
No edit summary
Niuf (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly>|-
<includeonly>|-
| {{{1|}}}
| style="width:150px; vertical-align:top; font-size:.9em; padding:4px 6px; font-weight:bold;" | {{{1|}}}
| {{{2|}}}
| style="vertical-align:top; font-size:.9em; padding:4px 6px;" | {{{2|}}}</includeonly><noinclude>
</includeonly><noinclude>
== Description ==
== Description ==
Creates one row for [[Template:Rolltable]].
Creates one row for [[Template:Rolltable]].
Line 41: Line 40:
}
}
},
},
"paramOrder": [
"1",
"2"
],
"format": "inline"
"format": "inline"
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 10:57, 31 May 2026

Description

Creates one row for Template:Rolltable.

This template should be used inside the rows parameter of Template:Rolltable.

Usage

{{Rolltable/row|Roll value|Result text}}

Example

{{Rolltable
|rows=
{{Rolltable/row|4 and under|Object lands 5 tiles off target.}}
{{Rolltable/row|5-9|Object lands 3 tiles off target.}}
}}

Creates one row for Template:Rolltable.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Roll1

The roll value, range, or condition for this row.

Example
4 and under
Stringrequired
Result2

The result text for this roll.

Example
Object lands 5 tiles off target.
Contentrequired