模板:STDarkBlue
来自百问网嵌入式Linux wiki
Wiki(讨论 | 贡献)2020年4月10日 (五) 16:08的版本 (创建页面,内容为“<noinclude> ==Usage== The STDarkBlue template is used '''to color text''' in pages, with the STMicroelectronics brand primary color {{STDarkB…”)
Usage
The STDarkBlue template is used to color text in pages, with the STMicroelectronics brand primary color shade of dark blue (█).
Usage: {{STDarkBlue|<text to color>}}
Where <text to color> is the text to format in dark blue. If this template is called with no text, the hexadecimal code of the color is returned.
Basic examples
You type | You get |
---|---|
Coloring text in dark blue
This is a {{STDarkBlue|STMicroelectronics brand color: shade of dark blue: █}} |
This is a STMicroelectronics brand color: shade of dark blue: █ |
Getting the hexadecimal code of the color
{{STDarkBlue}} is the hexadecimal code of STMicroelectronics dark blue. |
#002052 is the hexadecimal code of STMicroelectronics dark blue. |
More examples
You type | You get |
---|---|
Dark blue and bold
This is a {{STDarkBlue|'''STMicroelectronics'''}} brand color: '''{{STDarkBlue|shade of dark blue: █}}''' |
This is a STMicroelectronics brand color: shade of dark blue: █ |
Dark blue and italic
This is a {{STDarkBlue|''STMicroelectronics''}} brand color: ''{{STDarkBlue|shade of dark blue: █}}'' |
This is a STMicroelectronics brand color: shade of dark blue: █ |
Code
#002052