Template:FunctionInfo: Difference between revisions
Appearance
Ozdeadmeat (talk | contribs) No edit summary |
Ozdeadmeat (talk | contribs) No edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
{| class="wikitable" style="width:80%; border:none" | {| class="wikitable" style="width:80%; border:none" | ||
|+ style="caption-side:top; text-align:left; padding:0;" | [[CMM]] | |+ style="caption-side:top; text-align:left; padding:0;" | [[CMM]] | ||
|- | |- | ||
!width="15%" style="text-align:right; vertical-align:top" | <font size | ! width="15%" style="text-align:right; vertical-align:top" | <span style="font-size:1.1em;">Environment:</span> | ||
| colspan="2" style="text-align:left" | '''<span style="font-size:1.1em;">Mission Scripting</span>''' | |||
|- | |- | ||
|height="10" width="80%" style="border-style:hidden" colspan="3" bgcolor="#5C7A4A"| | | height="10" width="80%" style="border-style:hidden" colspan="3" bgcolor="#5C7A4A" | | ||
|- | |- | ||
|- style="border-style:hidden" | |||
|- | |- | ||
! width="15%" style="text-align:right; vertical-align:top" | <span style="font-size:1.1em;">Function:</span> | |||
| colspan="2" style="text-align:left" | '''<span style="font-size:1.2em;">{{{fName}}}</span>''' | |||
|- | |- | ||
| height="10" width="80%" style="border-style:hidden" colspan="3" bgcolor="#5C7A4A" | | |||
|- | |- | ||
|- style="border-style:hidden" | |||
|-style="border-style:hidden" | |||
|- | |- | ||
!style="text-align:right; vertical-align:top" |<font size | ! style="text-align:right; vertical-align:top" | <span style="font-size:1.1em;">Member Of:</span> | ||
| colspan="2" style="text-align:left" | {{{parentFile|}}} | |||
|- | |- | ||
|height="10" width="80%" style="border-style:hidden" colspan="3" bgcolor="#5C7A4A"| | | height="10" width="80%" style="border-style:hidden" colspan="3" bgcolor="#5C7A4A" | | ||
|- | |- | ||
|- style="border-style:hidden" | |||
|- | |- | ||
| | ! style="text-align:right; vertical-align:top" | <span style="font-size:1.1em;">Syntax:</span> | ||
| | | colspan="2" style="text-align:left" | | ||
<span style="font-size:1.05em;"> | |||
<span style="color:orange;">{{{envType|}}}</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}}}''}} | |||
{{#if:{{{reqType6|}}}|''', {{{reqType6}}}''' ''{{{reqName6}}}''}} | |||
{{#if:{{{reqType7|}}}|''', {{{reqType7}}}''' ''{{{reqName7}}}''}} | |||
{{#if:{{{reqType8|}}}|''', {{{reqType8}}}''' ''{{{reqName8}}}''}} | |||
{{#if:{{{reqType9|}}}|''', {{{reqType9}}}''' ''{{{reqName9}}}''}} | |||
{{#if:{{{reqType10|}}}|''', {{{reqType10}}}''' ''{{{reqName10}}}''}} | |||
{{#if:{{{reqType11|}}}|''', {{{reqType11}}}''' ''{{{reqName11}}}''}} | |||
</span> | |||
<span style="color:green;"> | |||
{{#if:{{{optType1|}}}|''', '''{{{optType1}}}''' ''{{{optName1}}}''}} | |||
{{#if:{{{optType2|}}}|''', '''{{{optType2}}}''' ''{{{optName2}}}''}} | |||
{{#if:{{{optType3|}}}|''', '''{{{optType3}}}''' ''{{{optName3}}}''}} | |||
{{#if:{{{optType4|}}}|''', '''{{{optType4}}}''' ''{{{optName4}}}''}} | |||
{{#if:{{{optType5|}}}|''', '''{{{optType5}}}''' ''{{{optName5}}}''}} | |||
{{#if:{{{optType6|}}}|''', '''{{{optType6}}}''' ''{{{optName6}}}''}} | |||
{{#if:{{{optType7|}}}|''', '''{{{optType7}}}''' ''{{{optName7}}}''}} | |||
{{#if:{{{optType8|}}}|''', '''{{{optType8}}}''' ''{{{optName8}}}''}} | |||
{{#if:{{{optType9|}}}|''', '''{{{optType9}}}''' ''{{{optName9}}}''}} | |||
{{#if:{{{optType10|}}}|''', '''{{{optType10}}}''' ''{{{optName10}}}''}} | |||
{{#if:{{{optType11|}}}|''', '''{{{optType11}}}''' ''{{{optName11}}}''}} | |||
</span> | |||
''')'' | |||
</span> | |||
|- | |- | ||
| height="10" width="80%" style="border-style:hidden" colspan="3" bgcolor="#5C7A4A" | | |||
|- | |- | ||
|- style="border-style:hidden" | |||
|- | |- | ||
! style="text-align:right; vertical-align:top" | <span style="font-size:1.1em;">Return Value:</span> | |||
| colspan="2" style="text-align:left" | {{{return|}}} | |||
|- | |- | ||
| height="10" width="80%" style="border-style:hidden" colspan="3" bgcolor="#5C7A4A" | | |||
|- | |- | ||
|- style="border-style:hidden" | |||
|-style="border-style:hidden" | |||
|- | |- | ||
! style="text-align:right; | ! style="text-align:right" | <span style="font-size:1.1em;">Parameters:</span> | ||
! | ! style="text-align:left" | <span style="font-size:1.1em;">Name</span> | ||
! style="text-align:left" | <span style="font-size:1.1em;">Description</span> | |||
<!-- Required params --> | |||
{{#if:{{{reqName1|}}}| | |||
|- | |- | ||
| || '''{{{reqName1}}}''' || {{{desc1|}}} | |||
}} | |||
{{#if:{{{reqName2|}}}| | |||
|- | |- | ||
| | | || '''{{{reqName2}}}''' || {{{desc2|}}} | ||
| | }} | ||
{{#if:{{{reqName3|}}}| | |||
|- | |- | ||
| || '''{{{reqName3}}}''' || {{{desc3|}}} | |||
}} | |||
{{#if:{{{reqName4|}}}| | |||
|- | |- | ||
! style="text-align:right; vertical-align:top" |<font size=" | | || '''{{{reqName4}}}''' || {{{desc4|}}} | ||
! colspan="2" style="text-align:left; | <font size="2"> {{{notes}}} </ | }} | ||
{{#if:{{{reqName5|}}}| | |||
|- | |||
| || '''{{{reqName5}}}''' || {{{desc5|}}} | |||
}} | |||
{{#if:{{{reqName6|}}}| | |||
|- | |||
| || '''{{{reqName6}}}''' || {{{desc6|}}} | |||
}} | |||
{{#if:{{{reqName7|}}}| | |||
|- | |||
| || '''{{{reqName7}}}''' || {{{desc7|}}} | |||
}} | |||
{{#if:{{{reqName8|}}}| | |||
|- | |||
| || '''{{{reqName8}}}''' || {{{desc8|}}} | |||
}} | |||
{{#if:{{{reqName9|}}}| | |||
|- | |||
| || '''{{{reqName9}}}''' || {{{desc9|}}} | |||
}} | |||
{{#if:{{{reqName10|}}}| | |||
|- | |||
| || '''{{{reqName10}}}''' || {{{desc10|}}} | |||
}} | |||
{{#if:{{{reqName11|}}}| | |||
|- | |||
| || '''{{{reqName11}}}''' || {{{desc11|}}} | |||
}} | |||
{{#if:{{{reqName12|}}}| | |||
|- | |||
| || '''{{{reqName12}}}''' || {{{desc12|}}} | |||
}} | |||
<!-- Optional params --> | |||
{{#if:{{{optName1|}}}| | |||
|- | |||
| || '''{{{optName1}}}''' || {{{optDesc1|}}} | |||
}} | |||
{{#if:{{{optName2|}}}| | |||
|- | |||
| || '''{{{optName2}}}''' || {{{optDesc2|}}} | |||
}} | |||
{{#if:{{{optName3|}}}| | |||
|- | |||
| || '''{{{optName3}}}''' || {{{optDesc3|}}} | |||
}} | |||
{{#if:{{{optName4|}}}| | |||
|- | |||
| || '''{{{optName4}}}''' || {{{optDesc4|}}} | |||
}} | |||
{{#if:{{{optName5|}}}| | |||
|- | |||
| || '''{{{optName5}}}''' || {{{optDesc5|}}} | |||
}} | |||
{{#if:{{{optName6|}}}| | |||
|- | |||
| || '''{{{optName6}}}''' || {{{optDesc6|}}} | |||
}} | |||
{{#if:{{{optName7|}}}| | |||
|- | |||
| || '''{{{optName7}}}''' || {{{optDesc7|}}} | |||
}} | |||
{{#if:{{{optName8|}}}| | |||
|- | |||
| || '''{{{optName8}}}''' || {{{optDesc8|}}} | |||
}} | |||
{{#if:{{{optName9|}}}| | |||
|- | |||
| || '''{{{optName9}}}''' || {{{optDesc9|}}} | |||
}} | |||
{{#if:{{{optName10|}}}| | |||
|- | |||
| || '''{{{optName10}}}''' || {{{optDesc10|}}} | |||
}} | |||
{{#if:{{{optName11|}}}| | |||
|- | |||
| || '''{{{optName11}}}''' || {{{optDesc11|}}} | |||
}} | |||
{{#if:{{{optName12|}}}| | |||
|- | |||
| || '''{{{optName12}}}''' || {{{optDesc12|}}} | |||
}} | |||
|- | |||
| height="10" width="80%" style="border-style:hidden" colspan="3" bgcolor="#5C7A4A" | | |||
|- | |||
|- style="border-style:hidden" | |||
|- | |||
! style="text-align:right; vertical-align:top" | <span style="font-size:1.1em;">Example:</span> | |||
| colspan="2" style="text-align:left" | <span style="font-size:0.95em;">{{{example|}}}</span> | |||
|- | |||
! style="text-align:right; vertical-align:top" | <span style="font-size:1.1em;">Example Description:</span> | |||
| colspan="2" style="text-align:left" | <span style="font-size:0.95em;">{{{exampleDesc|}}}</span> | |||
|- | |||
| height="10" width="80%" style="border-style:hidden" colspan="3" bgcolor="#5C7A4A" | | |||
|- | |||
|- style="border-style:hidden" | |||
|- | |||
! style="text-align:right; vertical-align:top" | <span style="font-size:1.1em;">Related Functions:</span> | |||
| colspan="2" style="text-align:left" | <span style="font-size:0.95em;">{{{related|}}}</span> | |||
|- | |||
! style="text-align:right; vertical-align:top" | <span style="font-size:1.1em;">Notes:</span> | |||
| colspan="2" style="text-align:left" | <span style="font-size:0.95em;">{{{notes|}}}</span> | |||
|} | |} | ||
<includeonly>[[Category:LUA|{{{fName}}}]]</includeonly> | <includeonly>[[Category:LUA|{{{fName|}}}]]</includeonly> | ||
<includeonly>[[Category:CMM|{{{fName}}}]]</includeonly> | <includeonly>[[Category:CMM|{{{fName|}}}]]</includeonly> | ||
Revision as of 08:56, 24 September 2025
| Environment: | Mission Scripting | |
|---|---|---|
| Function: | {{{fName}}} | |
| Member Of: | ||
| Syntax: |
. ( ')
| |
| Return Value: | ||
| Parameters: | Name | Description
- - - - - - - - - - - - - - - - - - - - - - - - |
| Example: | ||
| Example Description: | ||
| Related Functions: | ||
| Notes: | ||