Registered User mNo edit summary |
Registered User (Merge articles) |
||
Line 5: | Line 5: | ||
Usage: <nowiki>{{</nowiki>U-Boot$}} | Usage: <nowiki>{{</nowiki>U-Boot$}} | ||
{{Important | Do not insert any space between "<nowiki>{{U-Boot$}}</nowiki>" and the command.}} | |||
==Basic examples== | ==Basic examples== | ||
Line 12: | Line 14: | ||
| <code>help env</code> command executed on the U-Boot console | | <code>help env</code> command executed on the U-Boot console | ||
<pre style="white-space: pre-wrap;"> | <pre style="white-space: pre-wrap;"> | ||
{{U-Boot$}} help env<br> | {{U-Boot$}}help env<br> | ||
env - environment handling commands | env - environment handling commands | ||
</pre> | </pre> | ||
| | | | ||
{{U-Boot$}} help env<br> | {{U-Boot$}}help env<br> | ||
env - environment handling commands | env - environment handling commands | ||
|} | |} | ||
Line 26: | Line 28: | ||
| 2 commands executed on the U-Boot console and preformatted text block (space at the beginning of each line) | | 2 commands executed on the U-Boot console and preformatted text block (space at the beginning of each line) | ||
<pre style="white-space: pre-wrap;"> | <pre style="white-space: pre-wrap;"> | ||
{{U-Boot$}} help env | {{U-Boot$}}help env | ||
env - environment handling commands | env - environment handling commands | ||
{{U-Boot$}} env default -a | {{U-Boot$}}env default -a | ||
</pre> | </pre> | ||
| | | | ||
{{U-Boot$}} help env | {{U-Boot$}}help env | ||
env - environment handling commands | env - environment handling commands | ||
{{U-Boot$}} env default -a | {{U-Boot$}}env default -a | ||
|- | |- | ||
| Command executed on the U-Boot console and preformatted text block (space at the beginning of each line) | | Command executed on the U-Boot console and preformatted text block (space at the beginning of each line) | ||
<pre style="white-space: pre-wrap;"> | <pre style="white-space: pre-wrap;"> | ||
{{U-Boot$}} help env | {{U-Boot$}}help env | ||
env - environment handling commands | env - environment handling commands | ||
</pre> | </pre> | ||
| | | | ||
{{U-Boot$}} help env | {{U-Boot$}}help env | ||
env - environment handling commands | env - environment handling commands | ||
|- | |- | ||
| Long command executed on the U-Boot console and preformatted text block (space at the beginning of each line) | | Long command executed on the U-Boot console and preformatted text block (space at the beginning of each line) | ||
<pre style="white-space: pre-wrap;"> | <pre style="white-space: pre-wrap;"> | ||
{{U-Boot$}} this is a so long command executed on the U-Boot console that a horizontal scrolling bar is needed | {{U-Boot$}}this is a so long command executed on the U-Boot console that a horizontal scrolling bar is needed | ||
</pre> | </pre> | ||
| style="max-width:30em;" | | | style="max-width:30em;" | | ||
{{U-Boot$}} this is a so long command executed on the U-Boot console that a horizontal scrolling bar is needed | {{U-Boot$}}this is a so long command executed on the U-Boot console that a horizontal scrolling bar is needed | ||
|- | |- | ||
| Template used within another public message box template | | Template used within another public message box template | ||
Line 55: | Line 57: | ||
{{Info | | {{Info | | ||
Message before the command | Message before the command | ||
{{U-Boot$}} help env | {{U-Boot$}}help env | ||
env - environment handling commands | env - environment handling commands | ||
Message after the command | Message after the command | ||
Line 63: | Line 65: | ||
{{Info | | {{Info | | ||
Message before the command | Message before the command | ||
{{U-Boot$}} help env | {{U-Boot$}}help env | ||
env - environment handling commands | env - environment handling commands | ||
Message after the command | Message after the command | ||
Line 72: | Line 74: | ||
{{InternalInfo | | {{InternalInfo | | ||
Message before the command | Message before the command | ||
{{U-Boot$}} help env | {{U-Boot$}}help env | ||
env - environment handling commands | env - environment handling commands | ||
Message after the command | Message after the command | ||
Line 80: | Line 82: | ||
{{InternalInfo | | {{InternalInfo | | ||
Message before the command | Message before the command | ||
{{U-Boot$}} help env | {{U-Boot$}}help env | ||
env - environment handling commands | env - environment handling commands | ||
Message after the command | Message after the command |
Latest revision as of 17:59, 16 March 2023
1. Usage[edit source]
The U-Boot$ template is used to prefix a command that must be executed on the U-Boot console, with a U-Boot-specific prompt.
Thanks to the u-boot-prompt
class defined in MediaWiki:Common.css, a double (or triple) click to select the command doesn't select the prompt.
U-Boot$}}Usage: {{
2. Basic examples[edit source]
You type | You get |
---|---|
help env command executed on the U-Boot console
U-Boot$}}help env<br> env - environment handling commands{{ |
help env |
3. More examples[edit source]
You type | You get | ||
---|---|---|---|
2 commands executed on the U-Boot console and preformatted text block (space at the beginning of each line)
U-Boot$}}help env env - environment handling commands {{U-Boot$}}env default -a{{ |
help env
env - environment handling commands
env default -a
| ||
Command executed on the U-Boot console and preformatted text block (space at the beginning of each line)
U-Boot$}}help env env - environment handling commands{{ |
help env
env - environment handling commands
| ||
Long command executed on the U-Boot console and preformatted text block (space at the beginning of each line)
U-Boot$}}this is a so long command executed on the U-Boot console that a horizontal scrolling bar is needed{{ |
U-Boot console that a horizontal scrolling bar is neededthis is a so long command executed on the | ||
Template used within another public message box template
U-Boot$}}help env env - environment handling commands Message after the command }}{{Info | Message before the command {{ |
| ||
Template used within another protected message box template
U-Boot$}}help env env - environment handling commands Message after the command }}{{InternalInfo | Message before the command {{ |
4. Maintenance[edit source]
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 source]