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 (Merge articles) |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== | ||
The [[Template:STDarkBlue|STDarkBlue]] template is used '''to color text''' in pages, with the STMicroelectronics | The [[Template:STDarkBlue|STDarkBlue]] template is used '''to color text''' in pages, with the STMicroelectronics corporate primary color {{STDarkBlue|shade of dark blue (█)}}. | ||
Usage: <nowiki>{{</nowiki>STDarkBlue|{{HighlightParam|<text to color>}}}} | Usage: <nowiki>{{</nowiki>STDarkBlue|{{HighlightParam|<text to color>}}}} | ||
Line 12: | Line 12: | ||
| Coloring text in dark blue | | Coloring text in dark blue | ||
<pre style="white-space: pre-wrap;"> | <pre style="white-space: pre-wrap;"> | ||
This is a {{STDarkBlue|STMicroelectronics | This is a {{STDarkBlue|STMicroelectronics corporate color: shade of dark blue: █}} | ||
</pre> | </pre> | ||
| | | | ||
This is a {{STDarkBlue|STMicroelectronics | This is a {{STDarkBlue|STMicroelectronics corporate color: shade of dark blue: █}} | ||
|- | |- | ||
| Getting the hexadecimal code of the color | | Getting the hexadecimal code of the color | ||
Line 31: | Line 31: | ||
| Dark blue and bold | | Dark blue and bold | ||
<pre style="white-space: pre-wrap;"> | <pre style="white-space: pre-wrap;"> | ||
This is a {{STDarkBlue|'''STMicroelectronics'''}} | This is a {{STDarkBlue|'''STMicroelectronics'''}} corporate color: '''{{STDarkBlue|shade of dark blue: █}}''' | ||
</pre> | </pre> | ||
| | | | ||
This is a {{STDarkBlue|'''STMicroelectronics'''}} | This is a {{STDarkBlue|'''STMicroelectronics'''}} corporate color: '''{{STDarkBlue|shade of dark blue: █}}''' | ||
|- | |- | ||
| Dark blue and italic | | Dark blue and italic | ||
<pre style="white-space: pre-wrap;"> | <pre style="white-space: pre-wrap;"> | ||
This is a {{STDarkBlue|''STMicroelectronics''}} | This is a {{STDarkBlue|''STMicroelectronics''}} corporate color: ''{{STDarkBlue|shade of dark blue: █}}'' | ||
</pre> | </pre> | ||
| | | | ||
This is a {{STDarkBlue|''STMicroelectronics''}} | This is a {{STDarkBlue|''STMicroelectronics''}} corporate color: ''{{STDarkBlue|shade of dark blue: █}}'' | ||
|} | |} | ||
==Code== | ==Code== | ||
</noinclude>{{#if: {{{1|}}}|<span style="color: # | </noinclude>{{#if: {{{1|}}}|<span style="color: #03234B;">{{{1}}}</span>|#03234B}} |
Revision as of 13:58, 7 September 2020
1. Usage
The STDarkBlue template is used to color text in pages, with the STMicroelectronics corporate primary color shade of dark blue (█).
<text to color>}}Usage: {{STDarkBlue|
Where <text to color> is the text to format in dark blue. 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 dark blue
This is a {{STDarkBlue|STMicroelectronics corporate color: shade of dark blue: █}}
|
This is a STMicroelectronics corporate color: shade of dark blue: █ |
Getting the hexadecimal code of the color
{{STDarkBlue}} is the hexadecimal code of STMicroelectronics dark blue.
|
#03234B is the hexadecimal code of STMicroelectronics dark blue. |
3. More examples
You type | You get |
---|---|
Dark blue and bold
This is a {{STDarkBlue|'''STMicroelectronics'''}} corporate color: '''{{STDarkBlue|shade of dark blue: █}}'''
|
This is a STMicroelectronics corporate color: shade of dark blue: █ |
Dark blue and italic
This is a {{STDarkBlue|''STMicroelectronics''}} corporate color: ''{{STDarkBlue|shade of dark blue: █}}''
|
This is a STMicroelectronics corporate color: shade of dark blue: █ |
4. Code
#03234B