Difference between revisions of "Template:Cmd"

From Steak Wiki
Jump to navigationJump to search
(Created page with "<noinclude>{{Template}} == Template Documentation == This template should be used for commands<br /> Example: <nowiki>{{Cmd|apk add <var>package</var>}}</nowiki> Will produce...")
 
 
Line 3: Line 3:
 
This template should be used for commands<br />
 
This template should be used for commands<br />
 
Example:
 
Example:
<nowiki>{{Cmd|apk add <var>package</var>}}</nowiki>
+
<nowiki>{{Cmd|apt install <var>package</var>}}</nowiki>
  
 
Will produce:
 
Will produce:
{{Cmd|apk add <var>package</var>}}
+
{{Cmd|apt install <var>package</var>}}
  
 
<!-- 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:#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;  

Latest revision as of 03:44, 23 May 2020

Template:Template

Template Documentation

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

Will produce:

apt install package