Manjaro Difference between revisions of "Template:CommandOutputTemplate"

Difference between revisions of "Template:CommandOutputTemplate"

Template page
Line 4: Line 4:
line2
line2
}}</nowiki>'''
}}</nowiki>'''
{{CommandOutputTemplate|prompt=$|ps1fg=yellow|clibg=black|clifg=white|command=command|result=result=result
{{CommandOutputTemplate|prompt=$|ps1fg=yellow|clibg=black|clifg=white|command=command|result=<pre>result
line1
line1
line2}}
line2</pre>}}
</noinclude><includeonly>
</noinclude><includeonly>
<div style="display:block;border-radius:5px;padding-top:3px;padding-bottom:3px;background-color:{{{clibg}}};font-family:monospace;font-size:14px;">
<div style="display:block;border-radius:5px;padding-top:3px;padding-bottom:3px;background-color:{{{clibg}}};font-family:monospace;font-size:1px;">
<span style="background-color:{{{clibg}}};color:{{{ps1fg}}};margin-left:1em;margin-top:0;margin-bottom:0;padding:0;font-weight:bold;">{{{prompt}}}</span> <span style="background-color:{{{clibg}}};color:{{{clifg}}};margin-top:0;margin-bottom:0;padding:0;font-weight:bold;">{{{command}}}</span>
<span style="background-color:{{{clibg}}};color:{{{ps1fg}}};margin-left:1em;margin-top:0;margin-bottom:0;padding:0;font-weight:bold;">{{{prompt}}}</span> <span style="background-color:{{{clibg}}};color:{{{clifg}}};margin-top:0;margin-bottom:0;padding:0;font-weight:bold;">{{{command}}}</span>
<br/>
<br/>

Revision as of 07:32, 9 December 2022

{{CommandOutputTemplate|prompt=$|ps1fg=yellow|clibg=black|clifg=white|command=command|result=result line1 line2 }}

$ command

result
line1
line2


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