]> sipb.mit.edu Git - ikiwiki.git/blobdiff - doc/plugins/inline.mdwn
add postsparkline plugin, providing sparkliney stats goodness for blog
[ikiwiki.git] / doc / plugins / inline.mdwn
index cd76fd2864aafc0b7ce0dd33ef3c96b86f611937..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 
@@ -46,3 +51,4 @@ directive:
   itself).
 * `sort` - Controls how inlined pages are sorted. The default, "age" is to
   sort newest pages first. Setting it to "title" will sort pages by title.
+* `reverse` - If set to "yes", causes the sort order to be reversed.