From Valve Developer Community
Jump to navigation
Jump to search

Available doc translations
…
English
This template will allow you to format text as a one-line code.
Usage
This template prefers inline formatting of parameters
| Parameters
|
Description
|
Preview
|
| <Text> | 1 = <Text>
|
The text that will be displayed. Can contain links, templates and raw html, except when the {{{lang}}} parameter is used.
|
Hello, World!Template:Rlb
|
| | lang = <Option>
|
Adds syntax highlighting for the language specified using syntaxhighlight tag with inline attribute. List of Supported languages.
|
int main() { return 0; }Template:Rlb
|
| | style = <CSS>
|
CSS styles. Note that some styles require !importantTemplate:Rlb to be specified.
|
Colored textTemplate:Rlb
|
See Also