Basic Wiki Tags
- Tag: nameEntry name
{
{name}} - Tag: entryidEntry ID
{
{entryid}} - Tag: descriptionEntry description. If wikify=true then treat the description as wiki text.
{
{description wikify="true|false"}} -
Tag: fromdate
{
{fromdate format="date time format"}}
Tag: todate{
{todate format="date time format"}}
Tag: daterange{
{daterange format="date time format" separator=" -- "}}
Tag: createdate{
{createdate format="date time format"}}
Tag: changedate{
{changedate format="date time format"}}
Show the different dates available for an entry. If specified, format the date with the given date time format. This follows the Java date format conventions. - Tag: informationThe information tabs.
{
{information}} - Tag: propertiesShow the properties listing. The attribute metadata.types is an optional comma separated list of the metata (or property) types that should be shown or not shown. For example, if you wanted to show all of the properties except for the Project PI property do:
{
{properties metadata.types="types to show or not show"}} {
Then if you wanted to just show the Project PI property then do:{properties metadata.types="!project_pi" message="" }} {
{properties metadata.types="project_pi" message="" }} - Tag: htmlShows the default html view of the entry. Note: this requires an entry="..." to specify a different entry.
{
{html}} - Tag: linkMakes a link to the entry. Set button=true to buttonize the link. Link to the file with linkresource=true. Link to some other view with output=
{
{link linkresource=true|false button=true|false output=someoutput}} - Tag: mapDisplay a map. If the entry is a folder then display the children entries of the folder. If you do not specify a width then the map will be sized to fit its page. The listwidth is the width devoted to the entry list. This may be a fixed pixel value or a percentage:
{
{map width="width of map" height="height of map" listentries="true|false" listwidth="width or percent"}} {
If you have a Folder (or other group) and want to just show the Folder and nots it children then do:{map listentries="true" listwidth="25%"}} {
{map entries="this"}} - Tag: commentsShow the comments.
{
{comments}} - Tag: breadcrumbsShow the breadcrumb path.
{
{breadcrumbs}} Tag: layout
This shows the "Layout:" toolbar bar for an entry.{
{layout}} - Tag: toolbarShow the entry toolbar.
{
{toolbar}} - Tag: image
{
{image src="image source" alt="alt text" width="image width" link="true|false" left="absolute position" top="absolute position" linkresource="true|false" alt="image alt label"}}
Include an image. If src is not given then this shows the image (if there is one) from the entry. If src is specified it can take on the form:src="entry name"
to show an entry. This is equivalent to using entry="...". You can also specify the name of a file attachment to an entry with:entry="entryid" src="::attachment name"
Or any attachment with:entry="entryid" src="::*"
If link is true, the image displayed will be linked to the entry page, if linkresource is true, it will be linked to the full sized image (the entry resource). height and width can be used to scale the image, the alt attribute will be used in place of the entry id as a label on the image for accessibility. - Tag: menuShow the menu actions. If menus is not specified show all of the menus. If menus is specified only show those menus listed. Show all menus in a toggle block:
{
{menu popup="true|false" title="title to use" menus="file,edit,feeds,view,other"}} {
You can specify which menus to show with a comma separated list of menu names. Only show the file and view menu:{menu}} {
Show the menu actions in a popup:{menu menus="file,view"}} {
{menu popup="true" title="Click here"}}
Collections
{The entries attribute is a comma separated list of entry identifiers. They can be specific entry ids or they can be one of a set of relative descriptors as described in the entry selection section. You can also:{tag entry="some other entry" entries="entryid1,entryid2,entryid3.." exclude="entryid1,entryid2,entryid3.." first="entryid1,entryid2,entryid3.." last="entryid1,entryid2,entryid3.." sort="name|date" sortorder="up|down" max="number of entries to use" }}
- If first is defined then these entry ids are put at the front of the list.
- If last is defined then these entry ids are put at the end of the list.
- Exclude any entries in the exclude comma separated list of entry ids.
- Sort entries by name or date with sort
- If images is set to true then only entries that are image files are included
descriptor:baseEntryIdSo, for example, if you had 2 different Folder entries - folder1 and folder2 and you wanted to list all of the children of each folder you could do:
{You can combine different relative descriptors, e.g.:{tree entries="children:folder1_id,children:folder2_id"}}
{{tree entries="children:folder1_id,grandchildren:folder2_id"}}
Collection Tags
- Tag: treeThe tree tag is used to display the children entries of a folder. It can take the form:
{
{tree}} {
The title attribute is used in place of "Children". If showtoggle="false" then the show/hide toggle link is not shown.{tree title="Links" showtoggle="false" open="true" }} - Tag: gridShow the children in a grid. A common display is showing the children entries in a grid where each entry shows its thumbnail image attachment, e.g., RAMADDA Examples To do this use:
{
{grid}} {
The attributes:{grid tag="card" sort="name" inner-height="200" width="200" showIcon="false" showLink="false" showSnippetHover="true" } } - tag: what to display in each grid box
- sort: sort by name
- inner-height, width: grid box dimensions
- showIcon: should the entry icon be shown
- showLink: should a link to the entry be shown
- showSnippet: should the entry snippet be shown
- Tag: recentShow the most recent N days in a list organized by day.
{
{recent days="number of days to show"}} - Tag: imageplayerShow images in an image player, e.g.
{
{imageplayer width="image width" loopdelay="delay in milliseconds" loopstart="true|false" useAttachment="true|false"}} {
If useAttachment is true then, if the entry's file is not an image but it has an attachment that is an image then use the attachment image.{imageplayer loopdelay="500" loopstart="true"}} - Tag: galleryShow a 3 column gallery:
{
{gallery width="image width" columns="number of columns" showdescription="true"}} {
Show a vertical listing of the children entry images:{gallery columns="3"}} {
Set the image width and only show up to 5 images:{gallery columns="1"}} {
{gallery width="300" max="5"}} - Tag: tabsShow the children as tabs:
{
{tabs}} {
Show only the 3 specified entries in tabs:{tabs}} {
Show only the children of type wikipage in tabs:{tabs entries="0af4d166-5723-4775-88fc-b83b72ab47a4, 83539d5c-e9d9-408e-b0af-35f480000ae6, 49684d25-6af1-4188-a0ae-4d5302d22f2a" }} {
Additional arguments:{tabs entries="type:wikipage"}} - tag="some tag name" - The wiki tag to use to show the children. e.g., tag="simple" tag="html"
- includeicon="true|false" - if true, include the appropriate icon in the tab
- showlink="true|false" - show a link to the entry (default: true)
- linklabel="label" - if showlink is true, use label in place of the entry name
- imagewidth="width" - width of images
- maximageheight="max height" - maximum height of images
- linkresource="true|false" - if true, link to the entry resource
- Tag: slideshowShow the children in a slideshow:
{
{slideshow}} {
{slideshow}} Uses the same arguments as tabs, plus:
- autoplay="true|false" - if true, start the slideshow (default: false)
- speed="secs" - number of seconds to pause on each entry in slideshow
- border="pixs" - border size in pixels
- bordercolor="color" - border color (name or hexadecimal value)
- width="width" - width of the display
- height="height" - height of the display
- Tag: linksLayout links to the entries.
{
{links separator="separator text to use" style="inline css style for the link" class="css class for the link" tagopen="html to prepend to the link - default is li" tagclose="close html" linkresource="true|false if true link to the entry's file or URL; If false link to the entry"}}
This produces a set of links to the entries. A bulleted list:<ul> {
A bulleted list with the links to the entry's file:{links}} </ul> <ul> {
If you wanted to make a vertical list do:{links linkresource="true"}} </ul> {
You can create a header with wiki text like:{links tagopen="<div>" tagclose="</div>"}} <center> {
{links separator=" | " tagopen=""}} </center> - Tag: searchThe "search" tag performs an entry type specific search and embed it into the wiki. This is the same as the top-level type specific search. You can use any of the "search." attributes defined above, e.g., search.text. The default is to not show the form.
{
{search type="entry type" search.showform="true|false" search.showheader="true|false"}} - Tag: applyThe apply tag allows you to apply some tag (e.g., links, map) to a set of entries in turn. You can then layout the results in a variety of ways (e.g., table, tabs); The apply tag is of the form:
{
{apply}} {
All of the arguments, including the entry argument are the same as described above but have the prefix "apply.". This way you can mix the arguments that control the apply function with the arguments that you are using for each entry. Say you have the following entries:{apply apply.entry="the entry to find the children of" apply.tag="some tag to apply to the entries" apply.layout="table, accordion or tabs" apply.columns="number of columns in table" apply.header="text to go before can contain macros ${name} ${url}" apply.footer="text to go after" apply.border="border width - defaults to 0" apply.bordercolor="border color" apply.includeicon="true|false" ... <arguments for the apply tag> }} parent entry1 sub-entry1 sub-entry2 entry2 sub-entry3 sub-entry4
If you used the apply tag:{
This applies the tag "links" to each main entry. It puts each result in a tab. This tag would make a 2 column table of maps with links to the entries show in the header.{apply apply.entry="parent" apply.layout="tabs" apply.tag="links" linkresource="true" }} {
{apply apply.layout="table" apply.columns="2" apply.tag="map" apply.border="1" apply.header="${url}" <any map arguments*gt; }}
Importing
Tag: import
{{import showTitle="false" output=" " }}
If you wanted to import the default content of an entry but don't show it's title do:
{So, if you wanted to show the calendar view of an entry you would do:{import entry=<some entry id> showTitle=false}}
{To find the correct output identifier just navigate to the page you want to include and look at the url for the output=... url argument and use that.{import output="calendar.calendar"}}
Snippet
Some description here. <snippet>This is the snippet</snippet> More description