%CHART{}% variable is handled by the ChartPlugin.
%CHART{ attributes }% - supported attributes are documented in ChartPlugin
%CHART{ type="bar" name="bar1" table="monthly_sales" data="R3:C2..R5:C4" xaxis="R1:C2..R1:C4" legend="R3:C1..R5:C1" ymin="0" width="225" height="200" }%
%COLORPICKER{}% variable is handled by the ColorPickerPlugin.
%COLORPICKER{ name="..." value="..." }%
| Parameter | Description | Default | Example |
|---|---|---|---|
name | Name of input field | (required) | name="text_color" |
value | Initial color value, in hexadecimal notation for the combination of Red, Green, and Blue color values (RGB). | (none) | value="#0000ff" |
size | Size of input field | (browser default) | size="12" |
class | CSS class of input field | (none) | class="twikiInputField" |
| Additional parameters can be supplied; they will be added to the HTML input field. | |||
<form action="..."> %COLORPICKER{ name="text_color" size="12" value="#123456" class="twikiInputField" }% <form>
%DASHBOARD{...}% variable.
%DASHBOARD{ section="..." ... }%
%DASHBOARD{ section="dashboard_start" }% %DASHBOARD{ section="banner" image="..." title="..." }% %DASHBOARD{ section="box_start" title="Box 1 title" }% Box 1 content %DASHBOARD{ section="box_end" }% %DASHBOARD{ section="box_start" title="Box 2 title" }% Box 2 content %DASHBOARD{ section="box_end" }% ... %DASHBOARD{ section="dashboard_end" }%
%DATEPICKER{}% variable is handled by the DatePickerPlugin.
%DATEPICKER{ name="..." value="..." }%
| Parameter | Description | Default | Example |
|---|---|---|---|
name | Name of input field. φ: No output is shown if the name parameter is missing, but the CSS and Javascript are loaded. | (requiredφ) | name="Start" |
value | Initial date value. | "" (today) | value="2012-12-31" |
format | Format of resulting date value. • %a - abbreviated weekday name• %A - full weekday name• %b - abbreviated month name• %B - full month name• %C - century number• %d - the day of the month (00 ... 31)• %e - the day of the month (0 ... 31)• %H - hour (00 ... 23)• %I - hour (01 ... 12)• %j - day of the year ( 000 ... 366)• %k - hour (0 ... 23)• %l - hour (1 ... 12)• %m - month (01 ... 12)• %M - minute (00 ... 59)• %n - a newline character• %p - "PM" or "AM"• %P - "pm" or "am"• %S - second (00 ... 59)• %s - number of seconds since Epoch (since Jan 01 1970 00:00:00 UTC)• %t - a tab character• %U, %W, %V - the week number. The week 01 is the week that has the Thursday in the current year, which is equivalent to the week that contains the fourth day of January. Weeks start on Monday.• %u - the day of the week (1 ... 7, 1 = MON)• %w - the day of the week (0 ... 6, 0 = SUN)• %y - year without the century (00 ... 99)• %Y - year including the century (ex. 2012)• %% - a literal % character | "%Y-%m-%d" | format="%e %b %Y" |
id | ID of input field, optional. | "id_" + name | id="idStart" |
size | Size of input field, in number of characters. | (calculated as needed) | size="12" |
class | CSS class of input field. | "twikiInputField" | class="dateField" |
Additional HTML input field attributes, such as alt, disabled, maxlength, onblur, onchange, onfocus, readonly, style, tabindex, title | |||
<form action="..."> %DATEPICKER{ name="Start_Date" }% <form>
%DRAWING{}% variable is handled by the TWikiDrawPlugin.
%DRAWING{ name }%
| Parameter | Description | Default |
|---|---|---|
"..." | Name of drawing. Allowed characters are A-Z, a-z, 0-9, ., _, -. | "untitled" |
%DRAWING{"workflow"}%
%GAUGE{}% variable is handled by the GaugePlugin.
%GAUGE{ type="..." name="..." value="..." }%
| Attribute | Comment | Default |
|---|---|---|
type | The type of gauge, type="tambar" for target measure bar, or type="trend" for trend icon | Global TYPE setting |
name | Name to uniquely identify the gauge file that is auto-created. | None; required for tambar |
value | For tambar: The actual value of the gaugeFor trend: Positive = arrow up, 0 = arrow right, negative = arrow down | None. Show "no data" if missing |
alt | Alternate text for image | Value is value parameter |
width | Defines the width of the gauge in pixels. | Global <type>_WIDTH setting |
height | Defines the height of the gauge in pixels. | Global <type>_HEIGHT setting |
scale | For tambar: Defines the number and position of the scales. For example a value of "5, 12, 35, 57" denotes that there are three regions on the bar gauge, "5...12", "12...35" and "35...57". For trend: N/A | Global <type>_SCALE setting |
colors | For tambar: List of colors, each region has two colors. For trend: N/A | Global <type>_COLORS setting |
%GAUGE{ type="tambar" name="t1" scale="0, 10, 20, 40" value="27" }% shows %GAUGE{ type="trend" name="t2" value="-3" }% shows %PERCENTCOMPLETE{}% variable is handled by the PercentCompletePlugin.
%PERCENTCOMPLETE{ name="..." value="..." }%
| Parameter | Description | Default | Example |
|---|---|---|---|
name | Name of selector | (required) | name="Progress" |
value | Initial value, range 0 to 100. | "0" | value="70" |
<form action="..."> %PERCENTCOMPLETE{ name="Progress" value="30" }% <form>
The %QRCODE{}% variable is handled by the QRCodePlugin
%QRCODE{ "..." ... }%
"..." - text to encode as QR Code.
ecc="..." - error Correction Capability. Valid values "L", "M", "Q", "H". Default "M".
version="..." - symbol version of QR Code, or size of matrix. Valid values "1" ... "40", and "auto" for automatic versioning. Default "8".
size="..." - module size, e.g. pixel size of a block (bit) that makes up the matrix of the barcode. Default "4".
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='' />".
%QRCODE{ "http://twiki.org/" version="2" size="3" }% returns above QR Code.
%SLIDESHOWEND% variable is handled by the SlideShowPlugin
%SLIDESHOWEND%
%SLIDESHOWSTART% variable is handled by the SlideShowPlugin
%SLIDESHOWSTART%
%SLIDESHOWSTART{ template="MyOwnSlideTemplate" }%
%SLIDESHOWSTART% ---++ Sample Slide 1 * Bullet 1 * Bullet 2 ---++ Sample Slide 2 * Bullet 1 * Bullet 2 %SLIDESHOWEND%
"---++ text") and HTML ("<h2>text</h2>") are taken into account. Any heading text after "!!" is excluded from the TOC; for example, write "---+!! text" if you do not want to list a header in the TOC. An abbreviated heading can be shown in the TOC, such as "---++ text!! this is excluded from TOC".
%TOC%
"---++ text") and HTML ("<h2>text</h2>") are taken into account. Any heading text after "!!" is excluded from the TOC; for example, write "---+!! text" if you do not want to list a header in the TOC. An abbreviated heading can be shown in the TOC, such as "---++ text!! this is excluded from TOC".
%TOC{"SomeTopic" ...}%
| Parameter: | Description: | Default: |
|---|---|---|
"TopicName" | Topic name | Current topic |
web="Name" | Name of web | Current web |
depth="2" | Limit depth of headings shown in TOC | 6 |
title="Some text" | Title to appear at top of TOC | none (TOC_TITLE setting) |
style="..." | Style to apply to the TOC | none (TOC_STYLE setting) |
%TOC{depth="2"}%
%TOC{"TWikiDocumentation" web="TWiki06x01" title="Contents:" style="float: right;"}%