Wiki properties are created simply by typing a property name and a colon at the start of a line. The value is everything else on the line. Look, for example, at the top of this page. There's a property called Summary and it's got a value of WikiPageProperties are an easy way...
For properties with multiple values (e.g., Keyword), the convention is to use commas to separate the values. For example:
Keywords: Wiki, Properties
What are WikiPageProperties used for?
- TopicTips - hovering over a topic will show the Summary property for that topic so you can have a preview of what it's about
- IndexingWikiContent - the Summary property is automatically made available to search engines indexing the wiki
- AutomaticRedirect - allows a page visitor to be redirected somewhere else
- Using the ToDoProperty to leave ToDo items in the wiki content
- using a hidden property to include anchors for links within a topic
Rules for property names
Property names must start with an uppercase letter or an underscore. After that, they can contain upper and lowercase letters and underscores.
It is possible to not create a Property by escaping the value if desired
""Property:"" This is not a property
Property: This is not a property
Sometimes you want a page to have a property, but don't want to "clutter" the page with the property. To do this, prefix the property name with a colon (emoticons/regular_smile.gif. This will still set the value of the property for the topic, but the topic will not be displayed in the page.
Summary: this page is about DogFood
is a conventional use of a WikiPageProperty. However, using that form always causes the property to show up formatted in the topic page. To hide the property, add the colon prefix:
:Summary: this page is about DogFood
This will cause the property to not be displayed. Other than being hidden when the topic is displayed, the ':' has no other effect.
Multiline property values
You can create multi-line page properties like this:
PropertyName:[ This is a very long property definition. It is useful to be able to do this for multiple paragraph properties ]
The end of a multi-line property is marked by a single right-bracket following the opening left-bracket.
|_ TopicName||The name of the topic|
|_ TopicFullName||The full name of the topic (with version)|
|_ LastModifiedBy||The identity of the person who last modified the topic|
|_ CreationTime||The time when the topic was last created|
|_ ModificationTime||The time when the topic was last changed|
|_Body||The unformatted text content of the topic|
All of these properties are strings.
Processing Directive Properties
The property, either hidden or visible, will control the display of emoticons local to a single topic where it is included. This will not override the the wiki wide setting of DisableWikiEmoticons = true
This property allows the default license to be overriden and an alternate valid license chosed for the topic containing the property.
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.