Difference between revisions of "Template:CommandOutputTemplate"
Template page
Views
Actions
Namespaces
Variants
Tools
(added bgcolor) |
(bgcoler final) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
<nowiki>{{CommandOutputTemplate|color=yellow|bgcolor|prompt=prompt|command=command|result=result}}</nowiki> | <nowiki>{{CommandOutputTemplate|color=yellow|bgcolor=black|prompt=prompt|command=command|result=result}}</nowiki> | ||
{{CommandOutputTemplate|color=yellow|bgcolor|prompt=prompt|command=command|result=result}} | {{CommandOutputTemplate|color=yellow|bgcolor=black|prompt=prompt|command=command|result=result}} | ||
</noinclude><includeonly><div style="display:block;border-radius:5px;padding-top:3px;padding-bottom:3px;background-color:{{{bgcolor}}};font-family:monospace;font-size:14px"><span style="color:{{{color}}};margin-left:1em;margin-top:0;margin-bottom:0;padding:0;font-weight:bold;">{{{prompt}}}</span> <span style="color:white;margin-top:0;margin-bottom:0;padding:0;font-weight:bold;">{{{command}}}</span><br/> | </noinclude><includeonly><div style="display:block;border-radius:5px;padding-top:3px;padding-bottom:3px;background-color:{{{bgcolor}}};font-family:monospace;font-size:14px"><span style="color:{{{color}}};margin-left:1em;margin-top:0;margin-bottom:0;padding:0;font-weight:bold;">{{{prompt}}}</span> <span style="color:white;margin-top:0;margin-bottom:0;padding:0;font-weight:bold;">{{{command}}}</span><br/> | ||
<div style="color:white;margin-left:1em;margin-right:1em;margin-top:0;">{{{result}}}</div></div> | <div style="color:white;margin-left:1em;margin-right:1em;margin-top:0;">{{{result}}}</div></div> | ||
</includeonly> | </includeonly> |
Revision as of 07:02, 9 December 2022
{{CommandOutputTemplate|color=yellow|bgcolor=black|prompt=prompt|command=command|result=result}}
prompt command
result