Content

Content macros help creating pages that are rendered using content scattered elsewhere.

Macro

Description

{@render:context[:stopper]}

Renders context content. If stopper is set to true, stops when finding a line starting with <end/>.

{@frame:url:width:height}

Creates a frame with url content. If url starts with '/' application context is automatically inserted. Width and height control frame dimensions.

{@include:path_to_file}

Include file content.

{@marker:template_context:
template_name[:values]}

Creates an Elephant marker within context with name. Elephant markers are initialized with correct locale and constructor as variable. The values map uses the form variable=value separated by ;.

{@object:object:attribute}

Renders object's attribute as string.

{@entity:path:format}

Renders entity using format, as in String.format(), with entity name and description as parameters.

{@attribute:attribute}

Renders attribute as string.

{@feed:url}

Renders the feed at url.

Printer version
English06/08/11 18:00Lluís Turró Cutiller
English08/20/13 10:33Lluís Turró Cutiller
English06/03/14 10:17Lluís Turró Cutiller
English06/17/15 09:56Lluís Turró Cutiller
English01/08/18 10:38Lluís Turró Cutiller
English01/09/18 18:59Lluís Turró Cutiller