Template:FunctionExample: Difference between revisions

From RPTools Wiki
Jump to navigation Jump to search
(New page: <noinclude>This is a subtemplate for use with Template:MacroFunction</noinclude> {{#if: {{{name|}}} | ===={{{name}}}==== }} {{#if: {{{description|}}} | {{{description}}} }} <source lan...)
 
No edit summary
 
Line 5: Line 5:
{{#if: {{{description|}}} |
{{#if: {{{description|}}} |
{{{description}}} }}
{{{description}}} }}
<source lang="mtmacro" line>
{{MTbegin}}
{{{syntax}}}
{{{syntax}}}
</source>
{{MTend}}
{{#if: {{{return|}}} |
{{#if: {{{return|}}} |
'''Returns:'''
'''Returns:'''
<source lang="text" line>
{{MTbegin}}
{{{return}}}
{{{return}}}
</source> }}
{{MTend}} }}

Latest revision as of 05:40, 6 March 2009

This is a subtemplate for use with Template:MacroFunction


<source lang="mtmacro" line> {{{syntax}}} </source>