Page lists
Written by
You can insert lists on Wiki pages:
Cluster pages
This block contains the list of all pages for the selected cluster.
Calling the block
{{tree for="pageName" nomark="0" depth="3" show_redirects="False" show_grids="True" show_files="False" show_owners="False" show_titles="True" show_created_at="False" show_modified_at="False" sort_by="title" sort="asc"}}
All the {{tree}}
block parameters are optional. The example shows the default parameter values.
Block parameters (optional)
Parameter | Description |
---|---|
for |
The address of the page the tree is intended for. |
page |
Alternative name (alias) for the for parameter. |
depth |
Tree depth. If set to 0 , the depth is unlimited. |
show_redirects |
Displaying redirects in a tree:true — redirects are included in the tree;false — redirects are not displayed in the tree. |
show_grids |
Displaying dynamic tables in a tree:true — dynamic tables are included in the tree;false — dynamic tables are not displayed in the tree. |
show_files |
Displaying attached files in a tree:true — files are included in the tree;false — files are not displayed in the tree. |
show_owners |
Displaying page owners:true — owners are displayed;false — owners are hidden. |
show_titles |
Displaying page headings:true — headings are displayed;false — headings are hidden. |
show_created_at |
Displaying page creation dates:true — dates are displayed;false — dates are hidden. |
show_modified_at |
Displaying page change dates:true — dates are displayed;false — dates are hidden. |
sort_by |
Sorting pages:title — by title;cluster — by cluster;created_at — by creation date;modified_at — by update date. |
sort |
Sort order:asc — ascending;desc — descending. |
List of pages linking to a specified page
This block contains the list of all pages with links to a specified page.
Calling the block
{{backLinks for="pageURL"}}
Block parameters (optional)
Parameter | Description |
---|---|
for |
Contains the address of the page the list is intended for. If no parameter is set, a list for the current page is created by default. |
Pages created by me
This block contains the list of all pages created by the user.
Calling the block
{{mypages}}
All parameters for the {{mypages}}
block are optional. If no parameters are set, the list of pages created by the user currently reading the list is displayed. Pages are displayed in alphabetical order.
Block parameters (optional)
Parameter | Description |
---|---|
user |
You can display the list of pages created by a user by specifying their username in the user parameter. |
bydate |
Sorting by creation date:1 — enable;0 — disable. |
bychange |
Sorting by update date:1 — enable;0 — disable. |
For example, if you want to display a list of pages created by username
and sort them by the last update date, configure this block:
{{mypages bychange=1 user="username"}}