Difference between revisions of "Template:Dcs funcs"

From DCS World Wiki - Hoggitworld.com
(adds includeonly tags to the scripting and functions categories so that the template is not included on those pages.)
 
(One intermediate revision 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}}}''{{#if:{{{reqType3}}} |, '''{{{reqType3}}}''' ''{{{reqName3}}}''{{#if:{{{reqType4}}} |, '''{{{reqType4}}}''' ''{{{reqName4}}}''{{#if:{{{reqType5}}} |, '''{{{reqType5}}}''' ''{{{reqName5}}}''{{#if:{{{reqType6}}}|, '''{{{reqType6}}}''' ''{{{reqName6}}}''}} }} }} }} }} }}</span> <span style="color:green">{{#if:{{{optType1}}}|, '''{{{optType1}}}''' ''{{{optName1}}}''{{#if:{{{optType2}}} |, '''{{{optType2}}}''' ''{{{optName2}}}''{{#if:{{{optType3}}} |, '''{{{optType3}}}''' ''{{{optName3}}}''{{#if:{{{optType4}}} |, '''{{{optType4}}}''' ''{{{optName4}}}''  }} }} }}}}</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}}}'' {{#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}}}''}} }} }} }} }} }} }} }} }} }}</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"

Latest revision as of 01:57, 31 March 2021

Scripting Root

Envrioment: Mission Scripting
Function: {{{fName}}} Added with: {{{vNum}}}
Member Of: {{{par1}}}, {{{par2}}}, {{{par3}}}, {{{par4}}}
Syntax: {{{rtnType}}} {{{par1}}}.{{{fName}}}({{{reqType1}}} {{{reqName1}}} , {{{reqType2}}} {{{reqName2}}} , {{{reqType3}}} {{{reqName3}}} , {{{reqType4}}} {{{reqName4}}} , {{{reqType5}}} {{{reqName5}}} , {{{reqType6}}} {{{reqName6}}} , {{{reqType7}}} {{{reqName7}}} , {{{reqType8}}} {{{reqName8}}} , {{{reqType9}}} {{{reqName9}}} , {{{reqType10}}} {{{reqName10}}} , {{{optType1}}} {{{optName1}}}, {{{optType2}}} {{{optName2}}}, {{{optType3}}} {{{optName3}}}, {{{optType4}}} {{{optName4}}})
Description: {{{desc}}}


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