This page contains usage information for Template:Console. |
This template depends on CSS
|
Template for console command highlighting.
Usage[]
{{Console|example}}
This template can either be used with a single parameter to mark up a whole command at once, or with arg
and user
parameters to mark up a command with up to 5 arguments in more detail (by specifying whether each individual argument is a fixed component of the command or a component which needs to be filled in by the end user).
Parameters[]
<unnamed 1> or command
The console command you want to be highlighted. This overrides the other parameters to quickly mark up a command.
arg1 up to arg5
A fixed argument of the command.
user
parameters override arg
parameters with the same number, i.e. user1
overrides arg1
.user1 up to user5
An argument which varies; an end user input.
user
parameters override arg
parameters with the same number, i.e. user1
overrides arg1
.Examples[]
{{Console|additem 4711 1 100}}
results in: additem 4711 1
{{Console|arg1=additem|user2=base id|user3=amount}}
results in: additem <base id> <amount>