This message will disappear after all relevant tasks have been resolved.
Semantic MediaWiki
There are 1 incomplete or pending task to finish installation of Semantic MediaWiki. An administrator or user with sufficient rights can complete it. This should be done before adding new data to avoid inconsistencies.Registered User mNo edit summary |
Registered User mNo edit summary |
||
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: █}}'' | ||
|} | |} | ||
==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 12:32, 7 August 2020
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. Code
#FFD200