We've Moved! Just as Gamepedia has joined forces with Fandom, this wiki had joined forces with our Fandom equivalent. The wiki has been archived and we ask that readers and editors move to the now combined wiki on Fandom. Click to go to the new wiki.

Template:Console/doc

From The Vault - Fallout Wiki
Jump to: navigation, search
Icon template doc.svg
This page contains usage information for Template:Console.

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 userparameters 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

Sometimes required or at least one requiredIcon semi-required.png
<unnamed 1> or command

The console command you want to be highlighted. This overrides the other parameters to quickly mark up a command.

Sometimes required or at least one requiredIcon semi-required.png
arg1 up to arg5

A fixed argument of the command. user parameters override arg parameters with the same number, i.e. user1 overrides arg1.

Sometimes required or at least one requiredIcon semi-required.png
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 100

{{Console|arg1=additem|user2=base id|user3=amount}}

results in: additem <base id> <amount>