Lou Montana/Sandbox/Template:Command – User
< User:Lou Montana | Sandbox
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Fix example) |
Lou Montana (talk | contribs) (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 | ||
--> | -->[[: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>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> | ||
< | {{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§ion{{=}}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= | |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 14:31, 22 December 2019
1.5 Introduced in Operation Flashpoint version 1.5
See also:
Template:busaSeeAlso1 SeeAlso2SeeAlso3
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