You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Composition Plugin

This plugin contains macros which allow finer control over the layout (or composition) of a page. Allows control over when content is hidden or displayed and how it is organized.

This plugin includes the following macros:
  • composition-setup
  • deck and card - Creates tabbed content
  • show-card - Shows a card in a specified deck.
  • float - Allows content to float to the left or right of text.
  • toggle-cloak and cloak - Allows content to be hidden or displayed.

Performs setup operations for some of the composition macros, as well as allowing page-wide defaults to be set. The macro's properties can be put within the body of the macro or attached to the page in a text file.
The following Composition Macros require the composition-setup macro to function:

  • deck
  • card
  • cloak
  • toggle cloak

The Code

Properties set within the body of the macro :

composition-setup}
property.key = value
some.properties = some_values
some.properties = some_values
{composition-setup}

Properties attached in a text file:

{composition-setup:defaults=[Home^composition.properties]}
property.key = value
{composition-setup}

Properties"> Properties

Parameters"> Parameters

Properties"> Properties

The Code

 

Result"> Result

Parameters"> Parameters

The Code

 

Result"> Result

The Code

 

Result"> Result

Parameters"> Parameters

The Code

 

Result"> Result

Parameters"> Parameters

Unknown macro: {roundrect}
  • No labels