Template:Code
{{{1}}}
Usage
An inline source code string.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Code | 1 code | The code to display. | String | required |
Language | 2 lang | The programming language of the source code. List of valid values is at: [[mw:Extension:SyntaxHighlight#Supported_languages]]
| String | suggested |
Class | class | no description | String | optional |
ID | id | no description | String | optional |
CSS Style | style | no description | String | optional |