テンプレート:ConsoleCommand
ナビゲーションに移動
検索に移動
This template is used to describe a Console Command.
{{ConsoleCommand |name = |translate = |syntax = |argX = |typeX = |noteX = |parameters = |cheat = |target = |added = |description = |example = |consoleCompatible = }}
パラメーター
- name
- name of the command
- syntax
- Optional. Used to describe a special syntax, other than space separated parameters. Otherwise the argX parameters will be listed.
- argX, typeX, noteX
- Description of the parameters. Instead of X use numbers or whatever you like. Use as many of these combinations as needed.
- arg: name of the parameter
- type: something like String or Boolean
- note: description of the parameter
- parameters
- optional, additional text for arguments or if argX/typeX/noteX can't be used
- cheat
- Every kind of entry results to a "Yes". Leave empty if this command is not a cheat.
- target
- What or who is the target of the command? Leave empty if not relevant.
- added
- optional, if release version is known
- description
- description of the command
- example
- one or more examples how to use this command
- consoleCompatible
- Is this command compatible with gaming consoles. If partial compatibility describe limitations.
例
{{ConsoleCommand |name = FirstExampleCommand |syntax = |arg1 = a |type1 = string |note1 = Description of parameter a. |arg2 = b |type2 = boolean |note2 = Description of parameter b. |cheat = yes |target = self |added = [[250.0]] |description = Description of the command. |consoleCompatible = No With extra paragraph. |example = FirstExampleCommand test true }}
FirstExampleCommand
FirstExampleCommand <a> <b>
チート: はい
ターゲット: self
追加: 250.0
引数:
名前 | タイプ | 説明 |
---|---|---|
a
|
string | Description of parameter a. |
b
|
boolean | Description of parameter b. |
説明: Description of the command.
ゲーム機との互換性: No
With extra paragraph.
例:
FirstExampleCommand test true
{{ConsoleCommand |name = SecondExampleCommand |syntax = '''true{{!}}false''' |parameters = Only text as description of parameters |cheat = |target = }}
SecondExampleCommand
SecondExampleCommand true|false
チート: -
ターゲット: -
引数: Only text as description of parameters
説明:
{{ConsoleCommand |name = ThirdExampleCommand |syntax = '''true{{!}}false''' |arg1 = a |type1 = string |note1 = Description of parameter a. |arg2 = b |type2 = boolean |note2 = Description of parameter b. |parameters = Extra description of parameters |cheat = |target = |description = ... }}
ThirdExampleCommand
ThirdExampleCommand true|false
チート: -
ターゲット: -
引数:
名前 | タイプ | 説明 |
---|---|---|
a
|
string | Description of parameter a. |
b
|
boolean | Description of parameter b. |
Extra description of parameters
説明: ...
{{ConsoleCommand |name = FourthExampleCommand |translate = テスト/ }}
テスト/FourthExampleCommand
FourthExampleCommand
チート: -
ターゲット: -
説明: