Difference between revisions of "Template:Codeline"

From Ethersex_Wiki
Jump to: navigation, search
(imported https://wiki.archlinux.org/index.php/Template:Codeline)
 
(changed code to ethersex example)
 
Line 5: Line 5:
 
====Usage====
 
====Usage====
  
{{Codeline|1=<nowiki>{{Codeline|pacman --sync --refresh --sysupgrade}}</nowiki>}}
+
{{Codeline|1=<nowiki>{{Codeline|make menuconfig}}</nowiki>}}
  
 
====Example====
 
====Example====
  
{{Codeline|pacman --sync --refresh --sysupgrade}}</noinclude><includeonly><span style="font-family: monospace; color: #005; white-space: nowrap">{{{1}}}</span></includeonly>
+
{{Codeline|make menuconfig}}</noinclude><includeonly><span style="font-family: monospace; color: #005; white-space: nowrap">{{{1}}}</span></includeonly>

Latest revision as of 16:13, 19 September 2011

This page is a template. It contains no ethersex-related information, but should 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.

A 'Codeline' element used to format lines of code.

Usage

{{Codeline|make menuconfig}}

Example

make menuconfig