data/TWiki/VarMETA.txt,v
changeset 0 414e01d06fd5
equal deleted inserted replaced
-1:000000000000 0:414e01d06fd5
       
     1 head	1.3;
       
     2 access;
       
     3 symbols;
       
     4 locks; strict;
       
     5 comment	@# @;
       
     6 
       
     7 
       
     8 1.3
       
     9 date	2008.01.22.03.21.30;	author TWikiContributor;	state Exp;
       
    10 branches;
       
    11 next	1.2;
       
    12 
       
    13 1.2
       
    14 date	2007.01.16.04.12.03;	author TWikiContributor;	state Exp;
       
    15 branches;
       
    16 next	1.1;
       
    17 
       
    18 1.1
       
    19 date	2006.06.25.16.26.29;	author TWikiContributor;	state Exp;
       
    20 branches;
       
    21 next	;
       
    22 
       
    23 
       
    24 desc
       
    25 @buildrelease
       
    26 @
       
    27 
       
    28 
       
    29 1.3
       
    30 log
       
    31 @buildrelease
       
    32 @
       
    33 text
       
    34 @%META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.1" version="3"}%
       
    35 %META:TOPICPARENT{name="TWikiVariables"}%
       
    36 #VarMETA
       
    37 ---+++ META -- displays meta-data
       
    38    * 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.
       
    39    * Syntax: =%<nop>META{ "item" ...}%=
       
    40    * Parameters:
       
    41      | *Item* | *Options* | *Description* |
       
    42      | ="formfield"= | =name="..."=: name of the field. The field value can be shortened as described in %SYSTEMWEB%.FormattedSearch for =$formfield= %BR% \
       
    43                        =newline="..."=: by default, each newline character will be rewritten to =&lt;br /&gt;= to allow metadata that contains newlines to be used in tables, etc. =$n= indicates a newline character. %BR% \
       
    44                        =bar="..."=: by default, each vertical bar is rewritten to an HTML entity so as to not be mistaken for a table separator. \
       
    45                     | Show a single form field |
       
    46      | ="form"= | _none_ | Generates the table showing the form fields. See [[TWikiDocumentation#Form_Templates][Form Templates]] |
       
    47      | ="attachments"= | =all="on"= to show hidden attachments. %BR% \
       
    48      					 =title="..."= to show a title - only if attachments are displayed. %BR% \
       
    49      					 =template="..."= to use a custom template for the rendering of attachments; default =attachtables= is used. \
       
    50       			| Generates the list of attachments |
       
    51      | ="moved"= | _none_ | Details of any topic moves |
       
    52      | ="parent"= | =dontrecurse="on"=: By default recurses up tree, this has some cost. %BR% \
       
    53                     =nowebhome="on"=: Suppress <nop>%HOMETOPIC%. %BR% \
       
    54 		    =prefix="..."=: Prefix that goes before parents, but only if there are parents, default =""=. %BR% \
       
    55 		    =format="..."=: Format string used to display each parent topic where =$web= expands to the web name, and =$topic= expands to the topic name; default: ="[<nop>[$web.$topic][$topic]]"= %BR% \
       
    56 		    =suffix="..."=: Suffix, only appears if there are parents; default =""=. %BR% \
       
    57 		    =separator="..."=: Separator between parents; default =" &gt; "=. \
       
    58                   | Generates the parent link |
       
    59    * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarMETASEARCH][METASEARCH]]
       
    60 
       
    61 @
       
    62 
       
    63 
       
    64 1.2
       
    65 log
       
    66 @buildrelease
       
    67 @
       
    68 text
       
    69 @d1 1
       
    70 a1 1
       
    71 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.2" version="2"}%
       
    72 a3 1
       
    73 
       
    74 d9 1
       
    75 a9 1
       
    76      | ="formfield"= | =name="..."=: name of the field. The field value can be shortened as described in %TWIKIWEB%.FormattedSearch for =$formfield= %BR% \
       
    77 d26 1
       
    78 a26 1
       
    79    * Related: [[#VarMETASEARCH][METASEARCH]]
       
    80 @
       
    81 
       
    82 
       
    83 1.1
       
    84 log
       
    85 @buildrelease
       
    86 @
       
    87 text
       
    88 @d1 1
       
    89 a1 1
       
    90 %META:TOPICINFO{author="TWikiContributor" date="1111929255" format="1.2" version="1"}%
       
    91 d10 4
       
    92 a13 1
       
    93      | ="formfield"= | =name="..."= - name of the field. The field value can be shortened as described in %TWIKIWEB%.FormattedSearch for =$formfield= | Show a single form field |
       
    94 d15 4
       
    95 a18 1
       
    96      | ="attachments"= | =all="on"= to show hidden attachments | Generates the table showing the attachments |
       
    97 d20 6
       
    98 a25 6
       
    99      | ="parent"= | ==dontrecurse="on"==: By default recurses up tree, this has some cost. %BR% \
       
   100                     ==nowebhome="on"==: Suppress <nop>%HOMETOPIC%. %BR% \
       
   101 		    ==prefix="..."==: Prefix that goes before parents, but only if there are parents, default =""=. %BR% \
       
   102 		    ==format="..."==: format string used to display each partent topic, default ="[<nop>[$web.$topic][$topic]]"= %BR% \
       
   103 		    ==suffix="..."==: Suffix, only appears if there are parents, default =""=. %BR% \
       
   104 		    ==separator="..."==: Separator between parents, default =" &gt; "=. \
       
   105 @