Difference: VarMETA (1 vs. 5)

Revision 52010-07-01 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"

META -- displays meta-data

Line: 30 to 30
 
Generates the parent link
  • Attention: The base topic, not the current topic, is used if %META{}% is placed in an included topic. Add a topic="%WEB%.%TOPIC%" parameter if you need meta info of the current topic.
  • Note: Formatting tokens can be used for newline, prefix, format, suffix and separator options, such as separator="$n   * "
Changed:
<
<
>
>

Revision 42010-04-28 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"

META -- displays meta-data

Line: 6 to 6
 
Changed:
<
<
| "formfield" | name="...": name of the field. The field value can be shortened as described in FormattedSearch for $formfield
>
>
| "formfield" | name="...": name of the field. The field value can be shortened as described in FormattedSearch for $formfield.
  newline="...": by default, each newline character will be rewritten to <br /> to allow metadata that contains newlines to be used in tables, etc. $n indicates a newline character.
Changed:
<
<
bar="...": by default, each vertical bar is rewritten to an HTML entity so as to not be mistaken for a table separator.
>
>
bar="...": by default, each vertical bar is rewritten to an HTML entity so as to not be mistaken for a table separator.
topic="...": Get meta info of "Topic" or "Web.Topic"; default "%BASEWEB%.%BASETOPIC%".
 
Show a single form field
Changed:
<
<
"form" none Generates the table showing the form fields. See Form Templates
>
>
"form" topic="...": Get meta info of "Topic" or "Web.Topic"; default "%BASEWEB%.%BASETOPIC%". Generates the table showing the form fields. See Form Templates
  | "attachments" | all="on" to show hidden attachments.
title="..." to show a title - only if attachments are displayed.
Changed:
<
<
template="..." to use a custom template for the rendering of attachments; default attachtables is used.
>
>
template="..." to use a custom template for the rendering of attachments; default attachtables is used.
topic="...": Get meta info of "Topic" or "Web.Topic"; default "%BASEWEB%.%BASETOPIC%".
 
Generates the list of attachments
Changed:
<
<
"moved" none Details of any topic moves
>
>
"moved" topic="...": Get meta info of "Topic" or "Web.Topic"; default "%BASEWEB%.%BASETOPIC%". Details of any topic moves
  | "parent" | dontrecurse="on": By default recurses up tree, this has some cost.
nowebhome="on": Suppress WebHome.
prefix="...": Prefix that goes before parents, but only if there are parents, default "".
format="...": Format string used to display each parent topic where $web expands to the web name, and $topic expands to the topic name; default: "[[$web.$topic][$topic]]"
suffix="...": Suffix, only appears if there are parents; default "".
Changed:
<
<
separator="...": Separator between parents; default " > ".
>
>
separator="...": Separator between parents; default " > ".
topic="...": Get meta info of "Topic" or "Web.Topic"; default "%BASEWEB%.%BASETOPIC%".
 
Generates the parent link
Changed:
<
<
>
>
  • Attention: The base topic, not the current topic, is used if %META{}% is placed in an included topic. Add a topic="%WEB%.%TOPIC%" parameter if you need meta info of the current topic.
  • Note: Formatting tokens can be used for newline, prefix, format, suffix and separator options, such as separator="$n   * "
  • Related: METASEARCH, SEARCH, FormattedSearch

Revision 32005-03-27 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"
Deleted:
<
<
 

META -- displays meta-data

  • Provided mainly for use in templates, this variable generates the parts of the topic view that relate to meta-data (attachments, forms etc.) The formfield item is the most likely to be useful to casual users.
  • Syntax: %META{ "item" ...}%
Line: 7 to 6
 
Changed:
<
<
| "formfield" | name="...": name of the field. The field value can be shortened as described in FormattedSearch for $formfield
>
>
| "formfield" | name="...": name of the field. The field value can be shortened as described in FormattedSearch for $formfield
  newline="...": by default, each newline character will be rewritten to <br /> to allow metadata that contains newlines to be used in tables, etc. $n indicates a newline character.
bar="...": by default, each vertical bar is rewritten to an HTML entity so as to not be mistaken for a table separator. | Show a single form field |
Line: 24 to 23
  suffix="...": Suffix, only appears if there are parents; default "".
separator="...": Separator between parents; default " > ". | Generates the parent link |
Changed:
<
<
>
>
 

Revision 22005-03-27 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiVariables"
Line: 7 to 7
 
Changed:
<
<
"formfield" name="..." - name of the field. The field value can be shortened as described in FormattedSearch for $formfield Show a single form field
>
>
"formfield" name="...": name of the field. The field value can be shortened as described in FormattedSearch for $formfield
newline="...": by default, each newline character will be rewritten to <br /> to allow metadata that contains newlines to be used in tables, etc. $n indicates a newline character.
bar="...": by default, each vertical bar is rewritten to an HTML entity so as to not be mistaken for a table separator.
Show a single form field
 
"form" none Generates the table showing the form fields. See Form Templates
Changed:
<
<
"attachments" all="on" to show hidden attachments Generates the table showing the attachments
>
>
"attachments" all="on" to show hidden attachments.
title="..." to show a title - only if attachments are displayed.
template="..." to use a custom template for the rendering of attachments; default attachtables is used.
Generates the list of attachments
 
"moved" none Details of any topic moves
Changed:
<
<
| "parent" | dontrecurse="on": By default recurses up tree, this has some cost.
nowebhome="on": Suppress WebHome.
prefix="...": Prefix that goes before parents, but only if there are parents, default "".
format="...": format string used to display each partent topic, default "[[$web.$topic][$topic]]"
suffix="...": Suffix, only appears if there are parents, default "".
separator="...": Separator between parents, default " > ".
>
>
| "parent" | dontrecurse="on": By default recurses up tree, this has some cost.
nowebhome="on": Suppress WebHome.
prefix="...": Prefix that goes before parents, but only if there are parents, default "".
format="...": Format string used to display each parent topic where $web expands to the web name, and $topic expands to the topic name; default: "[[$web.$topic][$topic]]"
suffix="...": Suffix, only appears if there are parents; default "".
separator="...": Separator between parents; default " > ".
 
Generates the parent link

Revision 12005-03-27 - TWikiContributor

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="TWikiVariables"

META -- displays meta-data

  • Provided mainly for use in templates, this variable generates the parts of the topic view that relate to meta-data (attachments, forms etc.) The formfield item is the most likely to be useful to casual users.
  • Syntax: %META{ "item" ...}%
  • Parameters:
    Item
    <-- -->
    Sorted ascending
    Options Description
    "attachments" all="on" to show hidden attachments Generates the table showing the attachments
    "form" none Generates the table showing the form fields. See Form Templates
    "formfield" name="..." - name of the field. The field value can be shortened as described in FormattedSearch for $formfield Show a single form field
    "moved" none Details of any topic moves
    "parent" dontrecurse="on": By default recurses up tree, this has some cost.
    nowebhome="on": Suppress WebHome.
    prefix="...": Prefix that goes before parents, but only if there are parents, default "".
    format="...": format string used to display each partent topic, default "[[$web.$topic][$topic]]"
    suffix="...": Suffix, only appears if there are parents, default "".
    separator="...": Separator between parents, default " > ".
    Generates the parent link
  • Related: METASEARCH
 
This site is powered by the TWiki collaboration platformCopyright © 1999-2024 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.VarMETA.