Lou Montana/Sandbox – User

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Page cleanup)
Tag: Replaced
(A template to rule them all?)
Line 1: Line 1:
[[Category: Sandbox]]
[[Category: Sandbox]]
<includeonly>{{#switch:{{uc:{{{type|}}}}}
| COMMAND
| FUNCTION =
__NOTOC__ __NOEDITSECTION__
{{DISPLAYTITLE:{{#ifeq: {{uc:{{FULLPAGENAME}}}} | TEMPLATE:RV | {{FULLPAGENAMEE}} | {{PAGENAMEE}} }} }}
<div class="_description {{#ifeq:{{lc:{{{type}}}}}|command|cmd|fnc}}">
<div class="top-icons"><!--
-->{{#if:{{{game1|{{{1|}}}}}} | {{GVI | {{{game1|{{{1|}}}}}} | {{{version1|}}} }}<!--
-->{{#ifeq: {{Name|{{{game1|{{{1|}}}}}}}} | {{Name|arma3dev}} | {{Color|red|⚠ }}[[Arma 3 Steam Branches#Arma 3|{{Color|red|DEV BRANCH}}]]{{Color|red| ONLY ⚠}}}}<!--
-->}}<!--
-->{{#if:{{{game2|}}} | {{GVI | {{{game2}}} | {{{version2|}}} | {{#ifeq: {{uc:{{FULLPAGENAME}}}} | TEMPLATE:COMMAND | | categorize}} }} }}<!--
-->{{#if:{{{game3|}}} | {{GVI | {{{game3}}} | {{{version3|}}} | {{#ifeq: {{uc:{{FULLPAGENAME}}}} | TEMPLATE:COMMAND | | categorize}} }} }}<!--
-->{{#if:{{{game4|}}} | {{GVI | {{{game4}}} | {{{version4|}}} | {{#ifeq: {{uc:{{FULLPAGENAME}}}} | TEMPLATE:COMMAND | | categorize}} }} }}<!--
-->{{#if:{{{game5|}}} | {{GVI | {{{game5}}} | {{{version5|}}} | {{#ifeq: {{uc:{{FULLPAGENAME}}}} | TEMPLATE:COMMAND | | categorize}} }} }}<!--
-->{{#if:{{{arg|}}}{{{eff|}}} | <span style="margin-left: 1em"><!-- space between game versions and arguments/effects
-->{{#if:{{{arg|}}} | {{EffArg|{{#ifeq:{{lc:{{{type}}}}}|command|cmd|fnc}}|arg|{{{arg}}}}} }}<!--
-->{{#if:{{{eff|}}} | {{EffArg|{{#ifeq:{{lc:{{{type}}}}}|command|cmd|fnc}}|eff|{{{eff}}}}} }}<!--
--></span>}}<!--
-->{{#if:{{{serverExec|}}} | <span style="margin-left: 1em">{{ServerExec | {{#ifeq:{{lc:{{{type}}}}}|command|cmd|fnc}} | {{#ifeq: {{uc:{{FULLPAGENAME}}}} | TEMPLATE:COMMAND | | categorize}}}}</span>|}}<!-- ServerExec Param with left spacing from arguments/effects
-->
</div>
<div style="color:grey; font-size:0.75em">Hover &amp; click on the images for descriptions</div>
<h3>Description</h3>
<dl>
<dt>Description:</dt>
<dd>
{{{descr|{{{3|{{Stub}}}}}}}}
</dd>
{{#ifeq:{{lc:{{{type}}}}}|command||
<dt>Execution:</dt>
<dd>{{#ifeq:{{{exec|call}}}|call|[[call]]|'''[[{{{exec}}}]]'''}}</dd>
}}
</dl><!--
-->{{#if:{{{mp|}}}|
<dt>Multiplayer:</dt>
<dd>
{{{mp}}}
</dd>|}}<!--
-->{{#if:{{{pr|}}}|
<dt>Problem(s):</dt>
<dd>
{{{pr}}}
</dd>|}}<!--
--><h3>Syntax</h3>
<dl>
<dt>Syntax:</dt>
<dd>{{{s1|{{{4|'''{{PAGENAMEE}}'''}}}}}}</dd><!--
-->
{{Command/params
|  {{{p1|}}} |  {{{p2|}}} |  {{{p3|}}} |  {{{p4|}}} |  {{{p5|}}} |  {{{p6|}}} |  {{{p7|}}} |  {{{p8|}}} |  {{{p9|}}} | {{{p10|}}}
| {{{p11|}}} | {{{p12|}}} | {{{p13|}}} | {{{p14|}}} | {{{p15|}}} | {{{p16|}}} | {{{p17|}}} | {{{p18|}}} | {{{p19|}}} | {{{p20|}}} }}
<!--
-->{{#if:{{{s1|{{{4|}}}}}}|
<dt>Return Value:</dt>
<dd>{{{r1|{{{5|[[Nothing]]}}}}}}</dd>
</dl>|}}<!--
-->{{#if:{{{s2|}}}|
<h3>Alternative Syntax</h3>
<dl>
<dt>Syntax:</dt>
<dd>{{{s2}}}</dd>|}}<!--
-->{{Command/params
| {{{p21|}}} | {{{p22|}}} | {{{p23|}}} | {{{p24|}}} | {{{p25|}}} | {{{p26|}}} | {{{p27|}}} | {{{p28|}}} | {{{p29|}}} | {{{p30|}}}
| {{{p31|}}} | {{{p32|}}} | {{{p33|}}} | {{{p34|}}} | {{{p35|}}} | {{{p36|}}} | {{{p37|}}} | {{{p38|}}} | {{{p39|}}} | {{{p40|}}} }}<!--
-->{{#if:{{{s2|}}}|
<dt>Return Value:</dt>
<dd>{{{r2|[[Nothing]]}}}</dd>
</dl>|}}<!--
-->{{#if:{{{s3|}}}|
<h3>Alternative Syntax 2</h3>
<dl>
<dt>Syntax:</dt>
<dd>{{{s3}}}</dd>|}}<!--
-->{{Command/params
| {{{p41|}}} | {{{p42|}}} | {{{p43|}}} | {{{p44|}}} | {{{p45|}}} | {{{p46|}}} | {{{p47|}}} | {{{p48|}}} | {{{p49|}}} | {{{p50|}}}
| {{{p51|}}} | {{{p52|}}} | {{{p53|}}} | {{{p54|}}} | {{{p55|}}} | {{{p56|}}} | {{{p57|}}} | {{{p58|}}} | {{{p59|}}} | {{{p60|}}} }}<!--
-->{{#if:{{{s3|}}}|
<dt>Return Value:</dt>
<dd>{{{r3|[[Nothing]]}}}</dd>
</dl>|}}<!--
-->{{#if:{{{s4|}}}|
<h3>Alternative Syntax 3</h3>
<dl>
<dt>Syntax:</dt>
<dd>{{{s4}}}</dd>|}}<!--
-->{{Command/params
| {{{p61|}}} | {{{p62|}}} | {{{p63|}}} | {{{p64|}}} | {{{p65|}}} | {{{p66|}}} | {{{p67|}}} | {{{p68|}}} | {{{p69|}}} | {{{p70|}}}
| {{{p71|}}} | {{{p72|}}} | {{{p73|}}} | {{{p74|}}} | {{{p75|}}} | {{{p76|}}} | {{{p77|}}} | {{{p78|}}} | {{{p79|}}} | {{{p80|}}} }}<!--
-->{{#if:{{{s4|}}}|
<dt>Return Value:</dt>
<dd>{{{r4|[[Nothing]]}}}</dd>
</dl>|}}<!--
-->{{#if:{{{s5|}}}|
<h3>Alternative Syntax 4</h3>
<dl>
<dt>Syntax:</dt>
<dd>{{{s5}}}</dd>|}}<!--
-->{{Command/params
| {{{p81|}}} | {{{p82|}}} | {{{p83|}}} | {{{p84|}}} |  {{{p85|}}} | {{{p86|}}} | {{{p87|}}} | {{{p88|}}} | {{{p89|}}} |  {{{p90|}}}
| {{{p91|}}} | {{{p92|}}} | {{{p93|}}} | {{{p94|}}} |  {{{p95|}}} | {{{p96|}}} | {{{p97|}}} | {{{p98|}}} | {{{p99|}}} | {{{p100|}}} }}<!--
-->{{#if:{{{s5|}}}|
<dt>Return Value:</dt>
<dd>{{{r5|[[Nothing]]}}}</dd>
</dl>|}}<!--
-->{{#if:{{{s6|}}}|
<h3>Alternative Syntax 5</h3>
<dl>
<dt>Syntax:</dt>
<dd>{{{s6}}}</dd>|}}<!--
-->{{Command/params
| {{{p101|}}} | {{{p102|}}} | {{{p103|}}} | {{{p104|}}} | {{{p105|}}} | {{{p106|}}} | {{{p107|}}} | {{{p108|}}} | {{{p109|}}} | {{{p110|}}}
| {{{p111|}}} | {{{p112|}}} | {{{p113|}}} | {{{p114|}}} | {{{p115|}}} | {{{p116|}}} | {{{p117|}}} | {{{p118|}}} | {{{p119|}}} | {{{p120|}}} }}<!--
-->{{#if:{{{s6|}}}|
<dt>Return Value:</dt>
<dd>{{{r6|[[Nothing]]}}}</dd>
</dl>|}}<!--
--><h3>Examples</h3>
<dl>
{{Command/examples | {{{x1|}}} | {{{x2|}}} | {{{x3|}}} | {{{x4|}}} |  {{{x5|}}} | {{{x6|}}} | {{{x7|}}} | {{{x8|}}} | {{{x9|}}} | {{{x10|}}} }}
</dl>
<h3>Additional Information</h3>
<dl>
<dt>See also:</dt>
<dd class="seealso">{{#if:{{{seealso|{{{6|}}}}}}
|{{#replace:
{{#replace:{{{seealso|{{{6}}}}}}|], [|][}}
|],[|][}}
| [[:Category:See also needed|See also needed]]}}</dd>
<dt>Groups:</dt>
<dd class="seealso"><!--
-->{{#if: {{{gr1|}}} | [[:Category:Command Group: {{Trim|{{{gr1}}}}}|{{Trim|{{{gr1}}}}}]] }}<!--
-->{{#if: {{{gr2|}}} | [[:Category:Command Group: {{Trim|{{{gr2}}}}}|{{Trim|{{{gr2}}}}}]] }}<!--
-->{{#if: {{{gr3|}}} | [[:Category:Command Group: {{Trim|{{{gr3}}}}}|{{Trim|{{{gr3}}}}}]] }}<!--
-->{{#if: {{{gr4|}}} | [[:Category:Command Group: {{Trim|{{{gr4}}}}}|{{Trim|{{{gr4}}}}}]] }}<!--
-->{{#if: {{{gr5|}}} | [[:Category:Command Group: {{Trim|{{{gr5}}}}}|{{Trim|{{{gr5}}}}}]] }}<!--
-->{{#if: {{{gr1|}}}{{{gr2|}}}{{{gr3|}}}{{{gr4|}}}{{{gr5|}}} | | [[:Category:Command Group: Uncategorised|Uncategorised]] }}
</dd>
</dl>
<h3>Notes</h3>
<dd style="text-align: center">
{{Messagebox
| '''Only post proven facts here.'''<!--
--> Report bugs on the [http://feedback.arma3.com/ Feedback Tracker] and discuss on the [https://discord.gg/arma Arma Discord] or on the [https://forums.bohemia.net/ Forums].
<div class{{=}}"plainlinks" style{{=}}"margin-top: -0.25em">
[{{canonicalurl:{{FULLPAGENAMEE}}|action=edit&section{{=}}new&preload{{=}}Template:Add_new_note&preloadtitle{{=}}&summary{{=}}Added+new+note&nosummary{{=}}true}} '''+ Add Note'''] <span style{{=}}"font-size: .9em">([[How To#Add a new note|Help]])</span>
</div>
| i
| {{#ifeq:{{lc:{{{type}}}}}|command|#E5EEF8|#DAF5F5}}
}}
</dd>
</div><!--
CATEGORIES
-->{{#ifeq:{{uc:{{PAGENAMEE}}}}|LOU_MONTANA/SANDBOX||
[[Category:{{#ifeq:{{lc:{{{type}}}}}|command|Scripting Commands|Functions}}]]<!--
-->{{#if:{{{game1|{{{1|}}}}}} | {{GameCategory|{{{game1|{{{1|}}}}}} | Introduced in v{{{version1|?}}}}}
{{GameCategory|{{{game1|{{{1|}}}}}} | New {{#ifeq:{{lc:{{{type}}}}}|command|Scripting Commands|Functions}}}}
{{GameCategory|{{{game1|{{{1|}}}}}}|{{#ifeq:{{lc:{{{type}}}}}|command|Scripting Commands|Functions}}}}}}<!--
-->{{#if:{{{game2|}}} | {{GameCategory|{{{game2}}}|{{#ifeq:{{lc:{{{type}}}}}|command|Scripting Commands|Functions}}}}}}<!--
-->{{#if:{{{game3|}}} | {{GameCategory|{{{game3}}}|{{#ifeq:{{lc:{{{type}}}}}|command|Scripting Commands|Functions}}}}}}<!--
-->{{#if:{{{game4|}}} | {{GameCategory|{{{game4}}}|{{#ifeq:{{lc:{{{type}}}}}|command|Scripting Commands|Functions}}}}}}<!--
-->{{#if:{{{game5|}}} | {{GameCategory|{{{game5}}}|{{#ifeq:{{lc:{{{type}}}}}|command|Scripting Commands|Functions}}}}}}<!--
-->{{#if: {{{gr1|}}} | [[Category:Command Group: {{Trim|{{{gr1}}}}}|{{Trim|{{{gr1}}}}}]] }}<!--
-->{{#if: {{{gr2|}}} | [[Category:Command Group: {{Trim|{{{gr2}}}}}|{{Trim|{{{gr2}}}}}]] }}<!--
-->{{#if: {{{gr3|}}} | [[Category:Command Group: {{Trim|{{{gr3}}}}}|{{Trim|{{{gr3}}}}}]] }}<!--
-->{{#if: {{{gr4|}}} | [[Category:Command Group: {{Trim|{{{gr4}}}}}|{{Trim|{{{gr4}}}}}]] }}<!--
-->{{#if: {{{gr5|}}} | [[Category:Command Group: {{Trim|{{{gr5}}}}}|{{Trim|{{{gr5}}}}}]] }}<!--
-->{{#if: {{{gr1|}}}{{{gr2|}}}{{{gr3|}}}{{{gr4|}}}{{{gr5|}}} | | [[:Category:Command Group: Uncategorised|Uncategorised]] }}<!--
-->{{#if:{{{arg|}}} | [[Category:{{#ifeq:{{{arg}}}|local|Local|Global}} Argument Scripting Commands]]}}<!--
-->{{#if:{{{eff|}}} | [[Category:{{#ifeq:{{{eff}}}|local|Local|Global}} Effect Scripting Commands]]}}<!--
-->{{#if:{{{seealso|{{{6|}}}}}} | | [[Category:See also needed]]}}<!--
-->}}
|= -no type provided-
|#default = -wrong type provided-}}
</includeonly><noinclude>
== Usage ==
{{<nowiki/>RV|'''''type='''''|''other arguments''}}
* type: (named argument, case-insensitive) "command" or "function"
== Examples ==
{|
|- style="background-color: #EEE"
! Code
! Result
|-
| <nowiki>{{RV}}</nowiki>
| {{User:Lou_Montana/Sandbox}}
|-
| <nowiki>{{RV|abc}}</nowiki>
| {{User:Lou_Montana/Sandbox|type=abc}}
|-
| <nowiki>{{RV|type=command}}</nowiki>
| {{User:Lou_Montana/Sandbox|type=command}}
|-
| <nowiki>{{RV|type=function}}</nowiki>
| {{User:Lou_Montana/Sandbox|type=function}}
|}
== Template ==
<pre style="columns: 5">
{{RV|type=Command
|game1=
|game2=
|game3=
|game4=
|game5=
|version1=
|version2=
|version3=
|version4=
|version5=
|arg=
[eff=
|serverExec=
|gr1=
|gr2=
|gr3=
|gr4=
|gr5=
|descr=
|mp=
|pr=
|s1=
|p1=
|p2=
|p3=
|p4=
|p5=
|p6=
|p7=
|p8=
|p9=
|p10=
|p11=
|p12=
|p13=
|p14=
|p15=
|p16=
|p17=
|p18=
|p19=
|p20=
|r1=
|x1=
|seealso=
}}
</pre>
</noinclude>

Revision as of 00:28, 13 January 2021


Usage

{{RV|type=|other arguments}}

  • type: (named argument, case-insensitive) "command" or "function"

Examples

Code Result
{{RV}}

-no type provided-


{{RV|abc}}

-wrong type provided-


{{RV|type=command}}


Hover & click on the images for descriptions

Description

Description:
Template:Stub

Syntax

Syntax:
Lou_Montana/Sandbox
Template:Command/params Template:Command/paramsTemplate:Command/paramsTemplate:Command/paramsTemplate:Command/paramsTemplate:Command/params

Examples

Template:Command/examples

Additional Information

See also:
See also needed
Groups:
Uncategorised

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.


{{RV|type=function}}


Hover & click on the images for descriptions

Description

Description:
Template:Stub
Execution:
call

Syntax

Syntax:
Lou_Montana/Sandbox
Template:Command/params Template:Command/paramsTemplate:Command/paramsTemplate:Command/paramsTemplate:Command/paramsTemplate:Command/params

Examples

Template:Command/examples

Additional Information

See also:
See also needed
Groups:
Uncategorised

Notes

i
Only post proven facts here. Report bugs on the Feedback Tracker and discuss on the Arma Discord or on the Forums.


Template

{{RV|type=Command

|game1=
|game2=
|game3=
|game4=
|game5=

|version1=
|version2=
|version3=
|version4=
|version5=

|arg=
[eff=
|serverExec=

|gr1=
|gr2=
|gr3=
|gr4=
|gr5=

|descr=

|mp=

|pr=

|s1=

|p1=

|p2=

|p3=

|p4=

|p5=

|p6=

|p7=

|p8=

|p9=

|p10=

|p11=

|p12=

|p13=

|p14=

|p15=

|p16=

|p17=

|p18=

|p19=

|p20=

|r1=

|x1=

|seealso=
}}