Registered User mNo edit summary |
Registered User (Merge articles) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== | ||
The [[Template:STPurple|STPurple]] template is used '''to color text''' in pages, with the STMicroelectronics | The [[Template:STPurple|STPurple]] template is used '''to color text''' in pages, with the STMicroelectronics corporate secondary color {{STPurple|shade of purple (█)}}. | ||
Usage: <nowiki>{{</nowiki>STPurple|{{HighlightParam|<text to color>}}}} | Usage: <nowiki>{{</nowiki>STPurple|{{HighlightParam|<text to color>}}}} | ||
Line 12: | Line 12: | ||
| Coloring text in purple | | Coloring text in purple | ||
<pre style="white-space: pre-wrap;"> | <pre style="white-space: pre-wrap;"> | ||
This is a {{STPurple|STMicroelectronics | This is a {{STPurple|STMicroelectronics corporate color: shade of purple: █}} | ||
</pre> | </pre> | ||
| | | | ||
This is a {{STPurple|STMicroelectronics | This is a {{STPurple|STMicroelectronics corporate color: shade of purple: █}} | ||
|- | |- | ||
| Getting the hexadecimal code of the color | | Getting the hexadecimal code of the color | ||
Line 31: | Line 31: | ||
| Purple and bold | | Purple and bold | ||
<pre style="white-space: pre-wrap;"> | <pre style="white-space: pre-wrap;"> | ||
This is a {{STPurple|'''STMicroelectronics'''}} | This is a {{STPurple|'''STMicroelectronics'''}} corporate color: '''{{STPurple|shade of purple: █}}''' | ||
</pre> | </pre> | ||
| | | | ||
This is a {{STPurple|'''STMicroelectronics'''}} | This is a {{STPurple|'''STMicroelectronics'''}} corporate color: '''{{STPurple|shade of purple: █}}''' | ||
|- | |- | ||
| Purple and italic | | Purple and italic | ||
<pre style="white-space: pre-wrap;"> | <pre style="white-space: pre-wrap;"> | ||
This is a {{STPurple|''STMicroelectronics''}} | This is a {{STPurple|''STMicroelectronics''}} corporate color: ''{{STPurple|shade of purple: █}}'' | ||
</pre> | </pre> | ||
| | | | ||
This is a {{STPurple|''STMicroelectronics''}} | This is a {{STPurple|''STMicroelectronics''}} corporate color: ''{{STPurple|shade of purple: █}}'' | ||
|} | |} | ||
==Code== | ==Code== | ||
</noinclude>{{#if: {{{1|}}}|<span style="color: # | </noinclude>{{#if: {{{1|}}}|<span style="color: #8C0078;">{{{1}}}</span>|#8C0078}} |
Revision as of 14:11, 7 September 2020
1. Usage
The STPurple template is used to color text in pages, with the STMicroelectronics corporate secondary color shade of purple (█).
<text to color>}}Usage: {{STPurple|
Where <text to color> is the text to format in purple. 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 purple
This is a {{STPurple|STMicroelectronics corporate color: shade of purple: █}}
|
This is a STMicroelectronics corporate color: shade of purple: █ |
Getting the hexadecimal code of the color
{{STPurple}} is the hexadecimal code of STMicroelectronics purple.
|
#8C0078 is the hexadecimal code of STMicroelectronics purple. |
3. More examples
You type | You get |
---|---|
Purple and bold
This is a {{STPurple|'''STMicroelectronics'''}} corporate color: '''{{STPurple|shade of purple: █}}'''
|
This is a STMicroelectronics corporate color: shade of purple: █ |
Purple and italic
This is a {{STPurple|''STMicroelectronics''}} corporate color: ''{{STPurple|shade of purple: █}}''
|
This is a STMicroelectronics corporate color: shade of purple: █ |
4. Code
#8C0078