Lou Montana/Sandbox/Template:Command – User

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Fix example)
(Add links to game commands and game version commands)
Line 1: Line 1:
<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!}}</noinclude><includeonly>__NOTOC__ __NOEDITSECTION__ {{DEFAULTSORT:{{uc:{{PAGENAME}}}}}}
<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!}}</noinclude><includeonly>
__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 -->
[[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: {{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 -->
Line 20: Line 23:
-->{{#if:{{{exec|}}}|{{ServerExec|cmd|exec|{{{exec}}}|categorize}}|}}<!-- Exec Param
-->{{#if:{{{exec|}}}|{{ServerExec|cmd|exec|{{{exec}}}|categorize}}|}}<!-- Exec Param


--><div style="color:grey; font-size:0.75em">Click on the images for descriptions</div>
-->[[: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 style="color:grey; font-size:0.75em">Click on the images for descriptions</div>
<h3>Introduced in</h3>
<dl>
<dt>Game:</dt>
<dd>{{Name|{{{game|{{{game1|{{{1}}}}}}}}}}}</dd>
<dt>Version:</dt>
<dd>{{{version|{{{2|1.00}}}}}}</dd>
</dl>


<h3>Description</h3>
<h3>Description</h3>
Line 252: Line 248:
|<pre>example</pre>
|<pre>example</pre>
|<pre>(example)</pre>=<dt>Example 1:</dt><dd>{{Example needed}}</dd>
|<pre>(example)</pre>=<dt>Example 1:</dt><dd>{{Example needed}}</dd>
|#default={{Command-example|{{{x1}}}|Example 1}}
|#default={{Command-example|{{{x1}}}|<dt>Example 1</dt>}}<!-- TODO: remove dt tags -->
{{#if:{{{x2|}}}|{{Command-example|{{{x2}}}|Example 2}}
{{#if:{{{x2|}}}|{{Command-example|{{{x2}}}|Example 2}}
{{#if:{{{x3|}}}|{{Command-example|{{{x3}}}|Example 3}}
{{#if:{{{x3|}}}|{{Command-example|{{{x3}}}|Example 3}}
Line 278: Line 274:


<h3>Notes</h3>
<h3>Notes</h3>
<div style="margin-top:-26px;text-align:center;"><i style="padding-left:55px;line-height:1.8em;"><span style="white-space:nowrap;font-weight:bold;">Only post proven facts here.</span> <span style="white-space:nowrap;">Report bugs on [http://feedback.arma3.com/ the feedback tracker].</span> <span style="white-space:nowrap;">Use the [[{{NAMESPACE}} talk:{{PAGENAME}}|talk page]] or the [https://forums.bohemia.net/ forums] for discussions.</span></i><br style="line-height:28px;"><span class="plainlinks">[{{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]]</span></div>
{{Messagebox
| <span style{{=}}"font-size: small; text-align: center">
'''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.<br>
<span class{{=}}"plainlinks">
[{{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]]
</span>
</span>
| i
| #E5EEF8
}}
</div></includeonly><noinclude>
</div></includeonly><noinclude>


{{User:Lou_Montana/Sandbox/Template:Command|Comments=
{{User:Lou_Montana/Sandbox/Template:Command|Comments=
|game= ofp
|game= ofp
|version= 0.75
|version= 1.5
|description= the command's description
|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>
|x1= <code>[[player]] [[setDammage]] 1;</code>
|seealso= [[SeeAlso1]] [[SeeAlso2]], [[SeeAlso3]]
|seealso= [[SeeAlso1]] [[SeeAlso2]], [[SeeAlso3]]
}}
}}
</noinclude>
</noinclude>

Revision as of 15:31, 22 December 2019

This page is an attempt to refresh the Command template, do not empty it even if this page is listed in commands categories!
Logo A0.png1.5    Introduced in Operation Flashpoint version 1.5
Click on the images for descriptions

Description

Description:
the command's description

Syntax

Syntax:
unit setDammage damageAmount
Template:Command-param Template:Command-param
Return Value:
Nothing
Template:Command-example
See also:
Template:busaSeeAlso1 SeeAlso2SeeAlso3

Notes

i

Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.
Add New Note | How To