Template:CommandOutputTemplate
Provide the result inside a set of <pre>result</pre> tags to ensure it is broken down into lines.
{{CommandOutputTemplate|prompt=$|ps1fg=yellow|clibg=black|clifg=white|command=command|result=<pre>result line1 line2 line3</pre>}}
$ command
result line1 line2 line3