Manjaro Difference between revisions of "Template:CommandOutputTemplate"

Difference between revisions of "Template:CommandOutputTemplate"

Template page
(Added comment on usage)
Line 1: Line 1:
<noinclude>
<noinclude>
'''<nowiki>{{CommandOutputTemplate|prompt=$|ps1fg=yellow|clibg=black|clifg=white|command=command|result=result
Provide the result inside a set of <nowiki><pre>result</pre></nowiki> tags to ensure it is broken down into lines.
line1
'''<nowiki>{{CommandOutputTemplate|prompt=$|ps1fg=yellow|clibg=black|clifg=white|command=command|result=result}}</nowiki>'''
line2
}}</nowiki>'''
{{CommandOutputTemplate|prompt=$|ps1fg=yellow|clibg=black|clifg=white|command=command|result=result}}
{{CommandOutputTemplate|prompt=$|ps1fg=yellow|clibg=black|clifg=white|command=command|result=result}}
</noinclude><includeonly>
</noinclude><includeonly>

Revision as of 07:36, 9 December 2022

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

$ command

result


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