Registered User mNo edit summary |
Registered User (Merge articles) |
||
Line 43: | Line 43: | ||
This is a {{STYellow|''STMicroelectronics''}} corporate color: ''{{STYellow|shade of yellow: █}}'' | This is a {{STYellow|''STMicroelectronics''}} corporate color: ''{{STYellow|shade of yellow: █}}'' | ||
|} | |} | ||
==Maintenance== | |||
This template is a template common to all ST wikis. <br> | |||
Modifications must be done into the [[stwikimodel:Template:STYellow|WikiModel]]. They must be reviewed by all ST wikis maintainers.<br> | |||
When approved, the template can be pushed/merged towards all ST wikis. | |||
==Code== | ==Code== | ||
</noinclude>{{#if: {{{1|}}}|<span style="color: #FFD200;">{{{1}}}</span>|#FFD200}} | </noinclude>{{#if: {{{1|}}}|<span style="color: #FFD200;">{{{1}}}</span>|#FFD200}} |
Revision as of 18:35, 8 July 2021
1. Usage
The STYellow template is used to color text in pages, with the STMicroelectronics corporate primary color shade of yellow (█).
<text to color>}}Usage: {{STYellow|
Where <text to color> is the text to format in yellow. If this template is called with no text, the hexadecimal code of the color is returned.
2. Basic examples
You type | You get |
---|---|
Coloring text in yellow
This is a {{STYellow|STMicroelectronics corporate color: shade of yellow: █}}
|
This is a STMicroelectronics corporate color: shade of yellow: █ |
Getting the hexadecimal code of the color
{{STYellow}} is the hexadecimal code of STMicroelectronics yellow.
|
#FFD200 is the hexadecimal code of STMicroelectronics yellow. |
3. More examples
You type | You get |
---|---|
Dark yellow and bold
This is a {{STYellow|'''STMicroelectronics'''}} corporate color: '''{{STYellow|shade of yellow: █}}'''
|
This is a STMicroelectronics corporate color: shade of yellow: █ |
Dark yellow and italic
This is a {{STYellow|''STMicroelectronics''}} corporate color: ''{{STYellow|shade of yellow: █}}''
|
This is a STMicroelectronics corporate color: shade of yellow: █ |
4. Maintenance
This template is a template common to all ST wikis.
Modifications must be done into the WikiModel. They must be reviewed by all ST wikis maintainers.
When approved, the template can be pushed/merged towards all ST wikis.
5. Code
#FFD200