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=result line1
{{CommandOutputTemplate|color=yellow|prompt=prompt|command=command|result=result line1
result line2}}
result line2}}
</noinclude><includeonly><div style="display:block;border-radius:5px;margin-bottom:5px;background-color:black;font-family:monospace;font-size:14px"><span style="margin-left:5px;color:{{{color}}};font-weight:bold;">{{{prompt}}}</span>&nbsp;<span style="color:white;background-color:black;font-weight:bold;">{{{command}}}</span>{{{<pre style="border:none;color:white;background-color:black;font-weight:bold;">result</pre>}}}</div></includeonly>
</noinclude><includeonly><div style="display:block;border-radius:5px;margin-bottom:5px;background-color:black;font-family:monospace;font-size:14px"><span style="margin-left:5px;color:{{{color}}};font-weight:bold;">{{{prompt}}}</span>&nbsp;<span style="color:white;background-color:black;font-weight:bold;">{{{command}}}</span><nowiki><pre style="border:none;color:white;background-color:black;font-weight:bold;">{{{result}}}</pre></nowiki></div></includeonly>

Revision as of 18:25, 16 December 2020

{{CommandOutputTemplate|color=yellow|prompt=prompt|command=command|result=result}}
prompt command<pre style="border:none;color:white;background-color:black;font-weight:bold;">{{{result}}}</pre>
Cookies help us deliver our services. By using our services, you agree to our use of cookies.