fields plugin by Aurélien Bompard
Allows storage and retrieval of user-defined fields throughout the page
Last updated on 2008-02-26. Provides Syntax.
Compatible with DokuWiki 2006-11-06.
This plugin allows you to define “fields” in a page, which can be used anywhere 1) in the document. This can be very useful to set an author name, a reference string, or a version number for example, and use those variables anywhere in the page.
The plugin can be downloaded from here.
I use Git to manage the source code, you can obtain the development version with this command :
git clone http://aurelien.bompard.org/projects/dokuwiki/fields.git
Some interesting links on Git:
.To set a field, use the following syntax:
{{fields>FIELD NAME=FIELD VALUE}}
where “FIELD NAME” is the name of the field and “FIELD VALUE” is the value (obviously :) ). Neither the name nor the value need to be uppercase, in fact they may contain any character. The field value can even contain equal signs (”=”).
To display a field, use the following syntax :
{{fields>FIELD NAME}}
Note : This plugin supports XHTML rendering as well as ODT rendering.
Feel free to contact me by mail, as I'm not going to track this page very often.
The toolbar button does not appear
.
I use DokuWiki version 2008-05-05.
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported