Difference between revisions of "Template:CommandOutputTemplate"

From Manjaro
Jump to navigation Jump to search
m
m
Line 4: Line 4:
 
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;background-color:black;font-family:monospace;font-size:14px">
<span style="padding-left:10px;color:{{{color}}};font-weight:bold;">{{{prompt}}}</span>&nbsp;<span style="color:white;background-color:black;font-weight:bold;">{{{command}}}</span><br/>
+
<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><br/>
<span style="padding-left:10px;border:none;color:white;background-color:black;font-weight:bold;">{{{result}}}</span></div></includeonly>
+
<span style="margin-left:-5px;border:none;color:white;background-color:black;font-weight:bold;">{{{result}}}</span></div></includeonly>

Revision as of 18:39, 16 December 2020

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

prompt command

result line1
result line2