Manjaro Difference between revisions of "Template:CommandOutputTemplate"

Difference between revisions of "Template:CommandOutputTemplate"

Template page
m
m
Line 1: Line 1:
<noinclude>
<noinclude>
<pre>{{CommandOutputTemplate|color=red|prompt=$|command=command|result=output}}</pre>
<pre>{{CommandOutputTemplate|color=red|prompt=$|command=command|result=output}}</pre>
{{CommandOutputTemplate|color=red|prompt=$|command=command|result=<pre style="color:white;background-color:black;font-weight:bold;">
{{CommandOutputTemplate|color=red|prompt=$|command=command|result=<pre style="border:none;color:white;background-color:black;font-weight:bold;">
line1
line1
line2</pre>}}
line2</pre>}}
</noinclude><includeonly><div style="display:block;border-radius:5px;margin-bottom:5px;padding:5px;background-color:black;font-family:monospace;font-size:14px"><span style="color:{{{color}}};font-weight:bold;">{{{prompt}}} </span><span style="color:white;background-color:black;font-weight:bold;">{{{command}}}</span><br/><span>{{{result}}}</span></div></includeonly>
</noinclude><includeonly><div style="display:block;border-radius:5px;margin-bottom:5px;padding:5px;background-color:black;font-family:monospace;font-size:14px"><span style="color:{{{color}}};font-weight:bold;">{{{prompt}}} </span><span style="color:white;background-color:black;font-weight:bold;">{{{command}}}</span><br/><span>{{{result}}}</span></div></includeonly>

Revision as of 18:05, 16 December 2020

{{CommandOutputTemplate|color=red|prompt=$|command=command|result=output}}
$ command
line1
line2
Cookies help us deliver our services. By using our services, you agree to our use of cookies.