Difference between revisions of "Template:Dcs funcs multiclass"

From DCS World Wiki - Hoggitworld.com
 
(2 intermediate revisions by the same user not shown)
Line 23: Line 23:
 
|-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> '''{{{par1}}}.{{{fName}}}('''<span style="color:blue">'''{{#if:{{{reqType1}}}|{{{reqType1}}}''' ''{{{reqName1}}}'' {{#if:{{{reqType2}}} |, '''{{{reqType2}}}''' ''{{{reqName2}}}''  }} }}</span> <span style="color:green">{{#if:{{{optType1}}}|, '''{{{optType1}}}''' ''{{{optName1}}}''{{#if:{{{optType2}}} |, '''{{{optType2}}}''' ''{{{optName2}}}'' }}}}</span>''')'''</font>
+
|colspan="3"|
+
<font size="3"><span style="color:orange">{{{rtnType}}}</span> '''{{{par1}}}.{{{fName}}}('''<span style="color:blue">'''{{#if:{{{reqType1}}}|{{{reqType1}}}''' ''{{{reqName1}}}'' {{#if:{{{reqType2}}} |, '''{{{reqType2}}}''' ''{{{reqName2}}}''  }} }}</span> <span style="color:green">{{#if:{{{optType1}}}|, '''{{{optType1}}}''' ''{{{optName1}}}''{{#if:{{{optType2}}} |, '''{{{optType2}}}''' ''{{{optName2}}}'' }}}}</span>''')'''</font>  
 
   
 
   
 
{{#if:{{{par2}}}| <font size="3"><span style="color:orange">{{{rtnType}}}</span> '''{{{par2}}}.{{{fName}}}('''<span style="color:blue">'''{{#if:{{{reqType1}}}|{{{reqType1}}}''' ''{{{reqName1}}}'' {{#if:{{{reqType2}}} |, '''{{{reqType2}}}''' ''{{{reqName2}}}''}} }}</span> <span style="color:green">{{#if:{{{optType1}}}|, '''{{{optType1}}}''' ''{{{optName1}}}''{{#if:{{{optType2}}} |, '''{{{optType2}}}''' ''{{{optName2}}}'' }}}}</span>''')'''</font>  }}
 
{{#if:{{{par2}}}| <font size="3"><span style="color:orange">{{{rtnType}}}</span> '''{{{par2}}}.{{{fName}}}('''<span style="color:blue">'''{{#if:{{{reqType1}}}|{{{reqType1}}}''' ''{{{reqName1}}}'' {{#if:{{{reqType2}}} |, '''{{{reqType2}}}''' ''{{{reqName2}}}''}} }}</span> <span style="color:green">{{#if:{{{optType1}}}|, '''{{{optType1}}}''' ''{{{optName1}}}''{{#if:{{{optType2}}} |, '''{{{optType2}}}''' ''{{{optName2}}}'' }}}}</span>''')'''</font>  }}
 +
 +
{{#if:{{{par3}}}| <font size="3"><span style="color:orange">{{{rtnType}}}</span> '''{{{par3}}}.{{{fName}}}('''<span style="color:blue">'''{{#if:{{{reqType1}}}|{{{reqType1}}}''' ''{{{reqName1}}}'' {{#if:{{{reqType2}}} |, '''{{{reqType2}}}''' ''{{{reqName2}}}''}} }}</span> <span style="color:green">{{#if:{{{optType1}}}|, '''{{{optType1}}}''' ''{{{optName1}}}''{{#if:{{{optType2}}} |, '''{{{optType2}}}''' ''{{{optName2}}}'' }}}}</span>''')'''</font>  }}
 +
 +
{{#if:{{{par4}}}| <font size="3"><span style="color:orange">{{{rtnType}}}</span> '''{{{par4}}}.{{{fName}}}('''<span style="color:blue">'''{{#if:{{{reqType1}}}|{{{reqType1}}}''' ''{{{reqName1}}}'' {{#if:{{{reqType2}}} |, '''{{{reqType2}}}''' ''{{{reqName2}}}''}} }}</span> <span style="color:green">{{#if:{{{optType1}}}|, '''{{{optType1}}}''' ''{{{optName1}}}''{{#if:{{{optType2}}} |, '''{{{optType2}}}''' ''{{{optName2}}}'' }}}}</span>''')'''</font>  }}
 +
 +
{{#if:{{{par5}}}| <font size="3"><span style="color:orange">{{{rtnType}}}</span> '''{{{par5}}}.{{{fName}}}('''<span style="color:blue">'''{{#if:{{{reqType1}}}|{{{reqType1}}}''' ''{{{reqName1}}}'' {{#if:{{{reqType2}}} |, '''{{{reqType2}}}''' ''{{{reqName2}}}''}} }}</span> <span style="color:green">{{#if:{{{optType1}}}|, '''{{{optType1}}}''' ''{{{optName1}}}''{{#if:{{{optType2}}} |, '''{{{optType2}}}''' ''{{{optName2}}}'' }}}}</span>''')'''</font>  }}
 +
 +
{{#if:{{{par6}}}| <font size="3"><span style="color:orange">{{{rtnType}}}</span> '''{{{par6}}}.{{{fName}}}('''<span style="color:blue">'''{{#if:{{{reqType1}}}|{{{reqType1}}}''' ''{{{reqName1}}}'' {{#if:{{{reqType2}}} |, '''{{{reqType2}}}''' ''{{{reqName2}}}''}} }}</span> <span style="color:green">{{#if:{{{optType1}}}|, '''{{{optType1}}}''' ''{{{optName1}}}''{{#if:{{{optType2}}} |, '''{{{optType2}}}''' ''{{{optName2}}}'' }}}}</span>''')'''</font>  }}
  
 
|-style="vertical-align:top"
 
|-style="vertical-align:top"

Latest revision as of 06:25, 17 August 2023

Scripting Root

Envrioment: Mission Scripting
Function: {{{fName}}} Added with: {{{vNum}}}
Member Of: {{{par1}}}, {{{par2}}} , {{{par3}}} , {{{par4}}} , {{{par5}}} , {{{par6}}} , {{{par7}}}
Syntax:

{{{rtnType}}} {{{par1}}}.{{{fName}}}({{{reqType1}}} {{{reqName1}}} , {{{reqType2}}} {{{reqName2}}} , {{{optType1}}} {{{optName1}}}, {{{optType2}}} {{{optName2}}})

{{{rtnType}}} {{{par2}}}.{{{fName}}}({{{reqType1}}} {{{reqName1}}} , {{{reqType2}}} {{{reqName2}}} , {{{optType1}}} {{{optName1}}}, {{{optType2}}} {{{optName2}}})

{{{rtnType}}} {{{par3}}}.{{{fName}}}({{{reqType1}}} {{{reqName1}}} , {{{reqType2}}} {{{reqName2}}} , {{{optType1}}} {{{optName1}}}, {{{optType2}}} {{{optName2}}})

{{{rtnType}}} {{{par4}}}.{{{fName}}}({{{reqType1}}} {{{reqName1}}} , {{{reqType2}}} {{{reqName2}}} , {{{optType1}}} {{{optName1}}}, {{{optType2}}} {{{optName2}}})

{{{rtnType}}} {{{par5}}}.{{{fName}}}({{{reqType1}}} {{{reqName1}}} , {{{reqType2}}} {{{reqName2}}} , {{{optType1}}} {{{optName1}}}, {{{optType2}}} {{{optName2}}})

{{{rtnType}}} {{{par6}}}.{{{fName}}}({{{reqType1}}} {{{reqName1}}} , {{{reqType2}}} {{{reqName2}}} , {{{optType1}}} {{{optName1}}}, {{{optType2}}} {{{optName2}}})

Description: {{{desc}}}


Return Value: {{{rtnType}}}
Return Example: {{{rtnExample}}}
Examples: {{{examples}}}
Related Functions: {{{related}}}
Notes: {{{notes}}}