Tags:
view all tags
#VarMETA ---+++ META -- displays meta-data * 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. * Syntax: =%<nop>META{ "item" ...}%= * Parameters: | *Item* | *Options* | *Description* | | ="formfield"= | =name="..."=: name of the field. The field value can be shortened as described in %SYSTEMWEB%.FormattedSearch for =$formfield=. %BR% \ =newline="..."=: by default, each newline character will be rewritten to =<br />= to allow metadata that contains newlines to be used in tables, etc. =$n= indicates a newline character.%BR% \ =bar="..."=: by default, each vertical bar is rewritten to an HTML entity so as to not be mistaken for a table separator.%BR% \ =topic="..."=: Get meta info of "Topic" or "Web.Topic"; default ="%<nop>BASEWEB%.%<nop>BASETOPIC%"=. \ | Show a single form field | | ="form"= | =topic="..."=: Get meta info of "Topic" or "Web.Topic"; default ="%<nop>BASEWEB%.%<nop>BASETOPIC%"=. \ | Generates the table showing the form fields. See [[TWikiDocumentation#Form_Templates][Form Templates]] | | ="attachments"= | =all="on"= to show hidden attachments.%BR% \ =title="..."= to show a title - only if attachments are displayed.%BR% \ =template="..."= to use a custom template for the rendering of attachments; default =attachtables= is used.%BR% \ =topic="..."=: Get meta info of "Topic" or "Web.Topic"; default ="%<nop>BASEWEB%.%<nop>BASETOPIC%"=. \ | Generates the list of attachments | | ="moved"= | =topic="..."=: Get meta info of "Topic" or "Web.Topic"; default ="%<nop>BASEWEB%.%<nop>BASETOPIC%"=. \ | Details of any topic moves | | ="parent"= | =dontrecurse="on"=: By default recurses up tree, this has some cost.%BR% \ =nowebhome="on"=: Suppress <nop>%HOMETOPIC%. %BR% \ =prefix="..."=: Prefix that goes before parents, but only if there are parents, default =""=. %BR% \ =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% \ =suffix="..."=: Suffix, only appears if there are parents; default =""=. %BR% \ =separator="..."=: Separator between parents; default =" > "=. %BR% \ =topic="..."=: Get meta info of "Topic" or "Web.Topic"; default ="%<nop>BASEWEB%.%<nop>BASETOPIC%"=. \ | Generates the parent link | * __Attention:__ The base topic, not the current topic, is used if =%<nop>META{}%= is placed in an included topic. Add a =topic="%<nop>WEB%.%<nop>TOPIC%"= parameter if you need meta info of the current topic. * __Note:__ [[FormatTokens][Formatting tokens]] can be used for =newline=, =prefix=, =format=, =suffix= and =separator= options, such as =separator="$n * "= * Related: [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarMETASEARCH][METASEARCH]], [[%IF{"'%INCLUDINGTOPIC%'='TWikiVariables'" then="#"}%VarSEARCH][SEARCH]], FormattedSearch
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r7
<
r6
<
r5
<
r4
<
r3
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r4 - 2010-04-28
-
TWikiContributor
Home
Site map
Main web
ATLAS_2010_S8894728 web
Sandbox web
TWiki web
TWiki Web
User registration
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
InterWikis
ManagingUsers
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Account
Log In
Register User
Edit
Attach
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback
Note:
Please contribute updates to this topic on TWiki.org at
TWiki:TWiki.VarMETA
.