Template:C
From Gentoo Wiki
[edit]
Documentation
Note
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages. As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.
This page is a template. It contains some standardized, often used text, which can be transcluded inside other pages. As this template is widely used in our wiki, it may be protected in which case only staff members can change it. Use the discussion page to propose enhancements or fixes, or to voice your opinion.
Renders a command or technical concept inline in a monospaced font. This template replaces the functionality of the now deprecated <tt> HTML tag.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Content | 1 | no description | String | required |
Tip
Use {{=}} or {{!}} instead of the characters "=" or "|" for equal or pipe symbols, respectively.
Use {{=}} or {{!}} instead of the characters "=" or "|" for equal or pipe symbols, respectively.
Usage
See the template's testcases:
Unnamed parameter 1 | |
---|---|
Wiki code | The {{C|wheel}} group
|
Main version | The wheel group |
Sandbox version | The wheel group |
Unnamed parameters 1 | |
---|---|
Wiki code | {{C|ls}} is most commonly used to list files
|
Main version | ls is most commonly used to list files. |
Sandbox version | ls is most commonly used to list files. |
See also
- The Gentoo Wiki Guidelines contains more information on when to use this template.
- {{Cmd}}
- {{Emerge}}
- {{GenericCmd}}
- {{RootCmd}}
Note
The above documentation is transcluded from Template:C/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. (See the subpages of this template.)
The above documentation is transcluded from Template:C/doc. (edit | history)
Editors can experiment in this template's sandbox (edit) and testcases (edit) pages.
Please add categories and interwikis to the /doc subpage. (See the subpages of this template.)