Difference between revisions of "Template:Function"
Jump to navigation
Jump to search
no edit summary
imported>DragoonWraith (I'm too tired to do this right now; reverting.) |
imported>DragoonWraith |
||
Line 107: | Line 107: | ||
<!-- syntax starts here: --> | <!-- syntax starts here: --> | ||
'''Syntax:''' | '''Syntax:''' | ||
<!-- | |||
Main: | |||
-->{{ | -->{{FunctionSyntax | name = {{{name|{{PAGENAME}}}}} | returnType = {{{returnType|void}}} | returnVal = {{{returnVal|}}} | referenceType = {{{referenceType|}}} | referenceOpt = {{{referenceOpt|}}} | arguments = {{{arguments|}}} }}<!-- | ||
Alias: | |||
-->{{ #if: {{{ | -->{{ #if: {{{alias|}}} | <br/>{{FunctionSyntax | name = {{{alias}}} | returnType = {{{returnType|void}}} | returnVal = {{{returnVal|}}} | referenceType = {{{referenceType|}}} | referenceOpt = {{{referenceOpt|}}} | arguments = {{{arguments|}}} }} | <!--no alias--> }}<!-- | ||
Alternate: | |||
-->{{{name|{{ | -->{{ #if: {{{alt|}}} | <br/><br/>{{FunctionSyntax | name = {{{alt}}} | returnType = {{{returnType|void}}} | returnVal = {{{returnVal|}}} | referenceType = {{{referenceType|}}} | referenceOpt = {{{referenceOpt|}}} | arguments = {{{altArgs|}}} }}<!-- | ||
Alternate Alias: | |||
-->{{ #if: {{{ | -->{{ #if: {{{altAlias|}}} | <br/>{{FunctionSyntax | name = {{{altAlias}}} | returnType = {{{returnType|void}}} | returnVal = {{{returnVal|}}} | referenceType = {{{referenceType|}}} | referenceOpt = {{{referenceOpt|}}} | arguments = {{{alt2Args|}}} }} | <!--no alt alias--> }} | <!--no alt--> }}<!-- | ||
Second Alternate: | |||
-->{{ #if: {{{ | -->{{ #if: {{{alt2|}}} | <br/><br/>{{FunctionSyntax | name = {{{alt2}}} | returnType = {{{returnType|void}}} | returnVal = {{{returnVal|}}} | referenceType = {{{referenceType|}}} | referenceOpt = {{{referenceOpt|}}} | arguments = {{{alt2Args|}}} }}<!-- | ||
Second Alternate Alias: | |||
-->{{ #if: {{{alt2Alias|}}} | <br/>{{FunctionSyntax | name = {{{altAlias}}} | returnType = {{{returnType|void}}} | returnVal = {{{returnVal|}}} | referenceType = {{{referenceType|}}} | referenceOpt = {{{referenceOpt|}}} | arguments = {{{alt2Args|}}} }} | <!--no alt alias--> }} | <!--no alt--> }}<!-- | |||
-->{{ #if: {{{ | |||
arguments | |||
alias | |||
--> | |||
short summary of the function: --> | short summary of the function: --> |