Template:Command/example

From Bohemia Interactive Community
< Template:Command
Jump to navigation Jump to search


Template used by Template:Command/examples.

Usage

{{Command/example|example|number}}

  • example: code example
  • number: (Optional, default empty) the example number (1-10)
Examples
Code Result
{{Command/example}}
{{Command/example|[[player]] [[setDamage]] 1}}
Example:
player setDamage 1
{{Command/example|[[player]] [[setDamage]] 1|33}}
Example 33:
player setDamage 1