Template:RootCmd: Difference between revisions

From Peters wiki
Jump to navigation Jump to search
Created page with "<div style="background-color: #ffe0e0; color:#000000; padding:.05em .5em; margin:.5em; border:1px solid #cc6666; border-left:10px solid #cc6666; font-size: 92%; white-space:pr..."
(No difference)

Revision as of 18:31, 3 January 2012

{{{1}}}

[edit]

File:Template-info.svg Template Documentation

This template is for commands which must be run by the root user. For commands which can be entered by any user, use Template:Command.

Command output should not be included within this template. Use either Template:Codeline (for in-line output usage) or <pre> </pre> (for blocks of output).

Example: {{RootCmd|emerge --ask -uDNvt @world}}

Will produce:

emerge --ask -uDNvt @world


If your template comes out with {{{1}}} instead of the parameter value, see the FAQs page.

Note: This template is restricted in width to avoid issues with TOC templates.