(file) Return to MetaDataRendering.txt CVS log (file) (dir) Up to [RizwankCVS] / geekymedia_web / twiki / data / TWiki

 1 rizwank 1.1 %META:TOPICINFO{author="PeterThoeny" date="1010736000" format="1.0" version="1.3"}%
 2             %META:TOPICPARENT{name="TWikiTemplates"}%
 3             %STARTINCLUDE%
 4             ---## Meta Data Rendering
 5             
 6             Various meta data can be stored in topics - MetaDataDefinition
 7             
 8             This is rendered using the %<nop>META% variable.  This is mostly used in the =view=, =preview= and =edit= scripts.
 9             
10             At present support is fairly basic:
11               | *Variable usage:*	| *Comment:*  |
12               | =%<nop>META{"form"}%= | Show form data, see [[TWikiDocumentation#Form_Templates][Form Templates]] |
13               | =%<nop>META{"attachments"}%= | Show attachments, excluding hidden ones. Options: <br > \
14             	 ==all="on"==: Show all attachments i.e. including hidden ones |
15               | =%<nop>META{"moved"}%= | Details of any topic moves |
16               | =%<nop>META{"parent"}%= | Show topic parent. Options: <br /> \
17             	 ==dontrecurse="on"==: By default recurses up tree, this has some cost. <br /> \
18             	 ==nowebhome="on"==: Suppress <nop>%HOMETOPIC%. <br /> \
19             	 ==prefix="..."==: Prefix that goes before parents, but only if there are parents, default =""=. <br /> \
20             	 ==suffix="..."==: Suffix, only appears if there are parents, default =""=. <br /> \
21             	 ==separator="..."==: Separator between parents, default is =" &gt; "=. |
22 rizwank 1.1 
23             Possible future additions:
24             	* Rendering of form data to alternate formats e.g. bullet lists
25             	* Specify a template to be used for rendering
26             %STOPINCLUDE%
27             
28             -- JohnTalintyre - 29 Aug 2001 <br />
29             -- Main.PeterThoeny - 10 Jan 2002

Rizwan Kassim
Powered by
ViewCVS 0.9.2