Manjaro Difference between revisions of "Template:CommandOutputTemplate"

Difference between revisions of "Template:CommandOutputTemplate"

Template page
(refactor example to show lines)
(reorder parameters logically)
Line 2: Line 2:
Provide the result inside a set of <nowiki><pre>result</pre></nowiki> tags to ensure it is broken down into lines.
Provide the result inside a set of <nowiki><pre>result</pre></nowiki> tags to ensure it is broken down into lines.


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

Revision as of 07:41, 9 December 2022

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>}}

{{{prompt}}} command

result
line1
line2
line3


Cookies help us deliver our services. By using our services, you agree to our use of cookies.