Jump to content

Template:CMMfunc: Difference between revisions

From CMM Wiki
No edit summary
No edit summary
 
(27 intermediate revisions by one other user not shown)
Line 5: Line 5:
|-style="border-style:hidden;vertical-align:top"
|-style="border-style:hidden;vertical-align:top"
|width="125" style="text-align:right"| <font size="4">Environment: </font>
|width="125" style="text-align:right"| <font size="4">Environment: </font>
|width="500" colspan="3"| '''<font size="4">Mission Scripting</font>'''
|width="600" colspan="2"| '''<font size="4">Mission Scripting</font>'''
|-
|-
|height="10" width="900" style="border-style:hidden" colspan="3" bgcolor="#5C7A4A"|
|height="10" width="900" style="border-style:hidden" colspan="3" bgcolor="#5C7A4A"|
Line 11: Line 11:
|-style="border-style:hidden;vertical-align:top"
|-style="border-style:hidden;vertical-align:top"
|width="125" style="text-align:right"| <font size="4">Function: </font>
|width="125" style="text-align:right"| <font size="4">Function: </font>
|width="500" colspan="2"| '''<font size="4">{{{fName}}}</font>'''
|width="600" colspan="2"| '''<font size="4">{{{fName}}}</font>'''
|-
|-
|height="10" width="900" style="border-style:hidden" colspan="3" bgcolor="#5C7A4A"|
|height="10" width="900" style="border-style:hidden" colspan="3" bgcolor="#5C7A4A"|
|-style="border-style:hidden"
|-style="border-style:hidden"
|-
|-style="vertical-align:top"
|style="text-align:right"| <font size="3"> Member Of: </font>
|{{{funcGroup1}}}{{#if:{{{funcGroup2}}}|, {{{funcGroup2}}}{{#if:{{{funcGroup3}}}|, {{{funcGroup3}}}{{#if:{{{funcGroup4}}}|, {{{funcGroup4}}} }} }} }}
|-


|-style="vertical-align:top"
|height="10" width="900" style="border-style:hidden" colspan="3" bgcolor="#5C7A4A"|
|style="text-align:right"|Member Of:
|-style="border-style:hidden"
|{{{par1}}}{{#if:{{{par2}}}|, {{{par2}}}{{#if:{{{par3}}}|, {{{par3}}}{{#if:{{{par4}}}|, {{{par4}}} }} }} }}
|-


|-style="vertical-align:top"
|-style="vertical-align:top"
|style="text-align:right" height="50"| Syntax:
|style="text-align:right" height="50"| Syntax:
|colspan="3"|<font size="3"><span style="color: orange"{{{rtnType}}}</span> '''{{{fName}}}('''<span style="color:blue">{{#if:{{{reqType1}}}|'''{{{reqType1}}}''' ''{{{reqName1}}}'' {{#if:{{{reqType2}}} | ,'''{{{reqType2}}}''' ''{{{reqName2}}}'' {{#if:{{{reqType3}}} | ,'''{{{reqType3}}}''' ''{{{reqName3}}}'' {{#if:{{{reqType4}}} | ,'''{{{reqType4}}}''' ''{{{reqName4}}}'' {{#if:{{{reqType5}}} | ,'''{{{reqType5}}}''' ''{{{reqName5}}}''}} }} }} }} }}</span> {{#if:{{{reqType1}}}|
|colspan="2"|<font size="3"><span style="color:orange">{{{rtnType}}}</span> '''{{{funcGroup1}}}.{{{fName}}}('''<span style="color:blue">'''{{#if:{{{paramType1}}}|{{{paramType1}}}''' ''{{{paramName1}}}'' {{#if:{{{paramType2}}} |, '''{{{paramType2}}}''' ''{{{paramName2}}}'' {{#if:{{{paramType3}}} |, '''{{{paramType3}}}''' ''{{{paramName3}}}'' {{#if:{{{paramType4}}} |, '''{{{paramType4}}}''' ''{{{paramName4}}}'' {{#if:{{{paramType5}}} |, '''{{{paramType5}}}''' ''{{{paramName5}}}'' {{#if:{{{paramType6}}} |, '''{{{paramType6}}}''' ''{{{paramName6}}}'' }} }} }} }} }} }} </span> <span style="color:green">{{#if:{{{optType1}}}|, '''{{{optType1}}}''' ''{{{optName1}}}''{{#if:{{{optType2}}} |, '''{{{optType2}}}''' ''{{{optName2}}}''{{#if:{{{optType3}}} |, '''{{{optType3}}}''' ''{{{optName3}}}''{{#if:{{{optType4}}} |, '''{{{optType4}}}''' ''{{{optName4}}}''  }} }} }}}}</span>''')'''</font>
|-
|-
|-style="vertical-align:top"
|-style="vertical-align:top"
|style="text-align:right" height="50"| Description:
|style="text-align:right" height="50"| <font size="3">Description: </font>
|width="500" colspan="3" |{{{desc}}}
|width="600" colspan="2" |{{{description}}}
 


|-
|-
Line 34: Line 39:
|-style="vertical-align:top"
|-style="vertical-align:top"
|style="text-align:right"|Return Value:
|style="text-align:right"|Return Value:
|colspan="3" |{{{rtnType}}}
|colspan="2" |{{{rtnType}}}


|-style="vertical-align:top"
|-style="vertical-align:top"
|style="text-align:right"|Return Example:
|style="text-align:right"|Return Example:
|colspan="3" |{{{rtnExample}}}
|colspan="2" |{{{rtnExample}}}
|-
|-
|height="10" colspan="3" bgcolor="#5C7A4A"|
|height="10" colspan="3" bgcolor="#5C7A4A"|
Line 45: Line 50:
|style="text-align:right; vertical-align:top"|Examples:
|style="text-align:right; vertical-align:top"|Examples:
|colspan="3"|{{{examples}}}
|colspan="3"|{{{examples}}}
|-
|style="text-align:right; vertical-align:top"|Example Description:
|colspan="3"|{{{exampleDescription}}}
|-
|height="10" width="900" style="border-style:hidden" colspan="3" bgcolor="#5C7A4A"|
|-style="border-style:hidden"
|-
|-
|style="text-align:right; vertical-align:top"|Related Functions:
|style="text-align:right; vertical-align:top"|Related Functions:
|colspan="3"|{{{related}}}
|colspan="2"|{{{related}}}
|-
|-
|-
|-
|style="text-align:right"|Notes:
|style="text-align:right"|Notes:
|colspan="3"|{{{notes}}}
|colspan="2"|{{{notes}}}
|}
|}




<includeonly>[[Category:LUA|{{{fName}}}]]</includeonly>
<includeonly>[[Category:CMM|{{{fName}}}]]</includeonly>
<includeonly>[[Category:CMM|{{{fName}}}]]</includeonly>


<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>

Latest revision as of 09:38, 11 November 2025

CMM

Environment: Mission Scripting
Function: {{{fName}}}
Member Of: {{{funcGroup1}}}, {{{funcGroup2}}}, {{{funcGroup3}}}, {{{funcGroup4}}}
Syntax: {{{rtnType}}} {{{funcGroup1}}}.{{{fName}}}({{{paramType1}}} {{{paramName1}}} , {{{paramType2}}} {{{paramName2}}} , {{{paramType3}}} {{{paramName3}}} , {{{paramType4}}} {{{paramName4}}} , {{{paramType5}}} {{{paramName5}}} , {{{paramType6}}} {{{paramName6}}} , {{{optType1}}} {{{optName1}}}, {{{optType2}}} {{{optName2}}}, {{{optType3}}} {{{optName3}}}, {{{optType4}}} {{{optName4}}})
Description: {{{description}}}
Return Value: {{{rtnType}}}
Return Example: {{{rtnExample}}}
Examples: {{{examples}}}
Example Description: {{{exampleDescription}}}
Related Functions: {{{related}}}
Notes: {{{notes}}}