Last edited 2 years ago

U-Boot$

1. Usage

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.

Usage:  {{U-Boot$}}

2. Basic examples

You type You get
help env command executed on the U-Boot console
{{U-Boot$}}help env<br>
env - environment handling commands

help env
env - environment handling commands

3. More examples

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
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
{{Info |
Message before the command
 {{U-Boot$}}help env
 env - environment handling commands
Message after the command
}}
Template used within another protected message box template
{{InternalInfo |
Message before the command
 {{U-Boot$}}help env
 env - environment handling commands
Message after the command
}}

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

No categories assignedEdit