]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - doc/plugins/inline.mdwn
* Add preview parameter to preprocesser calls, use this rather than the
[git.ikiwiki.info.git] / doc / plugins / inline.mdwn
index 8b8241ca2185b8f3f12e249594308943e94b4373..b7cf629da98c68cfdf2043b9b336c7ed4555f6eb 100644 (file)
@@ -1,5 +1,4 @@
-[[template id=plugin name=inline core=1 included=1 author="[[Joey]]"]]
-[[tag type/core]]
+[[template id=plugin name=inline core=1 author="[[Joey]]"]]
 
 This is a [[PreProcessorDirective]] that allows including one wiki page
 inside another. For example:
@@ -35,6 +34,12 @@ directive:
   full controls.
 * `quick` - Build archives in quick mode, without reading page contents for
   metadata. By default, this also turns off generation of any feeds.
+* `template` - Specifies the template to fill out to display each inlined
+  page. By default the `inlinepage` [[template|templates]] is used, while
+  the `archivepage` template is used for archives. Set this parameter to
+  use some other, custom template, such as the `titlepage` template that
+  only shows post titles. Note that you should still set `archive=yes` if
+  your custom template does not include the page content.
 * `raw` - Rather than the default behavior of creating a [[blog]],
   if raw is set to "yes", the page will be included raw, without additional
   markup around it, as if it were a literal part of the source of the