匿名
未登录
登录
百问网嵌入式Linux wiki
搜索
查看“模板:Highlight”的源代码
来自百问网嵌入式Linux wiki
名字空间
模板
讨论
更多
更多
页面选项
Read
查看源代码
历史
←
模板:Highlight
因为以下原因,您没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
<noinclude> ==Usage== The [[Template:Highlight|Highlight]] template is used '''to highlight important information''' in pages. It formats the text with the STMicroelectronics brand color <span style="color: {{STPink}};">shade of pink (█)</span>, and in <span style="font-weight: bold;">bold</span>. Usage: <nowiki>{{</nowiki>Highlight|{{HighlightParam|<text to highlight>}}}} :Where {{HighlightParam|<text to highlight>}} is the important information to highlight ==Basic examples== {| class="st-table" ! You type !! You get |- | Highlighting important information <pre style="white-space: pre-wrap;"> The commands only apply {{Highlight|for versions up to x.y}}, and it is {{Highlight|mandatory}} to execute them </pre> | The commands only apply {{Highlight|for versions up to x.y}}, and it is {{Highlight|mandatory}} to execute them |} ==More examples== {| class="st-table" ! 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 <pre style="white-space: pre-wrap;"> The commands only apply {{Highlight|'''for versions up to x.y'''}}, and it is '''{{Highlight|mandatory}}''' to execute them </pre> | The commands only apply {{Highlight|'''for versions up to x.y'''}}, and it is '''{{Highlight|mandatory}}''' to execute them |- | The parameter of the template is formatted in italic: the parameter is then in bold and italic <pre style="white-space: pre-wrap;"> The commands only apply {{Highlight|''for versions up to x.y''}}, and it is ''{{Highlight|mandatory}}'' to execute them </pre> | The commands only apply {{Highlight|''for versions up to x.y''}}, and it is ''{{Highlight|mandatory}}'' to execute them |} ==Code== </noinclude><span style="color: #D4007A; font-weight: bold;">{{{1}}}</span>
该页面使用的模板:
模板:Highlight
(
查看源代码
)
模板:HighlightParam
(
查看源代码
)
模板:STPink
(
查看源代码
)
返回至
模板:Highlight
。
导航
导航
WIKI首页
官方店铺
资料下载
交流社区
所有页面
所有产品
MPU-Linux开发板
MCU-单片机开发板
Linux开发系列视频
单片机开发系列视频
所有模块配件
Wiki工具
Wiki工具
特殊页面
页面工具
页面工具
用户页面工具
更多
链入页面
相关更改
页面信息
页面日志