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