Template:Command
Template page
More actions
Tech-Wiki Command Template
Displays commands and configuration examples in a consistent Tech-Wiki format.
Recommended usage
For simple commands:
{{Command
|title=Check IP configuration
|command=ip addr show
}}
For multiple commands:
{{Command
|title=Check network configuration
|command=ip addr show
ip route show
ping -c 4 8.8.8.8
}}
Important
Commands containing MediaWiki template characters such as = or | may require escaping.
For an equals sign, use:
{{=}}
For a pipe character, use:
{{!}}
Parameters
- title – Optional descriptive title. Defaults to Command.
- command – Command or configuration content.
- 1 – Legacy/simple alternative to
command.