===== Sub-Pages Action ===== >>==See Also== ~- [[OnegWRTree | Tree]] - Also show some hierarchical structure. >>//NOT Included in any Wikka version yet//{{lastedit}} ==What== ~- Create a menu with links to sub-pages. ~- A page is considered a sub-page if the first x chars are the same as the current page. ~- Optional you can define an other page than the current by using the "page" parameter. ==Use== ~- Include on the page where you would like to include this menu this string: ~~""{{subpages}}"" or ~~""{{subpages page="HomePage"}}"" ==Features== ~- If there are no subpages found, nothing will be included. ~- The "page" parameter needs to be a existing page, otherwise the current page will be used. ~- The first x chars that are identical to the parent-page are removed. If you like to see the full name, uncomment the right code in the foreach-loop. ~- Layout (hor, vert, colors,...) can be done by giving the right option to the "ul.subpage" class in CSS. ==Parameters== ~""
name | type | required? | default | description |
---|---|---|---|---|
page | string | optional | current page | The page that will be used to show the subpages from. |