Template:Code/doc
Bước tới điều hướng
Bước tới tìm kiếm
Đây là trang tài liệu con chuỗi cho Template:Code.
Nếu bạn đã tạo hoặc chỉnh sửa các nội dung của trang này, đừng quên làm mới nó.
Nếu bạn đã tạo hoặc chỉnh sửa các nội dung của trang này, đừng quên làm mới nó.
This template will allow you to format text as a one-line code.
Usage
This template prefers inline formatting of parameters
| Parameters | Miêu tả | Xem trước |
|---|---|---|
| | <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!
|
| | lang = <Option> | Adds syntax highlighting for the language specified using syntaxhighlight tag with inline attribute. List of Supported languages. |
int main() { return 0; }
|
| | style = <CSS> | CSS styles. Note that some styles require !important to be specified.
|
Colored text
|
See Also