Lou Montana/Sandbox/Template:Command – User

From Bohemia Interactive Community
Jump to navigation Jump to search
m (WIP Arg/Eff text POC)
(Page cleanup)
Tag: Replaced
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
To be removed; kept for Command history [[User:Lou Montana|Lou Montana]] ([[User talk:Lou Montana|talk]]) 20:01, 25 December 2019 (CET)
__NOTOC__
__NOEDITSECTION__
{{DEFAULTSORT:{{uc:{{PAGENAME}}}}}}
[[Category:{{Name|{{{game|{{{game1|{{{1}}}}}}}}}}}: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]<!-- Automatically includes page in "New Scripting Commands List" category -->
{{#ifeq: {{Name|{{{game|{{{game1|{{{1}}}}}}}}}}} | {{Name|arma3dev}} | [[Category:Introduced with Arma 3 Development Branch]] | }}<!-- Includes every arma 3 dev command in one category as well as reg version subcategories -->
{{#ifeq: {{{game|{{{game1|{{{1}}}}}}}}} | vbs1 | | [[Category:Scripting Commands]]}}<!-- Excludes VBS commands from main command category -->
<div class="_description cmd"><!--


-->{{GVI|{{{game|{{{game1|{{{1}}}}}}}}}|{{{version|{{{2}}}}}}|categorize}}<!--
[[Category: Sandbox]]
-->{{#if:{{{game2|}}}|{{GVI|{{{game2}}}|{{{version2|1.00}}}|categorize}}|}}<!--
-->{{#if:{{{game3|}}}|{{GVI|{{{game3}}}|{{{version3|1.00}}}|categorize}}|}}<!--
-->{{#if:{{{game4|}}}|{{GVI|{{{game4}}}|{{{version4|1.00}}}|categorize}}|}}<!--
-->{{#if:{{{game5|}}}|{{GVI|{{{game5}}}|{{{version5|1.00}}}|categorize}}|}}<!--
 
-->{{#if:{{{arg|{{{eff|}}}}}}|<span style="margin-left: 1em">|}}<!-- space between game versions and arguments/effects
 
-->{{#if:{{{arg|}}}|{{EffArg|cmd|arg|{{{arg}}}|categorize}}|}}<!--
-->{{#if:{{{eff|}}}|{{EffArg|cmd|eff|{{{eff}}}|categorize}}|}}<!--
 
-->{{#if:{{{arg|{{{eff|}}}}}}|</span>|}}<!--
 
-->{{#if:{{{exec|}}}|<span style="margin-left: 1em">{{ServerExec|cmd|exec|{{{exec}}}|categorize}}</span>|}}<!-- Exec Param with left spacing from arguments/effects
 
--><div style="font-size: 0.9em"><!--
-->[[:Category:{{Name|{{{game|{{{game1|{{{1}}}}}}}}}}}: New Scripting Commands List|Introduced in '''{{Name|{{{game|{{{game1|{{{1}}}}}}}}}}}''']] <!--
-->[[:Category:Introduced with {{Name|{{{game|{{{game1|{{{1}}}}}}}}}}} version {{{version|{{{2|1.00}}}}}}|version '''{{{version|{{{2|1.00}}}}}}''']]<!--
--></div>
 
<div style="color:grey; font-size:0.75em">Click on the images for descriptions</div>
 
<h3>Description</h3>
<dl>
<dt>Description:</dt>
<dd>{{{description|{{{3|}}}}}}</dd>
</dl><!--
 
-->{{#if:{{{{arg|{{{eff|{{{mp|}}}}}}}}}|
<dt>Multiplayer:</dt>
<dd>
{{#if:{{{{arg|{{{eff|}}}}}}
|
{{#if:{{{arg|}}} | This command uses {{{arg}}} arguments.}}
{{#if:{{{eff|}}} | This command has {{{eff}}} effects.}}
|<br>}}
{{{mp|}}}</dd>|}}<!--
 
-->{{#if:{{{pr|}}}|
<dt>Problems:</dt>
<dd>{{ Important | {{{pr}}} }}</dd>|}}<!--
 
--><h3>Syntax</h3>
<dl>
<dt>Syntax:</dt>
<dd>{{{s1|{{{4|'''{{PAGENAME}}'''}}}}}}</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">{{busa}}{{#if:{{{seealso|{{{6|}}}}}}|{{#replace:{{#replace:{{{seealso|{{{6}}}}}}|], [|][}}|],[|][}}|{{See also needed}}}}</dd>
</dl>
 
<h3>Notes</h3>
<dd style{{=}}"font-size: smaller; text-align: center">
{{Messagebox
| '''Only post proven facts here.'''<!--
--> Report bugs on [http://feedback.arma3.com/ the feedback tracker].<!--
--> Use the [[{{NAMESPACE}} talk:{{PAGENAME}}|Talk page]] or the [https://forums.bohemia.net/ Forums] for discussions.
<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 New Note] <nowiki>|</nowiki> [[How To#Add a new note|How To]]
</div>
| i
| #E5EEF8
}}
</dd>
</div></includeonly><noinclude>
 
{{Important | This page is an attempt to refresh the [[Template:Command|Command]] template, do not empty it even if this page is listed in commands categories!}}
<br><br>
----
{{User:Lou_Montana/Sandbox/Template:Command|Comments=
|game= ofp
|game2= arma2
|game5= tkoh
|version= 1.5
|version4= 0.99
|version5= 1.01
|arg= glob
|eff= global
|exec= server
|description= the command's description
|s1= unit [[setDammage]] damageAmount
|p1= unit: [[Object]] - thing to damage
|p2= damageAmount: [[Number]] - 0..1 range
 
|x1= <code>[[player]] [[setDammage]] 1;</code>
 
|seealso= [[SeeAlso1]] [[SeeAlso2]], [[SeeAlso3]]
 
|amp= This works well in Multiplayer. Have fun!
 
|pr= This kills people, Carl!
}}
 
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->
 
<dd class="notedate">Posted on December 22, 2019 - 20:25
<dt class="note">{{User|R3vo}}
<dd class="note">
Lou, I think you should stop inventing yourself conversations.
 
<dd class="notedate">Posted on December 22, 2019 - 25:60
<dt class="note">{{User|POLPOX}}
<dd class="note">
I second that!
 
<!-- Note Section END -->
</dl>
 
 
</noinclude>

Latest revision as of 20:01, 25 December 2019

To be removed; kept for Command history Lou Montana (talk) 20:01, 25 December 2019 (CET)