plugin:barcodes
This is an old revision of the document!
Table of Contents
barcodes Plugin
Compatible with DokuWiki
- 2024-02-06 "Kaos" unknown
- 2023-04-04 "Jack Jackrum" unknown
- 2022-07-31 "Igor" yes
- 2020-07-29 "Hogfather" unknown
This plugin allows to add 1D and 2D barcode to your wiki pages.
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.
Usage
Basic Usage
Create a simple QR code, pointing to https://dokuwiki.org:
<barcode type="qrcode" value="https://dokuwiki.org" />
Alternatively, put the same URL in Data Matrix:
<barcode type="datamatrix" value="https://dokuwiki.org" />
Attributes
The following attributes are supported:
- type: Type of the barcode to be created (case insensitive). Must be one of the following (as supported by Jucksearm's php-barcode library: QRCODE, DATAMATRIX, C39, C39+, C39E, C39E+, C93, S25, S25+, I25, I25+, C128, C128A, C128B, C128C, EAN2, EAN5, EAN8, EAN13, UPCA, UPCE, MSI, MSI+, POSTNET, PLANET, RMS4CC, KIX, IMB, CODABAR, CODE11, PHARMA, PHARMA2T
- value: The value to be represented using the barcode.
- color: Set the color for the barcode.
- background-color: Set a background color for the barcode. Leave empty for transparent.
- img-type: Set the type of the image for the barcode. Allowed values: svg, png.
If you're missing an attribute or a feature feel invited to open a ticket! This plugin is quite new and might lack functionality you would like to have.
Change Log
The CHANGELOG file can be seen here: https://gitlab.com/MatthiasLohr/dokuwiki-barcodes/-/blob/main/CHANGELOG.md.
plugin/barcodes.1674845278.txt.gz · Last modified: 2023-01-27 19:47 by MatthiasLohr