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