1 [[template id=plugin name=inline core=1 author="[[Joey]]"]]
4 This is a [[PreProcessorDirective]] that allows including one wiki page
5 inside another. For example:
7 \[[inline pages="blog/*"]]
9 The most common use of inlining is generating blogs and RSS or Atom feeds.
10 See [[blog]] for details.
14 Here are descriptions of all the supported parameters to the `inline`
17 * `pages` - A [[PageSpec]] of the pages to inline.
18 * `show` - Specify the maximum number of matching pages to inline.
19 Default is 10, unless archiving, when the default is to show all.
20 Set to 0 to show all matching pages.
21 * `feedshow` - Specify the maximum number of matching pages to include in
22 the rss/atom feeds. The default is the same as the `show` value above,
23 and it cannot be larger than that value, but can be set to a smaller
24 value to avoid producing excessively large feed files.
25 * `skip` - Specify a number of pages to skip displaying. Can be useful
26 to produce a feed that only shows archived pages.
27 * `rss` - controls generation of an rss feed. On by default if the wiki is
28 configured to use rss feeds, set to "no" to disable.
29 * `atom` - controls generation of an atom feed. On by default if the wiki is
30 configured to use atom feeds, set to "no" to disable.
31 * `feeds` - controls generation of all types of feeds. Set to "no" to
32 disable generating any feeds.
33 * `rootpage` - Enables a form to post new pages to a [[blog]].
34 * `archive` - If set to "yes", only list page titles and some metadata, not
36 * `quick` - Build archives in quick mode, without reading page contents for
37 metadata. By default, this also turns off generation of any feeds.
38 * `raw` - Rather than the default behavior of creating a [[blog]],
39 if raw is set to "yes", the page will be included raw, without additional
40 markup around it, as if it were a literal part of the source of the
42 * `description` - Sets the description of the rss feed if one is generated.
43 Defaults to the name of the wiki.
44 * `actions` - If set to "yes" add links to the bottom of the inlined pages
45 for editing and discussion (if they would be shown at the top of the page
47 * `sort` - Controls how inlined pages are sorted. The default, "age" is to
48 sort newest pages first. Setting it to "title" will sort pages by title.
49 * `reverse` - If set to "yes", causes the sort order to be reversed.