Inserting objects

Table of contents

Creates an automatic table of contents for the page based on its headings.

Using the block

All {{toc}} parameters are optional.

Block parameters
page

Address of the page to use headings from for forming the table of contents.

from

The highest level of headings to include in the table of contents.

to

The lowest level of headings to include in the table of contents.

numerate

If enabled, all headings in the table of contents will be numbered.

title

Title of the table of contents.

Dynamic table

The block contains a dynamic table.

Using the block

By default, this table can be edited directly on the page where it's inserted. All changes will be automatically applied to the main table and all its occurrences on other pages.

Block parameters
page

Address of the table you want to add to the page.

width

Optional parameter. Width of the table as a percentage of the page width:

readonly

Optional parameter. If specified, the table is inserted in “read only” mode.

num

Optional parameter. If specified, table line numbers are not displayed.

sort

Optional parameter. If specified, the sorting parameters for the source table are ignored.

filter

Optional parameter. Sets a filter for displaying table rows:

With this filter, only the rows that match both conditions will be displayed:

  • The [id1] column has value1.

  • The [id2] column has value2.

To find out the column ID, go to table editing mode (Edit) and click in the column header.

How to specify values for comparison

Depending on the column data type, the values to be compared may be specified in different ways:

Data type Example Description
Text Text in single quotes
Number -7 A number with no quotes
Checkbox true

Different formats are supported.

For boolean 0: no, off, false, unchecked.

For boolean 1: yes, on, true, checked, done.

Date 2012-12-12 Date formatted as YEAR-MONTH-DAY
List Text in single quotes
Multi-select list Text in single quotes
Supported comparison operations
Operation Notation Example
Equals =, is
Not equal !=, is not
Comparison <, >, <=, >=
[13] > 50
Contains substring ~
Does not contain substring !~
From ... to ... (works with numbers and dates) between ... and ...
[13] between 100 and 1000
Equal to one of... in (...)
Not equal to any of... not in (...)
columns

Optional parameter. Contains a list of columns to display in the following format:

This dynamic block contains only the columns with the following identifiers: id1, id2, id3.

To find out the column ID, go to table editing mode (Edit) and click in the column header.

Anchor

The block contains an anchor, an identifier that can be used for navigating directly to this part of the page.

Using the block
Block parameters
href

Contains the anchor name.

title

Optional parameter. Contains the anchor title.

text

Optional parameter. Contains the anchor text.

To create a link to an anchor, append # followed by the anchor to the page address: