Start page / Templates (basics) / Composition of templates / Format templates / Default format templates
Default format templates
FirstSpirit provides a number of default format templates. The default format templates are made available as an export file and can be imported into the project Template Store under the "Format templates" node. Some format templates supplied as standard include, for example, Default (tag "p") for sections, Line break ("br"), Bold ("b"), Italic ("i"), Table ("table"), Table row ("tr"), etc.
The default format templates are required in a variety of contexts for correct operation and must not be deleted. |
The format templates
- deleted
- deleted_block
- inserted
- inserted_block
are used, for example, to display version comparisons (“version history”). By changing the properties of these format templates (colors, font size, border) (see the Properties page), the display of changes can be influenced in version comparisons. The display of other default format templates in the DOM editor can also be changed.
Default format template | Tag / unique name | Description of standard behavior |
---|---|---|
Bold | b | Highlighted text is set to bold |
Line break | br | Line break with key combination Shift+Enter |
Link | CMS_LINK | Formatting for links |
Deleted | deleted | Display of deleted individual text in version comparisons |
Deleted (block) | deleted_block | Display of deleted sections in version comparisons |
Italic | i | Highlighted text is set to italic |
Inserted | inserted | Display of inserted individual text in version comparisons |
Inserted (block) | inserted_block | Display of inserted sections in version comparisons |
List entry | li | Formatting for list entries |
Default | p | Formatting for default sections |
Preformatted | pre | Highlighted text is displayed in monospaced font; i.e., all letters and blank spaces are exactly the same width. Particularly suitable for displaying example code. |
Default style template | default_style_template | Layout of inline tables (see also #style) |
Table | table | Formatting for tables |
Default inline table | default_inline_table | Layout of inline tables (see also #style) |
Table cell | td | Formatting for table cells |
Table row | tr | Formatting for table rows |
Underline | u | Highlighted text is displayed underlined. |
List | ul | Formatting for lists |