Difference between revisions of "Template:CommandOutputTemplate"
Template page
Views
Actions
Namespaces
Variants
Tools
Line 4: | Line 4: | ||
line2 | line2 | ||
}}</nowiki>''' | }}</nowiki>''' | ||
{{CommandOutputTemplate|prompt=$|ps1fg=yellow|clibg=black|clifg=white|command=command|result= | {{CommandOutputTemplate|prompt=$|ps1fg=yellow|clibg=black|clifg=white|command=command|result=result}} | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<div style="display:block;border-radius:5px;padding-top:3px;padding-bottom:3px;background-color:{{{clibg}}};font-family:monospace;font-size: | <div style="display:block;border-radius:5px;padding-top:3px;padding-bottom:3px;background-color:{{{clibg}}};font-family:monospace;font-size:16px;"> | ||
<span style="background-color:{{{clibg}}};color:{{{ps1fg}}};margin-left:1em;margin-top:0;margin-bottom:0;padding:0;font-weight:bold;">{{{prompt}}}</span> <span style="background-color:{{{clibg}}};color:{{{clifg}}};margin-top:0;margin-bottom:0;padding:0;font-weight:bold;">{{{command}}}</span> | <span style="background-color:{{{clibg}}};color:{{{ps1fg}}};margin-left:1em;margin-top:0;margin-bottom:0;padding:0;font-weight:bold;">{{{prompt}}}</span> <span style="background-color:{{{clibg}}};color:{{{clifg}}};margin-top:0;margin-bottom:0;padding:0;font-weight:bold;">{{{command}}}</span> | ||
<br/> | <br/> | ||
<div style="background-color:{{{clibg}}};color:{{{clifg}}};margin-left:1em;margin-right:1em;margin-top:0;"> | <div style="background-color:{{{clibg}}};color:{{{clifg}}};margin-left:1em;margin-right:1em;margin-top:0;"> | ||
<span | <span>{{{result}}}</span> | ||
</div> | </div> | ||
</div> | </div> | ||
</includeonly> | </includeonly> |
Revision as of 07:34, 9 December 2022
{{CommandOutputTemplate|prompt=$|ps1fg=yellow|clibg=black|clifg=white|command=command|result=result line1 line2 }}
$ command
result