Manjaro Difference between revisions of "Template:CommandOutputTemplate"

Difference between revisions of "Template:CommandOutputTemplate"

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

Revision as of 18:50, 16 December 2020

{{CommandOutputTemplate|color=yellow|prompt=prompt|command=command|result=result}}

prompt command

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