Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

Excerpt
hiddentrue

eSome Some useful Confluence User Macros. 

When editing Confluence content, "macros" are bits of dynamic or specially formatted content, best entered by typing '{' and waiting for the popup: 

...

Most of the available macros are either built-in (e.g. Table of Contents) or provided by plugins, but Confluence also lets administrators create their own quick and dirty macros, called User Macros ("user" from the point of view of some Confluence developer, to whom non-developer = "user").|

User Macros are written in Velocity, a language designed for generating text from templates ("Hello $name", etc). The theory is that real programming should be done in Java, and the results exposed as $objects in Velocity, which is responsible solely for text rendering. This means Velocity has minimal "programming" features, and attempts to do real programming in Velocity is Frowned Upon and highly painful.

...