@if (table) {

{{ table.name }}

@if (table.description) {

{{ table.description }}

} {{ 'randomTableView.die' | translate }} {{ table.diceFormula }}
@if (lastRoll) {
{{ lastRoll.total }} @if (lastRoll.rolls.length > 1) { ({{ lastRoll.rolls.join(' + ') }}) } @if (matched) { {{ matched.label }} } @if (!matched) { {{ 'randomTableView.noMatch' | translate }} }
}
@if (matched?.detail) {
{{ matched?.detail }}
}
@if (table.entries.length === 0) {
{{ 'randomTableView.empty' | translate }}
} @if (table.entries.length > 0) { @for (e of table.entries; track e) { }
{{ 'randomTableView.colRoll' | translate }}{{ 'randomTableView.colResult' | translate }}
{{ rangeLabel(e) }} @if (e.detail) {
{{ e.detail }}
}
}
}