dokupp Plugin

Compatible with DokuWiki

≥ //Lemming//

plugin Provides automatic counters

Last updated on
2011-02-02
Provides
Syntax

Tagged with formatting, numbering

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 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:
progrecss
tooltip
clock
divalign2
countdown
noiewarning
hide
gil

FAQ

No questions yet?

Discussion

No discussion yet?

plugin/dokupp.txt · Last modified: 2011/06/18 17:48 by ach
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 3.0 Unported
Imprint Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki
WikiForumIRCBugsGitXRefTranslate