Table of Contents
structnumber Plugin
Compatible with DokuWiki
- 2024-02-06 "Kaos" yes
- 2023-04-04 "Jack Jackrum" unknown
- 2022-07-31 "Igor" unknown
- 2020-07-29 "Hogfather" unknown
This plugin is only a case study and will soon be marked as obsolete
This extension is marked as obsoleted. Therefore it is hidden in the Extension Manager and the extension listing. Furthermore, it is candidate for removal.
Installation
This plugin is only a case study and will soon be marked as obsolete |
---|
External requirements: This plugin requires the following additional components that must be installed separately:
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
The number type is structured like the decimal type. Maximum and minimum values can be specified. The difference to decimal is that a format can be specified. This is done under the configuration of the field.
The format is checked; if it is not acceptable, the standard format %01.2f
is used.
Permitted types are: bdeEfFu
Syntax
Configuration and Settings
The following configuration is available in addition to the basic type configuration:
Config | Format | Description |
---|---|---|
min | float | The number has to be at least this value. Be sure to specify decimals with a . as decimal point! |
max | float | The number may be at most this value. Be sure to specify decimals with a . as decimal point! |
format | string | a format for sprintf format |
prefix | string | This text will be prepended to the saved value - useful for currency symbols |
postfix | string | This text will be appended to the saved value - useful for currency symbols |
Development
The source code of the plugin is available at GitHub: https://github.com/saggi-dw/dokuwiki-plugin-structnumber.
Changelog
- adjust date (2024-05-08 10:38)
- Add files via upload (2024-05-08 10:31)