Project

General

Profile

Actions

MacroList

hello_world
Sample macro.
macro_list
Displays a list of all available macros, including description if available.
child_pages
Displays a list of child pages. With no argument, it displays the child pages of the current wiki page. Examples:

{{child_pages}} -- can be used from a wiki page only
{{child_pages(depth=2)}} -- display 2 levels nesting only
{{child_pages(Foo)}} -- lists all children of page Foo
{{child_pages(Foo, parent=1)}} -- same as above with a link to page Foo
include
Includes a wiki page. Examples:

{{include(Foo)}}
{{include(projectname:Foo)}} -- to include a page of a specific project wiki
collapse
Inserts of collapsed block of text. Examples:

{{collapse
This is a block of text that is collapsed by default.
It can be expanded by clicking a link.
}}

{{collapse(View details...)
With custom link text.
}}
thumbnail
Displays a clickable thumbnail of an attached image.
Default size is 200 pixels. Examples:

{{thumbnail(image.png)}}
{{thumbnail(image.png, size=300, title=Thumbnail)}} -- with custom title and size
issue
Displays an issue link including additional information. Examples:

{{issue(123)}}                              -- Issue #123: Enhance macro capabilities
{{issue(123, project=true)}}                -- Andromeda - Issue #123: Enhance macro capabilities
{{issue(123, tracker=false)}}               -- #123: Enhance macro capabilities
{{issue(123, subject=false, project=true)}} -- Andromeda - Issue #123
dmsf
Wiki link to DMSF file:

{{dmsf(file_id [, title [, revision_id]])}}

_file_id_ / _revision_id_ can be found in the link for file/revision download.
dmsff
Wiki link to DMSF folder:

{{dmsff([folder_id [, title]])}}

_folder_id_ can be found in the link for folder opening. Without arguments return link to main folder 'Documents'
dmsfd
Wiki link to DMSF document details:

{{dmsfd(document_id [, title])}}

_document_id_ can be found in the document's details.
dmsfdesc
Text referring to DMSF document description:

{{dmsfdesc(document_id)}}

_document_id_ can be found in the document's details.
dmsfversion
Text referring to DMSF document version:

{{dmsfversion(document_id)}}

_document_id_ can be found in the document's details.
dmsflastupdate
Text referring to DMSF document last update date:

{{dmsflastupdate(document_id)}}

_document_id_ can be found in the document's details.
dmsft
Text referring to DMSF text document content:

{{dmsft(file_id, lines_count)}}

_file_id_ can be found in the document's details. _lines_count_ indicates quantity of lines to show.
dmsf_image
Wiki DMSF image:

{{dmsf_image(file_id)}}
{{dmsf_image(file_id, size=50%)}} -- with size 50%
{{dmsf_image(file_id, size=300)}} -- with size 300
{{dmsf_image(file_id, height=300)}} -- with height (auto width)
{{dmsf_image(file_id, width=300)}} -- with width (auto height)
{{dmsf_image(file_id, size=640x480)}} -- with size 640x480
dmsf_video
Wiki DMSF video:

{{dmsf_video(file_id)}}
{{dmsf_video(file_id, size=50%)}} -- with size 50%
{{dmsf_video(file_id, size=300)}} -- with size 300x300
{{dmsf_video(file_id, height=300)}} -- with height (auto width)
{{dmsf_video(file_id, width=300)}} -- with width (auto height)
{{dmsf_video(file_id, size=640x480)}} -- with size 640x480
dmsftn
Wiki DMSF thumbnail:

{{dmsftn(file_id)}} -- with default height 200 (auto width)
{{dmsftn(file_id, size=300)}} -- with size 300x300
{{dmsftn(file_id, height=300)}} -- with height (auto width)
{{dmsftn(file_id, width=300)}} -- with width (auto height)
{{dmsftn(file_id, size=640x480)}} -- with size 640x480
dmsfw
Text referring to DMSF document's approval workflow status:

{{dmsfw(file_id)}}

_file_id_ can be found in the document's details.
video
Wiki video embedding
mj
MathJax Macro:

Usage:
{{mj( single line MathJax Syntax )}}

{{mj
Multi line
MathJax Syntax
}}
page_break
Page break here.
taggedpages
Displays pages that have specified tag.

  !{{taggedpages(tagname)}}
  !{{taggedpages(tagname, project)}}
lastupdated_at
Displays a date that updated the page.

 !{{lastupdated_at}}
vote
Vote macro.

  !{{vote(key)}}
  !{{vote(key, label)}}
show_vote
Display result of vote macro.

  !{{show_vote(key)}}
comment_form
Displays a comment form.
comments
Display comments of the page.
new_page
Create new page.

div_start_tag
Displays a <pre><div id="id_name" class="class_name"></pre>

 !{{div_start_tag(id_name)}}'
 !{{div_start_tag(id_name, class_name)}}
div_end_tag
Displays a <pre></div></pre>

  !{{div_end_tag}}
twitter
Creates link to twitter account page.

 !{{twitter(user_name)}}
recent
Displays a list of pages that were changed recently. '

 !{{recent}}'
 !{{recent(number_of_days)}}
new
Displays a string 'new'.

  !{{new(yyyy-mm-dd)}}
  !{{new(yyyy-mm-dd, expire)}}

Default of expire is 5.
wiki
Link to wiki page of other project.

  !{{wiki(project_name, wiki_page)}}
 !{{wiki(project_name, wiki_page, alias)}}
 !{{wiki(project_identifier, wiki_page)}}
 !{{wiki(project_identifier, wiki_page, alias)}}
project
Creates link to other project.

 {{project(project_name)}}
 {{project(project_identifire}}
 {{project(project_name, alias)}}
 {{project(project_identifire, alias}}
fn
Create a footnote.

 {{fn(word, description)}}
fnlist
Displays footnotes of the page.
lastupdated_by
Displays a user who updated the page.

 !{{lastupdated_by}}
iframe
Insert an iframe tag

  !{{iframe(url, width, height)}}

count
Count access to the pages.

  !{{count}}
show_count
Displays an access count of the page.

  !{{show_count}}
popularity
Displays list of the popular pages.

  !{{popularity}}
  !{{popularity(max)}}
  !{{popularity(max, term)}}
tags
Displays tags.

  !{{tags}}
tagcloud
Displays tagcloud.

  !{{tagcloud}}

Updated by Alexis Jeandet over 10 years ago · 1 revisions

Also available in: PDF HTML TXT