模板:Highlight

来自百问网嵌入式Linux wiki
Wiki讨论 | 贡献2020年4月10日 (五) 15:37的版本 (创建页面,内容为“<noinclude> ==Usage== The Highlight template is used '''to highlight important information''' in pages. It formats the text with the STMicroel…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

Usage

The Highlight template is used to highlight important information in pages. It formats the text with the STMicroelectronics brand color shade of pink (█), and in bold.

Usage:  {{Highlight|<text to highlight>}}
Where <text to highlight> is the important information to highlight

Basic examples

You type You get
Highlighting important information
The commands only apply {{Highlight|for versions up to x.y}}, and it is {{Highlight|mandatory}} to execute them

The commands only apply for versions up to x.y, and it is mandatory to execute them

More examples

You type You get
The parameter of the template is formatted in bold: it is useless because the template already formats in bold, but it keeps the parameter in bold
The commands only apply {{Highlight|'''for versions up to x.y'''}}, and it is '''{{Highlight|mandatory}}''' to execute them

The commands only apply for versions up to x.y, and it is mandatory to execute them

The parameter of the template is formatted in italic: the parameter is then in bold and italic
The commands only apply {{Highlight|''for versions up to x.y''}}, and it is ''{{Highlight|mandatory}}'' to execute them

The commands only apply for versions up to x.y, and it is mandatory to execute them

Code

{{{1}}}