Difference between revisions of "Template:Shell"

From Funtoo
Jump to navigation Jump to search
 
(No difference)

Latest revision as of 00:01, August 19, 2011

{{{Input}}}

[edit]

Template-info.png Template Documentation

Example 1:

{{shell
| Desc = Descriptiontext
| Input = # command to run
Output of command<br>
<font color=#ff0000;>Alert!</font>
}}

Will produce:

Description: Descriptiontext
# command to run

Output of command
Alert!

and Example 2:

{{shell
| Input = # command to run
Output of command<br>
<font color=#ff0000;>Alert!</font>
}}

Will produce:

# command to run

Output of command
Alert!

and Example 3:

{{shell
| Desc =
| Input = # command to run
Output of command<br>
<font color=#ff0000;>Alert!</font>
}}

Will produce:

# command to run

Output of command
Alert!

Please be aware if you are using | inside the Input String it wouldn't work and break you need to replace | with | and inside the input it is saver to use clean HTML code. :)