Template:Usershell/doc

跳转至: 导航, 搜索
注意: Please be aware that this template is still experimental and can still change a bit. Thus use it with care as long as this warning is present. Use cases can be found on this page
  • Description: Use this template to display a user shell command and optionally its output or only a fragment of the output.
  • Where: Anywhere
注意: Whenever a pipe char appears in the command string or output text change it with special char {{!}}

Examples

Command and output

{{Usershell|Command String|Output Text}}
user $ Command string

 Output string 

Only command

{{Usershell|Command String}}
user $ Command String

Only output

{{Usershell|output=Output Text}}
user $ ... (output sequel of previous command)

Output Text