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 mNo edit summary |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
==Usage== | ==Usage== | ||
The [[Template:Orange|Green]] template is used '''to color text''' in pages, with the {{Orange|"classic orange" (█)}} color. | The [[Template:Orange|Green]] template is used '''to color text''' in pages, with the {{Orange|"classic MediaWiki orange" (█)}} color. | ||
Usage: <nowiki>{{</nowiki>Orange|{{HighlightParam|<text to color>}}}} | Usage: <nowiki>{{</nowiki>Orange|{{HighlightParam|<text to color>}}}} | ||
Where {{HighlightParam|<text to color>}} is the text to format in orange. If this template is called with no text, the hexadecimal code of the color is returned. | Where {{HighlightParam|<text to color>}} is the text to format in orange. If this template is called with no text, the hexadecimal code of the color is returned. | ||
{{Info|Prefer the STMicroelectronics | {{Info|Prefer the STMicroelectronics corporate colors.}} | ||
==Basic examples== | ==Basic examples== | ||
Line 11: | Line 11: | ||
! You type !! You get | ! You type !! You get | ||
|- | |- | ||
| Coloring text in "classic" orange | | Coloring text in "classic MediaWiki" orange | ||
<pre style="white-space: pre-wrap;"> | <pre style="white-space: pre-wrap;"> | ||
This is a {{Orange|"classic" color: orange: █}} | This is a {{Orange|"classic MediaWiki" color: orange: █}} | ||
</pre> | </pre> | ||
| | | | ||
This is a {{Orange|"classic" color: orange: █}} | This is a {{Orange|"classic MediaWiki" color: orange: █}} | ||
|- | |- | ||
| Getting the hexadecimal code of the color | | Getting the hexadecimal code of the color | ||
<pre style="white-space: pre-wrap;"> | <pre style="white-space: pre-wrap;"> | ||
{{Orange}} is the hexadecimal code of the "classic" orange. | {{Orange}} is the hexadecimal code of the "classic MediaWiki" orange. | ||
</pre> | </pre> | ||
| | | | ||
{{Orange}} is the hexadecimal code of the "classic" orange. | {{Orange}} is the hexadecimal code of the "classic MediaWiki" orange. | ||
|} | |} | ||
Line 32: | Line 32: | ||
| Orange and bold | | Orange and bold | ||
<pre style="white-space: pre-wrap;"> | <pre style="white-space: pre-wrap;"> | ||
This is a {{Orange|'''"classic"'''}} color: '''{{Orange|orange: █}}''' | This is a {{Orange|'''"classic MediaWiki"'''}} color: '''{{Orange|orange: █}}''' | ||
</pre> | </pre> | ||
| | | | ||
This is a {{Orange|'''"classic"'''}} color: '''{{Orange|orange: █}}''' | This is a {{Orange|'''"classic MediaWiki"'''}} color: '''{{Orange|orange: █}}''' | ||
|- | |- | ||
| Orange and italic | | Orange and italic | ||
<pre style="white-space: pre-wrap;"> | <pre style="white-space: pre-wrap;"> | ||
This is a {{Orange|''"classic"''}} color: ''{{Orange|orange: █}}'' | This is a {{Orange|''"classic MediaWiki"''}} color: ''{{Orange|orange: █}}'' | ||
</pre> | </pre> | ||
| | | | ||
This is a {{Orange|''"classic"''}} color: ''{{Orange|orange: █}}'' | This is a {{Orange|''"classic MediaWiki"''}} color: ''{{Orange|orange: █}}'' | ||
|} | |} | ||
==Code== | ==Code== | ||
</noinclude>{{#if: {{{1|}}}|<span style="color: orange;">{{{1}}}</span>|#FFA500}} | </noinclude>{{#if: {{{1|}}}|<span style="color: orange;">{{{1}}}</span>|#FFA500}} |
Revision as of 12:45, 7 August 2020
1. Usage
The Green template is used to color text in pages, with the "classic MediaWiki orange" (█) color.
<text to color>}}Usage: {{Orange|
Where <text to color> is the text to format in orange. If this template is called with no text, the hexadecimal code of the color is returned.
![]() |
Prefer the STMicroelectronics corporate colors. |
2. Basic examples
You type | You get |
---|---|
Coloring text in "classic MediaWiki" orange
This is a {{Orange|"classic MediaWiki" color: orange: █}}
|
This is a "classic MediaWiki" color: orange: █ |
Getting the hexadecimal code of the color
{{Orange}} is the hexadecimal code of the "classic MediaWiki" orange.
|
#FFA500 is the hexadecimal code of the "classic MediaWiki" orange. |
3. More examples
You type | You get |
---|---|
Orange and bold
This is a {{Orange|'''"classic MediaWiki"'''}} color: '''{{Orange|orange: █}}'''
|
This is a "classic MediaWiki" color: orange: █ |
Orange and italic
This is a {{Orange|''"classic MediaWiki"''}} color: ''{{Orange|orange: █}}''
|
This is a "classic MediaWiki" color: orange: █ |
4. Code
#FFA500