Syntaksi
{InfoNavigation(
classes: string,
first: boolean,
helper: string,
levels: int,
parent: int,
show: string,
sort: string
)}
Näkyvyys
Toimii näkyvyydessä: globaali
Näkyvyys
Tags with global scope can be used on any template and in any tag.
Attribuutit
classes:
first:
When necessary, sets a class name to the navigation list. The class name makes it clear that the list is the navigation's or a navigation element's first element.
Allowed values:true/false. The default value is true.
helper:
Defines the content and output format of a single list element.
parent:
Defines the page to whose subpages navigation links should be printed.
Allowed values:integers. Use the ID number of the selected page as the attribute's value.
show:
Sets the tag to print either the complete navigation or just the active pages.
Allowed values: 'all'
If you only want to print visible pages, don't use this attribute at all.
sort:
Defines how pages should be sorted.
Allowed values:
after/before:
By using the
after
andbefore
attributes you can define content that is output either after or before the tag's output.Allowed values:The HTML and Interface markup
E.g.
If the tag does not produce any content, neither the content of the
after
andbefore
attributes will be output.escape:
Allowed values:true/false. The default value is false.
or:
Defines alternative content that is displayed if the tag itself does not produce any content.
Allowed values:The HTML and Interface markup
E.g.
or:
'Sisältöä ei löytynyt.'