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:HighlightParam|HighlightParam]] template is used '''to highlight parameters, values or options that must be set''', for example in commands, in pages. It formats the text with the STMicroelectronics | The [[Template:HighlightParam|HighlightParam]] template is used '''to highlight parameters, values or options that must be set''', for example in commands, in pages. It formats the text with the STMicroelectronics corporate color <span style="color: {{STLightGreen}};">shade of light green (█)</span>, and in <span style="font-weight: bold;">bold</span>. | ||
Usage: <nowiki>{{</nowiki>HighlightParam|{{HighlightParam|<parameter, value or option to highlight>}}}} | Usage: <nowiki>{{</nowiki>HighlightParam|{{HighlightParam|<parameter, value or option to highlight>}}}} | ||
Line 44: | Line 44: | ||
==Code== | ==Code== | ||
</noinclude><span style="color: # | </noinclude><span style="color: #49B170; font-weight: bold;">{{{1}}}</span> |
Revision as of 11:22, 7 September 2020
1. Usage
The HighlightParam template is used to highlight parameters, values or options that must be set, for example in commands, in pages. It formats the text with the STMicroelectronics corporate color shade of light green (█), and in bold.
<parameter, value or option to highlight>}}Usage: {{HighlightParam|
- Where <parameter, value or option to highlight> is the parameter, value or option to highlight
2. Basic examples
You type | You get |
---|---|
Highlighting parameter, value or option
To change the current console {{HighlightParam|<loglevel>}}, simply write to this file:
{{Board$}} echo {{HighlightParam|<loglevel>}} > /proc/sys/kernel/printk
|
To change the current console <loglevel>, simply write to this file: <loglevel> > /proc/sys/kernel/printkecho |
3. More examples
You type | You get |
---|---|
The parameter of the template is formatted in bold: it is useless because the template already formats in bold, but it keeps the parameter in bold
To change the current console {{HighlightParam|'''<loglevel>'''}}, simply write to this file:
{{Board$}} echo '''{{HighlightParam|<loglevel>}}''' > /proc/sys/kernel/printk
|
To change the current console <loglevel>, simply write to this file: <loglevel> > /proc/sys/kernel/printkecho |
The parameter of the template is formatted in italic: the parameter is then in bold and italic
To change the current console {{HighlightParam|''<loglevel>''}}, simply write to this file:
{{Board$}} echo ''{{HighlightParam|<loglevel>}}'' > /proc/sys/kernel/printk
|
To change the current console <loglevel>, simply write to this file: <loglevel> > /proc/sys/kernel/printkecho |
4. Code
{{{1}}}