Modopedia

Headered Text Page

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

modopedia:templates/page/headered_text

JSON Schema

IDTypeRequiredDefaultDescription
headerString-Header text to be displayed.
centeredBooleantrueIf true, header will center on page.
colourHString*Colour of header text. Defaults to book's header colour.
boldBooleanfalseIf true, header will be bold.
underlineBooleanfalseIf true, header will be underlined.
textFString-Text to be displayed.
widthInteger*Width at which lines of text will wrap. Defaults to the book's line width.
line_heightString9Spacing between lines of text.
justify*leftMargin text inside the box should be justified on. Can be left, center or right