#VarQRCODE ---+++ QRCODE -- create QR Code (a matrix barcode) in TWiki pages * <img style="float:right" src="%PUBURL%/%WEB%/QRCodePlugin/qrcode-example-1.png" width="99" height="99" alt="QR Code example"></img> The =%<nop>QRCODE{}%= variable is handled by the QRCodePlugin * Syntax: =%<nop>QRCODE{ "..." ... }%= * Parameter ="..."= - text to encode as QR Code. * Parameter =ecc="..."= - error Correction Capability. Valid values ="L"=, ="M"=, ="Q"=, ="H"=. Default ="M"=. * Parameter =version="..."= - symbol version of QR Code, or size of matrix. Valid values ="1"= ... ="40"=, and ="auto"= for automatic versioning. Default ="8"=. * Parameter =size="..."= - module size, e.g. pixel size of a block (bit) that makes up the matrix of the barcode. Default ="4"=. * Parameter =format="..."= - format of HTML =img= tag of generated QR Code image. Supported variables: =$urlpath= - URL path of image, =$width= - image width, =$height= - image height. Default: ="<img src='$urlpath' width='$width' height='$height' border='0' alt='' />"=. * Example: =%<nop>QRCODE{ "http://twiki.org/" version="2" size="3" }%= returns above QR Code. * Category: ExportAndPublishingVariables, FormattingAndRenderingVariables, UIAndVisualizationVariables * Related: QRCodePlugin
This topic: TWiki
>
WebHome
>
TWikiVariables
>
VarQRCODE
Topic revision: r0 - 15 Nov 2012 - TWikiContributor
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback
Note:
Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.VarQRCODE
.