%ACTIVATEDPLUGINS%
%ALLVARIABLES%
%AUTHREALM%
%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" }%
text
, then hide the form. If EDITACTION is defined as form
hide the normal text area and only edit the form.
%EDITACTION%
(returning either text
or form
)
;action=text
or ;action=form
to the URL for the edit script. If you have defined EDITACTION in a topic setting or preference setting you can still edit the topic content or the form by removing the ;action=form
or ;action=text
from the edit URL in the browser and reload.
%FAILEDPLUGINS%
LANGUAGE
preference is set, it's used as user's language instead of any language detected from the browser.
LANGUAGE
at a non per-user way, so each user can choose his/her preferred language.
PO
files) to TWiki. Those are the languages in which TWiki's user interface is available.
%LANGUAGES{...}%
Parameter: | Description: | Default: |
---|---|---|
format | format for each item. See below for variables available in the format string. | " * $langname" |
separator | separator between items. | "\n" (newline) |
marker="selected" | Text for $marker if the item matches selection | "selected" |
selection="%LANGUAGE%" | Current language to be selected in list | (none) |
format
variables: Variable | Meaning |
---|---|
$langname | language's name, as informed by the translators |
$langtag | language's tag. Ex: en , pt-br , etc. |
<select>%LANGUAGES{format="<option $marker value='$langtag'>$langname</option>" selection="%LANGUAGE%"}%</select>
creates an option list of the available languages with the current language selected (this topic)
%LOCALSITEPREFS%
Main.TWikiPreferences
, renders as TWikiPreferences
%MDREPO{ "table" ...}%
(generic form), %MDREPO{ web="..." ...}%
(web specific form)
web="..."
parameter): Parameter | Description | Default | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
"..." | Specify the table to retrieve | This or below is required | ||||||||||||||||
table="..." | (Alternative to above) | This or above is required | ||||||||||||||||
separator="..." | The separator string of records | "$n" (new line) | ||||||||||||||||
format="..." | Format of one record. It may contain the following items. In addtion, the standard special tokens are handled accordingly.
| "| $_ | $__ |" | ||||||||||||||||
selection="..." | The record ID to be regarded as the selected. It affects how $marker in the format is evaluated. | none | ||||||||||||||||
marker="..." | Text for $marker in the format if the item matches selection | "selected" | ||||||||||||||||
filter="..." | The regular expression of record IDs to filter records. Matching is case-insensitive | none | ||||||||||||||||
exclude="..." | Comma separated list of record IDs to be excluded. You can use regular expression. If you specify Trash\d*, then Trash, Trash1, Trash2, ... are exluded but LightTrash and TrashBag are not excluded | none |
%MDREPO{"webs" filter="^A" format="| $_ | $_admin | $_master |"}%
Parameter | Description | Default |
---|---|---|
web="..." | Specify the web. If it's a subweb, the corresponding top level web is specified | This is required |
"..." | Specify the format of the return value in the same manner as the format parameter in the generic form | $__ |
default="..." | Specify the value to be returned when the specified or implied top level web does not exist in MDREPO | "" (null string) |
%MDREPO{web="Foo/Bar" "$_admin"}%
%PLUGINDESCRIPTIONS%
"$SUM( $ABOVE() )"
to TWiki tables or anywhere in topic text ExternalSite:Page
to link to a page on an external site based on aliases defined in a rules topic :-)
as or :eek:
as %PLUGINVERSION{"name"}%
to get the version of a specific plugin
%PLUGINVERSION{"InterwikiPlugin"}%
expands to $Rev: 28176 (2014-10-05) $
%PLUGINVERSION%
to get the version of the API
6.01
%USERREPORT{ action="..." ... }%
Report | action= | Parameters |
---|---|---|
Show a selector to pick a user, for use in HTML forms | "select_one_user" | name , selected , users |
Show rows of checkboxes to select users, for use in HTML forms | "select_users" | name , selected , users , colums , style |
Show a simple list of registered users | "user_list" | search , limit , sort , reverse |
Show slim, one line height user boxes | "slim_box_start" "slim_box" or "slim_box_list" "slim_box_end" | style user , style users , style none |
Show small, two line height user boxes | "small_box_start" "small_box" or "small_box_list" "small_box_end" | style user , style users , style none |
Show users in business card format | "business_card_start" "business_card" or "business_card_list" "business_card_end" | style user , style users , style none |
Show the profile picture image of a user | "profile_picture" | user , height , width , title |
%USERREPORT{ action="user_list" search="jane" limit="5" }%
%WEBPREFSTOPIC%
WebPreferences
, renders as WebPreferences
%WIKIHOMEURL%
/do/view/Main/WebHome
%SCRIPTURLPATH{"view"}%/%USERSWEB%/%HOMETOPIC%
%WIKILOGOURL%
defined in WebPreferences instead.
%WIKILOGOALT%
Home - this site is powered by TWiki(R)
%WIKILOGOIMG%
https://wiki.1edisource.com/pub/TWiki/TWikiLogos/T-logo-140x40-t.gif
%WIKILOGOURL%
https://wiki.1edisource.com/do/view/Main/WebHome
%SCRIPTURLPATH{"view"}%/%USERSWEB%/%HOMETOPIC%
%WIKIPREFSTOPIC%
TWikiPreferences
, renders as TWikiPreferences
%WIKIVERSION%
TWiki-6.0.1, Sun, 05 Oct 2014, build 28207