Difference between revisions of "Template:CommandOutputTemplate"
Template page
Views
Actions
Namespaces
Variants
Tools
(Added comment on usage) |
|||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
'''<nowiki>{{CommandOutputTemplate|prompt=$|ps1fg=yellow|clibg=black|clifg=white|command=command|result=result | Provide the result inside a set of <nowiki><pre>result</pre></nowiki> tags to ensure it is broken down into lines. | ||
'''<nowiki>{{CommandOutputTemplate|prompt=$|ps1fg=yellow|clibg=black|clifg=white|command=command|result=result}}</nowiki>''' | |||
}}</nowiki>''' | |||
{{CommandOutputTemplate|prompt=$|ps1fg=yellow|clibg=black|clifg=white|command=command|result=result}} | {{CommandOutputTemplate|prompt=$|ps1fg=yellow|clibg=black|clifg=white|command=command|result=result}} | ||
</noinclude><includeonly> | </noinclude><includeonly> |
Revision as of 07:36, 9 December 2022
Provide the result inside a set of <pre>result</pre> tags to ensure it is broken down into lines. {{CommandOutputTemplate|prompt=$|ps1fg=yellow|clibg=black|clifg=white|command=command|result=result}}
$ command
result