This is an old revision of the document!
Table of Contents
dokupp Plugin
Compatible with DokuWiki
≥ //Lemming//
This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.
Similar to autonumbering
Installation
Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.
Examples/Usage
See the plugin in action in the Official Demo Page.
You use the @#@
tag in order to insert an automatic counter. Every time you invoke this syntax, the counter is increased and the next number is displayed.
The following shows the number @#@, and this @#@ showed the next number. After all that comes @#@.
If the counter was initialized to 5, for example, you should see this:
The following shows the number 5, and this 6 showed the next number. After all that comes 7.
Syntax
In the current version (dokupp-0
) the following syntax is allowed:
- Use
@#=number@
to (re)initialize the counter. - Use
@#@
to invoke the counter and display its current value.
Initializing the counter (this produces no observable output by default):
@#=5@ // initializes with the value 5//
Invoking the counter:
The following shows the number @#@, and this @#@ showed the next number. After all that comes @#@.
Only one counter can exist in a page. Using insertion plugins like plugin:include may break the display of the counter.
Development
This plugin is currently experimental and it is in a very early stage of development. Check the official demo page in order to see what do I have in store for this plugin.
Caveats, bugs and fixes, sample snapshots and a ChangeLog are provided at the official demo site.
Other Plugins by Luis Machuca: | plugin:progrecss plugin:tooltip plugin:clock plugin:divalign2 plugin:countdown plugin:noiewarning plugin:hide plugin:gil |
---|
FAQ
No questions yet?
Discussion
No discussion yet?