Difference between revisions of "Template:STPurple"

[quality revision] [quality revision]
m
(Merge articles)

1 Usage[edit]

The STPurple template is used to color text in pages, with the STMicroelectronics corporate secondary color shade of purple (█).

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

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[edit]

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[edit]

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 Maintenance[edit]

This template is a template common to all ST wikis.
Modifications must be done into the WikiModel. They must be reviewed by all ST wikis maintainers.
When approved, the template can be pushed/merged towards all ST wikis.

5 Code[edit]

#8C0078

<noinclude>

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

 Usage:  <nowiki>{{</nowiki>STPurple|{{HighlightParam|<text to color>}}}}
Where {{HighlightParam|<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.

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

This is a {{STPurple|STMicroelectronics corporate color: shade of purple: &#9608;}}</pre>

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

{{STPurple}} is the hexadecimal code of STMicroelectronics purple.</pre>

|
{{STPurple}} is the hexadecimal code of STMicroelectronics purple.
|}

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

This is a {{STPurple|'''STMicroelectronics'''}} corporate color: '''{{STPurple|shade of purple: &#9608;}}'''</pre>

|
This is a {{STPurple|'''STMicroelectronics'''}} corporate color: '''{{STPurple|shade of purple: &#9608;}}'''
|-
| Purple and italic<pre style="white-space: pre-wrap;">

This is a {{STPurple|''STMicroelectronics''}} corporate color: ''{{STPurple|shade of purple: &#9608;}}''</pre>

|
This is a {{STPurple|''STMicroelectronics''}} corporate color: ''{{STPurple|shade of purple: &#9608;}}''
|}	

==Maintenance==
This template is a template common to all ST wikis. <br>

Modifications must be done into the [[stwikimodel:Template:STPurple|WikiModel]]. They must be reviewed by all  ST wikis maintainers.<br>

When approved, the template can be pushed/merged towards all ST wikis.

==Code==</noinclude>{{#if: {{{1|}}}|<span style="color: #8C0078;">{{{1}}}</span>|&#35;8C0078}}
Line 43: Line 43:
 
This is a {{STPurple|''STMicroelectronics''}} corporate color: ''{{STPurple|shade of purple: &#9608;}}''
 
This is a {{STPurple|''STMicroelectronics''}} corporate color: ''{{STPurple|shade of purple: &#9608;}}''
 
|}
 
|}
  +
  +
==Maintenance==
  +
This template is a template common to all ST wikis. <br>
  +
Modifications must be done into the [[stwikimodel:Template:STPurple|WikiModel]]. They must be reviewed by all  ST wikis maintainers.<br>
  +
When approved, the template can be pushed/merged towards all ST wikis.
   
 
==Code==
 
==Code==
 
</noinclude>{{#if: {{{1|}}}|<span style="color: #8C0078;">{{{1}}}</span>|&#35;8C0078}}
 
</noinclude>{{#if: {{{1|}}}|<span style="color: #8C0078;">{{{1}}}</span>|&#35;8C0078}}