%CHILDREN{...}%
| Parameter: | Description: | Default: |
|---|---|---|
web="%WEB%" | Wiki web. | Current web |
topic="%TOPIC%" | The topic to find the children. | Current topic |
format="..." | Custom format for each topic found. Supports same format strings as SEARCH. See FormattedSearch for usage, variables & examples | "$topic" |
separator="..." | Separator between topics. | ", " |
default="none" | Default text shown if no children found. | "" (empty) |
%CHILDREN{ topic="%TOPIC%" }%
%CONTENTMODE{web="WEB"}%
| Parameter: | Description: | Default: |
|---|---|---|
web | The name of the web. | The current web |
%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"}% %PARENTTOPIC% or %PARENTTOPIC{ format="..." topic="..." }%
TWikiVariables, renders as TWikiVariables
| Item | Description | Default |
|---|---|---|
format="..." | Format string used to display parent topic, where $web expands to the web name, and $topic expands to the topic name. Additional formatting tokens can be used. | "$topic" (topic name) |
topic="..." | Get parent of "Topic" or "Web.Topic" | "%WEB%.%TOPIC%" (current topic) |
%SITENAME%
{ReadOnlyAndMirrorWebs}{SiteName} if defined. Returns the null string if not.
%SITESTATISTICSTOPIC%
SiteStatistics
%USERSWEB%.%SITESTATISTICSTOPIC% renders as SiteStatistics?
%TOPICTITLE% or %TOPICTITLE{ topic="TopicName" }%
| Parameter: | Description: | Default: |
|---|---|---|
"..." ortopic="..." | Topic to get the title from. Can be of form TopicName or Web.TopicName. | Current topic |
encode="html" | Encode special characters into HTML entities. If a TOPICTITLE is passed into an HTML form field it should be encoded as "html". Additional encodings: encode="quote", encode="moderate", encode="safe", encode="entity" and encode="url". See ENCODE for details. | "" (no encoding) |
%TOPICTITLE{Projects.SushiProject}% returns Sushi Project assuming the topic has a form field named "Title" with value "Sushi Project"
TWikiVariablesCategoryBody
[[+SomeTopicName]] to get the topic title link of a topic, see TWikiEditingShorthand#TopicTitleLinks
%WIKILOGOALT%
Powered by TWiki
%WIKILOGOIMG%
https://skladowanie.pgi.gov.pl/twiki/pub/TWiki/TWikiLogos/T-logo-140x40-t.gif
%WIKILOGOURL%
http://TWiki.org/
%SCRIPTURLPATH{"view"}%/%USERSWEB%/%HOMETOPIC%
%WIKIWEBMASTER% expands to the email address of the administrator of this TWiki installation.
%WIKIWEBMASTER%, expands to: Marcin.Slodkowski@pgi.gov.pl
%WIKIWEBMASTERNAME% expands to the name of the administrator of this TWiki installation.
%WIKIWEBMASTERNAME%, expands to: TWiki Administrator