
You can also use the META plugin and define a template for only one page:
~~META: templater page=:my:template-page ~~
The template page has to have the word @@CONTENT@@ in the content. This is the placeholder where the content of your original page will be located.
You can define more placeholders on your own. Simply use the word @@YOURPLACEHOLDER@@ in the template page (where YOURPLACEHOLDER is actually your word to be replaced). Template Page Example:
====== This my page with a Placeholder ====== **@@YOURPLACEHOLDER@@**
You can now define the following in your page:
~~META:
templater page = :my:template
&templater yourplaceholder = This is an important text
&templater !yourimageholder = {{:this:can:be:an:image.jpg|}}
~~
Note: The page above defines a templater property using an exclamation mark (!) - this property will be fed into the DokuWiki XHTML renderer and produce rendered output.
| Version | Requirement |
|---|---|
| 2009-03-16 | see previous |
| 2009-03-11 | Current DokuWiki Version META Plugin |
If you need help or have suggestions on how to improve this plugin, feel free to contact us