HLUG TWiki > TWiki > TWikiTemplates > MetaDataRendering TWiki webs:
AIX| Classes | HALBOD | HLUG | Helpdesk | Library | Main | Samba | TWiki |
TWiki . { Welcome | Register | Changes | Topics | Index | Search | Go }

Meta Data Rendering

Various meta data can be stored in topics - MetaDataDefinition

This is rendered using the %META% variable. This is mostly used in the view, preview and edit scripts.

At present support is fairly basic:

Variable usage: Comment:
%META{"form"}% Show form data, see Form Templates
%META{"attachments"}% Show attachments, excluding hidden ones. Options:
all="on": Show all attachments i.e. including hidden ones
%META{"moved"}% Details of any topic moves
%META{"parent"}% Show topic parent. Options:
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 "".
suffix="...": Suffix, only appears if there are parents, default "".
separator="...": Separator between parents, default is " > ".

Possible future additions:

-- JohnTalintyre - 29 Aug 2001
-- PeterThoeny - 10 Jan 2002

Topic MetaDataRendering . { Edit | Attach | 5B%5EA-Za-z%5D">Ref-By | Printable | Diffs | r1.3 | > | r1.2 | > | r1.1 | More }
Revision r1.3 - 11 Jan 2002 - 08:00 GMT - PeterThoeny
Parents: WebHome > TWikiTemplates
Copyright © 2003-2007 by F. A. Archibald III & the contributing authors