Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
Deleted: | ||||||||
< < |
| |||||||
Changed: | ||||||||
< < | ||||||||
> > | ||||||||
TWiki Meta DataAdditional topic data, program-generated or from TWikiForms, is stored inMETA variable name/value pairs | ||||||||
Line: 25 to 24 | ||||||||
Example of Format | ||||||||
Changed: | ||||||||
< < | %META:TOPICINFO{version="1.6" date="976762663" author="PeterThoeny" format="1.0"}% | |||||||
> > | %META:TOPICINFO{version="1.6" date="976762663" author="LastEditorWikiName" format="1.0"}% | |||||||
text of the topic %META:TOPICMOVED{from="Codev.OldName" to="Codev.NewName" | ||||||||
Changed: | ||||||||
< < | by="JohnTalintyre" date="976762680"}% | |||||||
> > | by="TopicMoverWikiName" date="976762680"}% | |||||||
%META:TOPICPARENT{name="NavigationByTopicContext"}% %META:FILEATTACHMENT{name="Sample.txt" version="1.3" ... }% %META:FILEATTACHMENT{name="Smile.gif" version="1.1" ... }% | ||||||||
Line: 124 to 123 | ||||||||
Viewing Meta Data in Page Source | ||||||||
Changed: | ||||||||
< < | When viewing a topic the Raw Text link can be clicked to show the text of a topic (i.e., as seen when editing). This is done by adding raw=on to URL. raw=debug shows the meta data as well as the topic data, ex: debug view for this topic | |||||||
> > | When viewing a topic the Raw Text link can be clicked to show the text of a topic (i.e., as seen when editing). This is done by adding raw=on to URL. raw=debug shows the meta data as well as the topic data, ex: debug view for this topic | |||||||
Rendering Meta DataMeta Data is rendered with the %META% variable. This is mostly used in theview , preview and edit scripts. | ||||||||
Changed: | ||||||||
< < | Note: Rendering meta data is currently not supported in topic text. As a workaround, use FormattedSearch on the current topic only to render form fields. | |||||||
> > | You can render form fields in topic text by using the FORMFIELD variable. Example:%FORMFIELD{"TopicClassification"}% For details, see TWikiVariables#VarFORMFIELD. | |||||||
Current support covers:
| ||||||||
Changed: | ||||||||
< < | | %META{"attachments"}% | Show attachments, except for hidden ones. Options: | |||||||
> > | | %META{"attachments"}% | Show attachments, except for hidden ones. Options: | |||||||
all="on" : Show all attachments, including hidden ones. |
%META{"parent"}% | Show topic parent. Options: | ||||||||
Line: 152 to 153 | ||||||||
At present, there is no Meta Data support for Plugins. However, the format is readily extendable and the Meta.pm code that supports the format needs only minor alteration. | ||||||||
Changed: | ||||||||
< < | -- TWiki:Main.JohnTalintyre![]() -- TWiki:Main.MikeMannix ![]() -- TWiki:Main.PeterThoeny ![]() | |||||||
> > | Related Topics: DeveloperDocumentationCategory, UserDocumentationCategory | |||||||