Modèle:Console/doc

De Les Archives de Vault-Tec

Ceci est la page de documentation de Modèle:Console [modifier] [purger].

Cette sous-page contient les instructions et les catégories de son modèle d'origine et elle n'est pas destinée à être visualisée directement.

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 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[modifier le wikicode]

<unnamed 1> ou command

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

arg1 à arg5

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

user1 à user5

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>

Source[modifier le wikicode]

  • Le modèle et sa page de documentation sont issus du Wikipédia The Vault. Vous pouvez les retrouver en suivant ce lien.