HelpOnMacros/Include

This macro includes the formatted content of the given local wiki page(s), following recursive includes if encountered. If the recursion generates any cycles, this is detected and prevented!

Usage:

pagename

Name of the page to include, if it starts with a caret "^", a regex of pages to include.

heading

Text for the generated heading (optional).

level

Level (1..5) of the generated heading (optional).

from

Partial include start marker (optional).

to

Partial include end marker (optional).

sort

Sorting order when pagename is a regex, i.e. starts with a caret (optional).

items

Maximum number of pages to include.

skipitems

Number of initial pages to skip over (optional).

titlesonly

Only include a link to the page, not page content (optional).

All parameters except pagename are optional, but you have to follow the given order! If you want to omit "heading", you have to leave the second parameter empty.

from and to recognise the pattern in comments as well. So watch out for comments that stop the include unexpectedly.

Examples:

last modified 2005-07-19 13:41:37