Difference between revisions of "Template:STDarkGreen"

[unchecked revision] [quality revision]
m
m
 

1 Usage[edit]

The STDarkGreen template is used to color text in pages, with the STMicroelectronics brand secondary color shade of dark green (█).

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

Where <text to color> is the text to format in dark green. If this template is called with no text, the hexadecimal code of the color is returned.

2 Basic examples[edit]

You type You get
Coloring text in dark green
This is a {{STDarkGreen|STMicroelectronics brand color: shade of dark green: █}}

This is a STMicroelectronics brand color: shade of dark green: █

Getting the hexadecimal code of the color
{{STDarkGreen}} is the hexadecimal code of STMicroelectronics dark green.

#003D14 is the hexadecimal code of STMicroelectronics dark green.

3 More examples[edit]

You type You get
Dark green and bold
This is a {{STDarkGreen|'''STMicroelectronics'''}} brand color: '''{{STDarkGreen|shade of dark green: █}}'''

This is a STMicroelectronics brand color: shade of dark green: █

Dark green and italic
This is a {{STDarkGreen|''STMicroelectronics''}} brand color: ''{{STDarkGreen|shade of dark green: █}}''

This is a STMicroelectronics brand color: shade of dark green: █

4 Code[edit]

#003D14

<noinclude>

==Usage==
The [[Template:STDarkGreen|STDarkGreen]] template is used '''to color text''' in pages, with the STMicroelectronics brand secondary color {{STDarkGreen|shade of dark green (&#9608;)}}.

 Usage:  <nowiki>{{</nowiki>STDarkGreen|{{HighlightParam|<text to color>}}}}
Where {{HighlightParam|<text to color>}} is the text to format in dark green. If this template is called with no text, the hexadecimal code of the color is returned.

==Basic examples==
{| class="st-table"
! You type !! You get
|-
|  Coloring text in dark green<pre style="white-space: pre-wrap;">

This is a {{STDarkGreen|STMicroelectronics brand color: shade of dark green: &#9608;}}</pre>

|
This is a {{STDarkGreen|STMicroelectronics brand color: shade of dark green: &#9608;}}
|-
| Getting the hexadecimal code of the color<pre style="white-space: pre-wrap;">

{{STDarkGreen}} is the hexadecimal code of STMicroelectronics dark green.</pre>

|
{{STDarkGreen}} is the hexadecimal code of STMicroelectronics dark green.
|}

==More examples==
{| class="st-table"
! You type !! You get
|-
| Dark green and bold<pre style="white-space: pre-wrap;">

This is a {{STDarkGreen|'''STMicroelectronics'''}} brand color: '''{{STDarkGreen|shade of dark green: &#9608;}}'''</pre>

|
This is a {{STDarkGreen|'''STMicroelectronics'''}} brand color: '''{{STDarkGreen|shade of dark green: &#9608;}}'''
|-
| Dark green and italic<pre style="white-space: pre-wrap;">

This is a {{STDarkGreen|''STMicroelectronics''}} brand color: ''{{STDarkGreen|shade of dark green: &#9608;}}''</pre>

|
This is a {{STDarkGreen|''STMicroelectronics''}} brand color: ''{{STDarkGreen|shade of dark green: &#9608;}}''
|}	

==Code==</noinclude>{{#if: {{{1|}}}|<span style="color: #003D14;">{{{1}}}</span>|&#35;003D14}}
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
 
==Usage==
 
==Usage==
The [[Template:STDarkGreen|STDarkGreen]] template is used '''to color text''' in pages, with the STMicroelectronics brand color {{STDarkGreen|shade of dark green (&#9608;)}}.
+
The [[Template:STDarkGreen|STDarkGreen]] template is used '''to color text''' in pages, with the STMicroelectronics brand secondary color {{STDarkGreen|shade of dark green (&#9608;)}}.
   
 
  Usage:  <nowiki>{{</nowiki>STDarkGreen|{{HighlightParam|<text to color>}}}}
 
  Usage:  <nowiki>{{</nowiki>STDarkGreen|{{HighlightParam|<text to color>}}}}