Access Keys:
Skip to content (Access Key - 0)

Redirection Notice
This page should redirect to http://www.adaptavist.com/pages/viewpage.action?pageId=55574727.

Description/Features

Allows replacements to be made within a block of wiki markup

Allows replacements to be made within a block of wiki markup

Usage

        {replace-and-render}
          {replace-body}{div:align=%alignment%}this is some text{div}{replace-body}
          {replace-item:%alignment%}center{replace-item}
        {replace-and-render}

Examples

{replace-and-render}
 {replace-body}{%mymacro%}this is the replace body with a %replaceme%{%mymacro%}{replace-body}
 {replace-item:%replaceme%}replacement{replace-item}
 {replace-item:%mymacro%}center{replace-item}
{replace-and-render}
{velocity-render:parameter=value}
#set($varible="value")
variable = $variable
parameter = $parameter
#foreach($a in ['a','b','c'])
  $velocityCount : $a </br>
#end
...etc...
{velocity-render}
Toggle Sidebar

Get Support

Adaptavist provide commercial support to help resolve any problems you may have using our open source Confluence plugins [Find out more...]

Need Hosting?

Adaptavist can host your Confluence wiki and open source plugins [Find out more...].

Author

Pinned Pages

  • No pinned pages.

Popular Pages

Browse


Ask questions, get help and report bugs & issues on our Community Site


View old comments

Adaptavist Theme Builder Powered by Atlassian Confluence