Registered User m (4 revisions imported) |
Registered User (Merge articles) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== | ||
The [[Template:STYellow|STYellow]] template is used '''to color text''' in pages, with the STMicroelectronics | The [[Template:STYellow|STYellow]] template is used '''to color text''' in pages, with the STMicroelectronics corporate primary color {{STYellow|shade of yellow (█)}}. | ||
Usage: <nowiki>{{</nowiki>STYellow|{{HighlightParam|<text to color>}}}} | Usage: <nowiki>{{</nowiki>STYellow|{{HighlightParam|<text to color>}}}} | ||
Line 12: | Line 12: | ||
| Coloring text in yellow | | Coloring text in yellow | ||
<pre style="white-space: pre-wrap;"> | <pre style="white-space: pre-wrap;"> | ||
This is a {{STYellow|STMicroelectronics | This is a {{STYellow|STMicroelectronics corporate color: shade of yellow: █}} | ||
</pre> | </pre> | ||
| | | | ||
This is a {{STYellow|STMicroelectronics | This is a {{STYellow|STMicroelectronics corporate color: shade of yellow: █}} | ||
|- | |- | ||
| Getting the hexadecimal code of the color | | Getting the hexadecimal code of the color | ||
Line 31: | Line 31: | ||
| Dark yellow and bold | | Dark yellow and bold | ||
<pre style="white-space: pre-wrap;"> | <pre style="white-space: pre-wrap;"> | ||
This is a {{STYellow|'''STMicroelectronics'''}} | This is a {{STYellow|'''STMicroelectronics'''}} corporate color: '''{{STYellow|shade of yellow: █}}''' | ||
</pre> | </pre> | ||
| | | | ||
This is a {{STYellow|'''STMicroelectronics'''}} | This is a {{STYellow|'''STMicroelectronics'''}} corporate color: '''{{STYellow|shade of yellow: █}}''' | ||
|- | |- | ||
| Dark yellow and italic | | Dark yellow and italic | ||
<pre style="white-space: pre-wrap;"> | <pre style="white-space: pre-wrap;"> | ||
This is a {{STYellow|''STMicroelectronics''}} | This is a {{STYellow|''STMicroelectronics''}} corporate color: ''{{STYellow|shade of yellow: █}}'' | ||
</pre> | </pre> | ||
| | | | ||
This is a {{STYellow|''STMicroelectronics''}} | 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: # | </noinclude>{{#if: {{{1|}}}|<span style="color: #FFD200;">{{{1}}}</span>|#FFD200}} |
Revision as of 15:37, 28 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