%COLORPICKER{}%
variable is handled by the ColorPickerPlugin.
%COLORPICKER{ name="..." value="..." }%
Parameter | Description | Default | Example![]() |
---|---|---|---|
value | Initial color value, in hexadecimal notation for the combination of Red, Green, and Blue color values (RGB). | (none) | value="#0000ff" |
type | Type of color widget: รข\x{fffd}ยข "below" - color picker is located below the input field;รข\x{fffd}ยข "popup" - pop-up a color picker window when clicking the button next to the input field (this uses very little vertical space); รข\x{fffd}ยข "view" - a read-only rectangular block colored in the color value (no color picker);รข\x{fffd}ยข "view-hex" - like view , in addition shows the color value as an RGB hexadecimal code (no color picker); | type="below" | type="view-hex" |
style | Style of input field or the rectangular color block | (none) | style="width: 190px; height: 32px" |
size | Size of input field, in number of characters | (browser default) | size="8" |
name | Name of input field | (required) | name="text_color" |
class | CSS class of input field or the rectangular color block | (none) | class="twikiInputField" |
Additional parameters can be supplied; they will be added to the HTML input field or the rectangular color block. |
<form action="...">
%COLORPICKER{ name="text_color" value="#123456" class="twikiInputField" type="popup" }%
<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. รข\x{fffd}ยข %a - abbreviated weekday nameรข\x{fffd}ยข %A - full weekday nameรข\x{fffd}ยข %b - abbreviated month nameรข\x{fffd}ยข %B - full month nameรข\x{fffd}ยข %C - century numberรข\x{fffd}ยข %d - the day of the month (00 ... 31)รข\x{fffd}ยข %e - the day of the month (0 ... 31)รข\x{fffd}ยข %H - hour (00 ... 23)รข\x{fffd}ยข %I - hour (01 ... 12)รข\x{fffd}ยข %j - day of the year ( 000 ... 366)รข\x{fffd}ยข %k - hour (0 ... 23)รข\x{fffd}ยข %l - hour (1 ... 12)รข\x{fffd}ยข %m - month (01 ... 12)รข\x{fffd}ยข %M - minute (00 ... 59)รข\x{fffd}ยข %n - a newline characterรข\x{fffd}ยข %p - "PM" or "AM"รข\x{fffd}ยข %P - "pm" or "am"รข\x{fffd}ยข %S - second (00 ... 59)รข\x{fffd}ยข %s - number of seconds since Epoch (since Jan 01 1970 00:00:00 UTC)รข\x{fffd}ยข %t - a tab characterรข\x{fffd}ยข %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.รข\x{fffd}ยข %u - the day of the week (1 ... 7, 1 = MON)รข\x{fffd}ยข %w - the day of the week (0 ... 6, 0 = SUN)รข\x{fffd}ยข %y - year without the century (00 ... 99)รข\x{fffd}ยข %Y - year including the century (ex. 2012)รข\x{fffd}ยข %% - 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>