Last edited 3 years ago

Template:STDarkBlue: Difference between revisions

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 brand primary color {{STDarkBlue|shade of dark blue (&#9608;)}}.
The [[Template:STDarkBlue|STDarkBlue]] template is used '''to color text''' in pages, with the STMicroelectronics corporate primary color {{STDarkBlue|shade of dark blue (&#9608;)}}.


  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 brand color: shade of dark blue: &#9608;}}
This is a {{STDarkBlue|STMicroelectronics corporate color: shade of dark blue: &#9608;}}
</pre>
</pre>
|
|
This is a {{STDarkBlue|STMicroelectronics brand color: shade of dark blue: &#9608;}}
This is a {{STDarkBlue|STMicroelectronics corporate color: shade of dark blue: &#9608;}}
|-
|-
| 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'''}} brand color: '''{{STDarkBlue|shade of dark blue: &#9608;}}'''
This is a {{STDarkBlue|'''STMicroelectronics'''}} corporate color: '''{{STDarkBlue|shade of dark blue: &#9608;}}'''
</pre>
</pre>
|
|
This is a {{STDarkBlue|'''STMicroelectronics'''}} brand color: '''{{STDarkBlue|shade of dark blue: &#9608;}}'''
This is a {{STDarkBlue|'''STMicroelectronics'''}} corporate color: '''{{STDarkBlue|shade of dark blue: &#9608;}}'''
|-
|-
| 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''}} brand color: ''{{STDarkBlue|shade of dark blue: &#9608;}}''
This is a {{STDarkBlue|''STMicroelectronics''}} corporate color: ''{{STDarkBlue|shade of dark blue: &#9608;}}''
</pre>
</pre>
|
|
This is a {{STDarkBlue|''STMicroelectronics''}} brand color: ''{{STDarkBlue|shade of dark blue: &#9608;}}''
This is a {{STDarkBlue|''STMicroelectronics''}} corporate color: ''{{STDarkBlue|shade of dark blue: &#9608;}}''
|}
|}


==Code==
==Code==
</noinclude>{{#if: {{{1|}}}|<span style="color: #002052;">{{{1}}}</span>|&#35;002052}}
</noinclude>{{#if: {{{1|}}}|<span style="color: #03234B;">{{{1}}}</span>|&#35;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 (█).

Usage:  {{STDarkBlue|<text to color>}}

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

No categories assignedEdit