Template:MacroFunction: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
<includeonly>[[Category:Macro Function]]</includeonly> | <includeonly>[[Category:Macro Function]]</includeonly> | ||
<noinclude> | |||
==Template Usage== | |||
===Example=== | |||
<pre>{{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. | |||
}}</pre> | |||
===Results=== | |||
{{MacroFunction | |||
|name=NameOfMacro | |||
|version=X.Y (optional) | |||
|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. | |||
}} | |||
</noinclude> |
Revision as of 03:06, 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. }}
Results
Function NameOfMacro
Introduced in version X.Y (optional).
NameOfMacro is an example of a macro function. It doesn't actually exist as a function in MapTool.
Usage
[h: NameOfMacro()]
Examples
This example doesn't really do anything.
[h: NameOfMacro()]
Version Changes
In version X.N this function also didn't exist.