模板:STDarkGreen

来自百问网嵌入式Linux wiki
Wiki讨论 | 贡献2020年11月2日 (一) 12:09的版本 (创建页面,内容为“<noinclude> ==Usage== The STDarkGreen template is used '''to color text''' in pages, with the STMicroelectronics corporate secondary color {…”)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

Usage

The STDarkGreen template is used to color text in pages, with the STMicroelectronics corporate secondary color shade of dark green (█).

Usage:  {{STDarkGreen|<text to color>}}

Where <text to color> is the text to format in dark green. 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 green
This is a {{STDarkGreen|STMicroelectronics corporate color: shade of dark green: █}}

This is a STMicroelectronics corporate color: shade of dark green: █

Getting the hexadecimal code of the color
{{STDarkGreen}} is the hexadecimal code of STMicroelectronics dark green.

#04572F is the hexadecimal code of STMicroelectronics dark green.

More examples

You type You get
Dark green and bold
This is a {{STDarkGreen|'''STMicroelectronics'''}} corporate color: '''{{STDarkGreen|shade of dark green: █}}'''

This is a STMicroelectronics corporate color: shade of dark green: █

Dark green and italic
This is a {{STDarkGreen|''STMicroelectronics''}} corporate color: ''{{STDarkGreen|shade of dark green: █}}''

This is a STMicroelectronics corporate color: shade of dark green: █

Code

#04572F