foundry-ironsworn icon indicating copy to clipboard operation
foundry-ironsworn copied to clipboard

Rules text components

Open rsek opened this issue 2 years ago • 0 comments

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 a RollTable document
    • RulesSourceInfo: renders a page citation from an ISource object
    • RulesText: generic rules article wrapper with several slots
      • automatically applies WithRolllisteners
      • when provided with an ISource, includes a footer with RulesSourceInfo
      • configurable to render content from a normal slot, markdown, or html; automatically applies enrichMarkdown/enrichHtml if it's markdown/html
    • RulesTextOracle: extends RulesText; renders oracle info from a RollTable document
    • RulesTextMove: extends RulesText; renders move info from a Move object
  • localizeable strings for oracle table column labels

rsek avatar Sep 16 '22 04:09 rsek