How to view all pages in a cluster
You can use a cluster tree to navigate the cluster. To view the cluster tree:
-
Go to the page.
-
Click
. -
Click Expand all subpages to view the whole tree.
How to insert a cluster tree onto a page
You can use the {{tree}}
dynamic block to create a tree of cluster pages on any Wiki page.
To create a tree for the current page, simply place the {{tree}}
element in the text of the page.
- Additional
{{tree}}
parameters -
You can configure the look of a page tree by using additional parameters:
Parameter Possible values page
orfor
Address of the page to make the tree for.
nomark
Putting a frame around the tree:
-
0
– Frame enabled. -
1
– Frame disabled.
depth
Depth of the tree. If set to 0
, the depth is not limited.show_redirects
Showing redirects in a tree:
-
true
– Include redirects in the tree. -
false
– Don't show redirects in the tree.
show_grids
Showing dynamic tables in a tree:
-
true
– Include dynamic tables in the tree. -
false
– Don't show dynamic tables in the tree.
show_files
Showing attached files in a tree:
-
true
– Include files in the tree. -
false
– Don't show files in the tree.
show_owners
Showing page owners:
-
true
– Show owners. -
false
– Don't show owners.
show_titles
Showing page headings:
-
true
– Show headings. -
false
– Don't show headings.
show_created_at
Showing page creation dates:
-
true
– Show dates. -
false
– Hide dates.
show_modified_at
Showing page edit dates:
-
true
– Show dates. -
false
– Hide dates.
sort_by
Sort pages:
-
title
– By title. -
cluster
– By cluster. -
created_at
– By creation date. -
modified_at
– By date modified.
sort
Sorting order:
-
asc
– In ascending order. -
desc
– In descending order.
Parameter Possible values page
orfor
Address of the page to make the tree for.
nomark
Putting a frame around the tree:
-
0
– Frame enabled. -
1
– Frame disabled.
depth
Depth of the tree. If set to 0
, the depth is not limited.show_redirects
Showing redirects in a tree:
-
true
– Include redirects in the tree. -
false
– Don't show redirects in the tree.
show_grids
Showing dynamic tables in a tree:
-
true
– Include dynamic tables in the tree. -
false
– Don't show dynamic tables in the tree.
show_files
Showing attached files in a tree:
-
true
– Include files in the tree. -
false
– Don't show files in the tree.
show_owners
Showing page owners:
-
true
– Show owners. -
false
– Don't show owners.
show_titles
Showing page headings:
-
true
– Show headings. -
false
– Don't show headings.
show_created_at
Showing page creation dates:
-
true
– Show dates. -
false
– Hide dates.
show_modified_at
Showing page edit dates:
-
true
– Show dates. -
false
– Hide dates.
sort_by
Sort pages:
-
title
– By title. -
cluster
– By cluster. -
created_at
– By creation date. -
modified_at
– By date modified.
sort
Sorting order:
-
asc
– In ascending order. -
desc
– In descending order.
Example of creating a tree for the page
/example
, sorted by page titles:{{tree page="/example" sort_by=title}}
-