comment: |
Macros in (Extended) Creole are formated like this:
{{{
<>
}}}
or:
{{{
<>body text<>
}}}
The following macros are supported by this <>.
== Property references ==
* {{{<>}}}: replaced by the contents of the
specified property of the specified element. Some values
for element and prop have special meaning:
** {{{current}}}: refers to the current top-level element
whose prop value is being rendered,
regardless of what references have been followed, unless explicitly
overridden.
** {{{me}}}: refers to the element where this prop is defined.
** {{{parent}}}: refers to the parent of the element where this
prop is defined.
** {{{this}}}: refers to the containing prop.
* {{{<>}}}: replaced by the substitution of the element.
For [[Owner]]s, this is its name.
* {{{<>...<>}}}: replaced by the element's substitution,
passing the content. For [[Owner]]s, this evaluates the content overriding
current element to be the element specified.
* {{{{{foo/bar}}}}}: use blob prop bar of element foo as an image.
== Built-in macros ==
<>
* ##<>##: <>
<>
== Pronouns and Name Parsing ==
The following pronouns can be used when the current element is a character:
<>
* ##<>##
(<><><>,
<><><>,
<><><>,
<><><>)
<>
(When unique, any of the pronoun variations may be used as macros.
Capitalized versions are also available.)
Similarly, the following macros extract various parts of character names:
<>
<>
* ##<>##: <>
<>
<>
== User macros ==
You can also define custom macros in <> itself.
You create a macro {{{<>}}} or {{{<>text<>}}} by
defining an element named {{{Foo}}} with a ##substitution## property.
Traditionally,
such elements are children of [[Macros]]. When defining these
macros, you can use pseudomacros like {{{<>}}} and {{{<>}}}
to refer to arguments, {{{<>}}} to refer to the macro
content, if any, and {{{<>}}} to refer to the whole argument
string.
<>
* [[m]]: <>
<>