Registered User (Merge articles) |
Registered User (Merge articles) |
||
Line 44: | Line 44: | ||
This was a {{Grey|''"classic MediaWiki"''}} color: ''{{Grey|grey: █}}'': it is now mapped on the ST dark grey. | This was a {{Grey|''"classic MediaWiki"''}} color: ''{{Grey|grey: █}}'': it is now mapped on the ST dark grey. | ||
|} | |} | ||
==Maintenance== | |||
This template is a template common to all ST wikis. <br> | |||
Modifications must be done into the [[stwikimodel:Template:Grey|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: {{STDarkGrey}};">{{{1}}}</span>|{{STDarkGrey}}}} | </noinclude>{{#if: {{{1|}}}|<span style="color: {{STDarkGrey}};">{{{1}}}</span>|{{STDarkGrey}}}} |
Latest revision as of 16:27, 9 March 2021
1. Usage
Historically, the Grey template was used to color text in pages, with the "classic MediaWiki grey" color. It is now mapped on the STDarkGrey template that is a STMicroelectronics corporate color.
<text to color>}}Usage: {{Grey|
Where <text to color> is the text to format in grey. If this template is called with no text, the hexadecimal code of the color is returned.
![]() |
Do not use this template anymore: use the STDarkGrey template instead. |
2. Basic examples
You type | You get |
---|---|
Coloring text in "classic MediaWiki" grey: it is now mapped on the STDarkGrey template
This was a {{Grey|"classic MediaWiki" color: grey: █}}: it is now mapped on the ST dark grey.
|
This was a "classic MediaWiki" color: grey: █: it is now mapped on the ST dark grey. |
Getting the hexadecimal code of the color
{{Grey}} is the hexadecimal code of STMicroelectronics dark grey.
|
#4F5251 is the hexadecimal code of STMicroelectronics dark grey. |
3. More examples
You type | You get |
---|---|
Grey and bold
This was a {{Grey|'''"classic MediaWiki"'''}} color: '''{{Grey|grey: █}}''': it is now mapped on the ST dark grey.
|
This was a "classic MediaWiki" color: grey: █: it is now mapped on the ST dark grey. |
Grey and italic
This was a {{Grey|''"classic MediaWiki"''}} color: ''{{Grey|grey: █}}'': it is now mapped on the ST dark grey.
|
This was a "classic MediaWiki" color: grey: █: it is now mapped on the ST dark grey. |
4. Maintenance
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
#4F5251