Difference between revisions of "Template:CommandOutputTemplate"
Template page
Views
Actions
Namespaces
Variants
Tools
m |
m |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<pre>{{CommandOutputTemplate|color=yellow|prompt=prompt|command=command|result=result}}</pre> | <pre>{{CommandOutputTemplate|color=yellow|prompt=prompt|command=command|result=result}}</pre> | ||
{{CommandOutputTemplate|color=yellow|prompt=prompt|command=command|result= | {{CommandOutputTemplate|color=yellow|prompt=prompt|command=command|result= | ||
result line2 | result line1 | ||
</noinclude><includeonly><div style="display:block;border-radius:5px;margin-bottom:5px;background-color:black;font-family:monospace;font-size:14px"><span style=" | 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="padding-left:10px;padding-top:5px;color:{{{color}}};font-weight:bold;">{{{prompt}}}</span> <span style="padding-top:5px;color:white;background-color:black;font-weight:bold;">{{{command}}}</span><br/><span style="border:none;color:white;background-color:black;font-weight:bold;">{{{result}}}</span></div></includeonly> |
Revision as of 18:29, 16 December 2020
{{CommandOutputTemplate|color=yellow|prompt=prompt|command=command|result=result}}
prompt command
result line1 result line2
result line1 result line2