Template:MacroFunction: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==Function {{{name}}}==
==Function {{{name}}}==
{{#if: {{{version|}}} | Introduced in version {{{version|}}}. }}
{{#ifeq: {{{trusted|}}} | true | {{TrustedFunction}} | }}
{{#if: {{{version|}}} | * ''''Introduced in version {{{version|}}}.'''' }}
{{#if: {{{compatibility|}}} | * ''''Last checked for compatibility with version {{{compatibility|}}}.'''' }}


{{{description|}}}
{{{description|}}}
Line 7: Line 9:
{{{usage}}}
{{{usage}}}


{{#if: {{{example|}}} |
===Example===
{{{example|}}} }}
{{#if: {{{examples|}}} |
{{#if: {{{examples|}}} |
===Examples===
===Examples===
{{{examples|}}} }}
{{{examples|}}} }}


{{#if: {{{versionChanges|}}} |
{{#if: {{{differences|}}} |
===Version Changes===
===Version Changes===
{{{versionChanges|}}} }}
{{{changes|}}} }}
 
<includeonly>[[Category:Macro Function]]</includeonly>
<includeonly>[[Category:Macro Function]]</includeonly>
<noinclude>
<noinclude>

Revision as of 04:32, 6 March 2009

Function {{{name}}}

Usage

{{{usage}}}




Template Usage

Example

{{MacroFunction
|name=NameOfMacro
|version=X.Y
|description=
NameOfMacro is an example of a macro function.  It doesn't actually exist as a function in MapTool.

|usage=
<source lang="mtmacro" line>
[h: NameOfMacro()]
</source>

|examples=
This example doesn't really do anything.
<source lang="mtmacro" line>
[h: NameOfMacro()]
</source>

|versionChanges=
In version X.N this function also didn't exist.
}}