Backyard Deer Deterrents: the dirt on keeping deer out of your garden without breaking the bank.
Search


The sidebar directive is supplied by the sidebar plugin.

This directive can specify a custom sidebar to display on the page, overriding any sidebar that is displayed globally.

If no custom sidebar content is specified, it forces the sidebar page to be used as the sidebar, even if the global_sidebars setting has been used to disable use of the sidebar page by default.

examples

[[!sidebar  content="""
This is my custom sidebar for this page.

\[[!calendar pages="posts/*"]]
"""]]

[[!sidebar ]]

templatebody

The templatebody directive is supplied by the templatebody plugin.

This directive allows wiki pages to be used as templates for the template or edittemplate directive, without having HTML::Template markup interpreted as wiki markup when that page is built.

This directive does not produce any output in the wiki page that defines the template; the rest of that page can be used to to document how to use the template.

The first, un-named parameter is the content of the template. Because templates often contain directives, it's convenient to use the "here-document" syntax for it:

[[!templatebody  <<ENDBODY
[[!meta title="<TMPL_VAR name>"]]
[[!tag  person]]
<dl>
<dt>Name:</dt><dd><TMPL_VAR name></dd>
<dt>Age:</dt><dd><TMPL_VAR age></dd>
</dl>

<TMPL_VAR description>
ENDBODY]]







counter customisable