Template:Cmd: Difference between revisions

From Alpine Linux
No edit summary
(rev)
Tag: Manual revert
 
(24 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<div style="background-color:#ddffdd; color:#000000; padding:.05em .5em; margin:.5em; border:1px solid #99cc99; border-left:10px solid #99cc99; font-size: 92%; white-space:pre; font-family:monospace; width: 55%;">{{{1}}}</div><noinclude>
<noinclude>{{Template}}
== Template Documentation ==
== Template Documentation ==
This template should be used for commands
This template should be used for commands<br />
Example:
Example:
<nowiki>{{Command|apk add -U}}</nowiki>
<nowiki>{{Cmd|apk add <var>package</var>}}</nowiki>


Will produce:
Will produce:
{{Command|apk add -U}}
{{Cmd|apk add <var>package</var>}}


[[Category:Templates]]</noinclude>
<!-- background-color:#eeeeee; color:#111111; padding:.05em .5em; margin:.5em; border:1px solid #dddddd; border-left:2px solid #dddddd; white-space:pre; font-family:monospace, Courier; font-size:10pt;
 
background-color:#f9f9f9
 
-->
 
</noinclude><includeonly><p style="background-color:#eeeeee; border:1px dashed #bbbbbb; line-height:1.1em; padding:1em; font-family:monospace, Courier; font-size:10pt; white-space:pre; overflow:auto;">{{{1}}}</p></includeonly>

Latest revision as of 20:39, 2 July 2023

Template Documentation for Cmd

This page is a template and should only be used as part of other articles. For more information, read Help:Template.

Please do not experiment with this template; you could ruin all pages using this template. If you want to edit this template, copy the text to Template:Sandbox, edit and test it there, and copy it back when it works.

Feel free to voice your opinion regarding this template.

Template Documentation

This template should be used for commands
Example: {{Cmd|apk add <var>package</var>}}

Will produce:

apk add package