Access Keys:
Skip to content (Access Key - 0)
All Documentation spaces

Documentation

This space

Macros

Macros provide the page editor with a rich set of page formatting and automation possibilities.

The full set of macros available to this wiki are in the notation guide in this space or as a standalone page.

Simple formatting

Simple formatting is things like bold or italic text, hyperlinks, bulleted and ordered lists, tables Etc. It's all in the notation guide.

When you are editing a page you have two options, to do it in the Rich text editor or the Wiki markup editor. You can freely switch between the two as you are editing a page, and see final result of either in the preview page. Probably the easiest way to learn simple wiki formatting markup is to do it in the WYSIWYG Rich text editor and then switch to the Wiki markup editor to see what the Rich text editor has done.

Complex objects like tables are often much easier to construct in the Rich text editor whereas it is often faster to construct simple objects like hyperlinks in the wiki markup editor.

Formatting macros

Macros are surrounded by curly braces

{macro code goes here}

Formatting macro codes are usually in pairs surrounding the text you want to format. An info box displays example wiki markup and formats it in a nice box:

{info:title=Be Careful}
This macro is useful for including helpful information in your wiki pages
{info} 

and looks like this in the rendered page

Be Careful
This macro is useful for including helpful information in your wiki pages

or you could make two columns in your page with this:

{section:border=true}
{column:width=30%}
Column one text goes here
{column}
{column:width=70%}
Column two text goes here
{column}
{section}

which looks like this:

Column one text goes here

Column two text goes here

Automation macros

Automation macros are also surrounded by curly braces

{toc:style=disc|indent=20px}

Provides a table of contents of the current page like this:


Added by Richard Meredith-Hardy Last edited by Richard Meredith-Hardy on 07 Apr, 2010 18:43. Quick links: http://wiki.fai.org/x/loAx or Macros
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
Adaptavist Theme Builder Powered by Atlassian Confluence