Template:CommandOutputTemplate

Provide the result inside a set of <pre>result</pre> tags to ensure it is broken down into lines.

{{CommandOutputTemplate|ps1=$|ps1fg=yellow|clifg=white|clibg=black|command=command|result=<pre>result line1 line2 line3</pre>}}

$ command

result
line1
line2
line3