Preload/Function – Template

From Bohemia Interactive Community
Jump to navigation Jump to search
(Syntax of {{Function}} for preloading during function page creation)
 
m (Fix preload)
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{Function|=
<includeonly>{{RV|type=function
____________________________________________________________________________________________


| GAME |= Game
|game1= arma3
|version1= 2.12


|GAMEVERSION|= Game Version (number surrounded by NO SPACES)
|arg= local or global
|eff= local or global


|arg= MPARGUMENTS |= Multiplayer Arguments
|serverExec= server or empty


|eff= MPEFFECTS |= Multiplayer Effects
|gr1= Function Group
____________________________________________________________________________________________


| DESCRIPTION |= Description
|serverExec= spawn or nothing (default call)
____________________________________________________________________________________________


| SYNTAX |= Syntax
|descr= DESCRIPTION


|p1= PARAMETER1 |= Parameter 1
|mp= MPBEHAVIOUR


|p2= PARAMETER2 |= Parameter 2
|s1= BIS_fnc_SYNTAX


|p3= PARAMETER3 |= Parameter 3
|p1= PARAMETER1


|p4= PARAMETER4 |= Parameter 4
|p2= PARAMETER2


|p5= PARAMETER5 |= Parameter 5
|p3= PARAMETER3


|p6= PARAMETER6 |= Parameter 6
|p4= PARAMETER4


|p7= PARAMETER7 |= Parameter 7
|p5= PARAMETER5


|p8= PARAMETER8 |= Parameter 8
|r1= RETURNVALUE


|p9= PARAMETER9 |= Parameter 9


|p10= PARAMETER10 |= Parameter 10


|p11= PARAMETER11 |= Parameter 11
|s2= ALT_SYNTAX


|p12= PARAMETER12 |= Parameter 12
|p21= ALT_PARAMETER1


| RETURNVALUE |= Return Value
|p22= ALT_PARAMETER2


|p23= ALT_PARAMETER3


<!-- START alternative syntax (optional) -->
|p24= ALT_PARAMETER4


|s2= ALT_SYNTAX |= Alternative Syntax
|p25= ALT_PARAMETER5


|p21= ALT_PARAMETER1 |= Alternative Parameter 1
|r2= ALT_RETURNVALUE


|p22= ALT_PARAMETER2 |= Alternative Parameter 2


|p23= ALT_PARAMETER3 |= Alternative Parameter 3


|p24= ALT_PARAMETER4 |= Alternative Parameter 4
|x1= <sqf>EXAMPLE1</sqf>


|p25= ALT_PARAMETER5 |= Alternative Parameter 5
|x2= <sqf>EXAMPLE2</sqf>


|p26= ALT_PARAMETER6 |= Alternative Parameter 6
|x3= <sqf>EXAMPLE3</sqf>


|p27= ALT_PARAMETER7 |= Alternative Parameter 7
|x4= <sqf>EXAMPLE4</sqf>


|p28= ALT_PARAMETER8 |= Alternative Parameter 8
|x5= <sqf>EXAMPLE5</sqf>


|p29= ALT_PARAMETER9 |= Alternative Parameter 9
|seealso= SEEALSO
}}</includeonly><noinclude>
== Usage ==
Used by the wiki preload system for functions.


|p30= ALT_PARAMETER10 |= Alternative Parameter 10
== See Also ==
* {{Template|RV}}


|p31= ALT_PARAMETER11 |= Alternative Parameter 11
[[Category:Templates|{{uc:{{PAGENAME}}}}]]</noinclude>
 
|p32= ALT_PARAMETER12 |= Alternative Parameter 12
 
|r2= ALT_RETURNVALUE |= Alternative Return Value
 
<!-- END alternative syntax (optional) -->
 
 
|exec= EXECUTION |= Execution By (defaults to [[call]] if omitted)
 
|mp= MPBEHAVIOUR |= Multiplayer Behaviour
____________________________________________________________________________________________
 
|x1= EXAMPLE1 |= Example 1
____________________________________________________________________________________________
 
|x2= EXAMPLE2 |= Example 2
____________________________________________________________________________________________
 
|x3= EXAMPLE3 |= Example 3
____________________________________________________________________________________________
 
|x4= EXAMPLE4 |= Example 4
____________________________________________________________________________________________
 
|x5= EXAMPLE5 |= Example 5
____________________________________________________________________________________________
 
|x6= EXAMPLE6 |= Example 6
____________________________________________________________________________________________
 
| SEEALSO |= See Also
 
}}
 
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- For example:
<dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd>
<dt class="note">'''[[User:User Name|User Name]]'''</dt>
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
<!-- END Note Section -->
</dl>
 
<h3 style="display:none">Bottom Section</h3>
<!-- Appropriate categories go here -->
[[Category:Arma 3: Functions|{{uc:{{PAGENAME}}}}]]
 
</includeonly>

Latest revision as of 13:14, 1 July 2022

Usage

Used by the wiki preload system for functions.

See Also