foundry-ironsworn
foundry-ironsworn copied to clipboard
Rules text components
depends on #466 and #467
- introduces a set of modular components for consistently rendering rules text
-
OracleTable
: renders a table with an optional caption from aRollTable
document -
RulesSourceInfo
: renders a page citation from anISource
object -
RulesText
: generic rules article wrapper with several slots- automatically applies
WithRolllisteners
- when provided with an
ISource
, includes a footer withRulesSourceInfo
- configurable to render content from a normal slot, markdown, or html; automatically applies
enrichMarkdown
/enrichHtml
if it's markdown/html
- automatically applies
-
RulesTextOracle
: extendsRulesText
; renders oracle info from aRollTable
document -
RulesTextMove
: extendsRulesText
; renders move info from aMove
object
-
- localizeable strings for oracle table column labels