Modèle:Console/doc
Template for console command highlighting.
Usage[modifier le wikicode]
{{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[modifier le wikicode]
The console command you want to be highlighted. This overrides the other parameters to quickly mark up a command.
A fixed argument of the command. user
parameters override arg
parameters with the same number, i.e. user1
overrides arg1
.
An argument which varies; an end user input. user
parameters override arg
parameters with the same number, i.e. user1
overrides arg1
.
Examples[modifier le wikicode]
{{Console|additem 4711 1 100}}
results in: additem 4711 1 100
{{Console|arg1=additem|user2=base id|user3=amount}}
results in: additem <base id> <amount>