summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Talintyre <john.talintyre@drkw.com>2001-08-29 16:22:44 +0000
committerJohn Talintyre <john.talintyre@drkw.com>2001-08-29 16:22:44 +0000
commit070a1deb53c74aa80fa8164384d00c42a236819b (patch)
tree5aabe750fb59d96bbee80721f9edf37384e67c45
parent83bb9f624c5643ff5c52fe1a2f3936541c99f15e (diff)
none
-rw-r--r--TWiki/MetaDataRendering.mdwn63
1 files changed, 63 insertions, 0 deletions
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 @@
+## <a name="Meta_Data_Rendering"> Meta Data Rendering </a>
+
+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:
+
+<table border="1" cellpadding="1" cellspacing="0">
+ <tr>
+ <th bgcolor="#99CCCC"><strong>Variable usage:</strong></th>
+ <th bgcolor="#99CCCC"><strong>Comment:</strong></th>
+ </tr>
+ <tr>
+ <td> %<nop>META{"form"}% </nop></td>
+ <td> Show form data, see <span style="background:"><font color="">Form Templates</font></span><a href="http://LOCATION/TWikiDocumentation">?</a></td>
+ </tr>
+ <tr>
+ <td> %<nop>META{"attachments"}% </nop></td>
+ <td> Show attachments, excluding hidden ones </td>
+ </tr>
+ <tr>
+ <td> options for attachments: </td>
+ </tr>
+ <tr>
+ <td> all="on" </td>
+ <td> Show all attachments i.e. including hidden ones </td>
+ </tr>
+ <tr>
+ <td> %<nop>META{"moved"}% </nop></td>
+ <td> Details of any topic moves </td>
+ </tr>
+ <tr>
+ <td> %<nop>META{"parent [options]"}% </nop></td>
+ <td> Show topic parent </td>
+ </tr>
+ <tr>
+ <td> options for parent: </td>
+ </tr>
+ <tr>
+ <td> dontrecurse="on" </td>
+ <td> By default recurses up tree, this has some cost </td>
+ </tr>
+ <tr>
+ <td> prefix="..." </td>
+ <td> Prefix that goes before parents, but only if there are parents, default "" </td>
+ </tr>
+ <tr>
+ <td> suffix="..." </td>
+ <td> Suffix, only appears if there are parents, default "" </td>
+ </tr>
+ <tr>
+ <td> seperator="..." </td>
+ <td> Seperator between parents, default is " &amp;gt; " </td>
+ </tr>
+</table>
+
+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 <br />