The UnfoldSubpages WikiPlugin is used to display all or some subpages of the current or a given page. This gives a overview for a WikiBlogPlugin, CalendarPlugin or similar subpages.
Warning: Don't use it with subpages with non-existant sections! The section extractor is currently quite unstable.
Usage:
<?plugin UnfoldSubpages ?> or <?plugin UnfoldSubpages sortby=-mtime words=50 maxpages=5 ?> or <?plugin UnfoldSubpages quiet=1 smalltitle=1 ?> or <?plugin UnfoldSubpages sections=2 words=100 ?> or <?plugin UnfoldSubpages lines=3 ?> or <?plugin UnfoldSubpages pagename="PhpWikiAdministration" section="Plugin Arguments" sectionhead=1 ?>
Plugin Arguments:
- pagename
- Any pagename or if empty the current page. Default: ""
- quiet
- Print no header. Default: false
- sortby
- Sort by + (ASC) or - (DESC) and one column. Multiple columns like sortby="-hits,-mtime" not yet supported. Supported columns: [+|-]pagename, [+|-]mtime, [+|-]hits. Default: "pagename"
- maxpages
- Maximum number of pages to include or all if not defined. Default: false
- sections
- Maximum number of sections per page to include or all if not defined. Default: false
- section
- Include this named section per page only if defined. Default: ""
- sectionhead
- When including a named section show the heading. Default: false
- smalltitle
- If set, hide transclusion-title, just have a small link at the start of the page. Default: false
- words
- Maximum number of words per page to include. Default: false
- lines
- Maximum number of lines per page to include. Default: false
- bytes
- Maximum number of bytes per page to include. Default: false
Deprecated Arguments:
- pages
- deprecated. renamed to maxpages.
- sort
- 'asc' or 'desc'. deprecated: use "+" or "-" before the column name with sortby.
Example:
Plugin UnfoldSubpages failed. PgsrcTranslation has no subpages defined.