From 070a1deb53c74aa80fa8164384d00c42a236819b Mon Sep 17 00:00:00 2001 From: John Talintyre Date: Wed, 29 Aug 2001 16:22:44 +0000 Subject: none --- TWiki/MetaDataRendering.mdwn | 63 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 TWiki/MetaDataRendering.mdwn (limited to 'TWiki') diff --git a/TWiki/MetaDataRendering.mdwn b/TWiki/MetaDataRendering.mdwn new file mode 100644 index 00000000..c1ae4ba4 --- /dev/null +++ b/TWiki/MetaDataRendering.mdwn @@ -0,0 +1,63 @@ +## 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 for attachments:
all="on" Show all attachments i.e. including hidden ones
%META{"moved"}% Details of any topic moves
%META{"parent [options]"}% Show topic parent
options for parent:
dontrecurse="on" By default recurses up tree, this has some cost
prefix="..." Prefix that goes before parents, but only if there are parents, default ""
suffix="..." Suffix, only appears if there are parents, default ""
seperator="..." Seperator between parents, default is " > "
+ +Possible future additions: + +* Rendering of form data to alternate formats e.g. bullet lists +* Specify a template to be used for rendering + +-- [[JohnTalintyre]] - 29 Aug 2001
-- cgit v1.2.3