modopedia:page/headered_text
Description
A Header, Separator and Text Box for displaying a standard "text page". Includes a template processor which will automatically position the text box to be in the correct place according to separator size.
Screenshots
JSON Schema
| ID | Type | Required | Default | Description |
|---|---|---|---|---|
| header | String | ✓ | - | Header text to be displayed. |
| centered | Boolean | ✗ | true | If true, header will center on page. |
| colour | HString | ✗ | * | Colour of header text. Defaults to book's header colour. |
| bold | Boolean | ✗ | false | If true, header will be bold. |
| underline | Boolean | ✗ | false | If true, header will be underlined. |
| text | FString | ✓ | - | Text to be displayed. |
| width | Integer | ✗ | * | Width at which lines of text will wrap. Defaults to the book's line width. |
| line_height | String | ✗ | 9 | Spacing between lines of text. |
| justify | * | ✗ | left | Margin text inside the box should be justified on. Can be left, center or right |