Difference between pages "File:Fqi-009.png" and "Template:Shell/Doc"
(Difference between pages)
Jump to navigation
Jump to search
(Maintenance script uploaded "File:Fqi-009.png": Importing image file) |
|||
Line 1: | Line 1: | ||
Example 1: | |||
<pre> | |||
{{shell | |||
| Desc = Descriptiontext | |||
| Input = # command to run | |||
Output of command<br> | |||
<font color=#ff0000;>Alert!</font> | |||
}} | |||
</pre> | |||
Will produce: | |||
{{shell | |||
| Desc = Descriptiontext | |||
| Input = # command to run | |||
Output of command<br> | |||
<font color=#ff0000;>Alert!</font> | |||
}} | |||
and Example 2: | |||
<pre> | |||
{{shell | |||
| Input = # command to run | |||
Output of command<br> | |||
<font color=#ff0000;>Alert!</font> | |||
}} | |||
</pre> | |||
Will produce: | |||
{{shell | |||
| Input = # command to run | |||
Output of command<br> | |||
<font color=#ff0000;>Alert!</font> | |||
}} | |||
and Example 3: | |||
<pre> | |||
{{shell | |||
| Desc = | |||
| Input = # command to run | |||
Output of command<br> | |||
<font color=#ff0000;>Alert!</font> | |||
}} | |||
</pre> | |||
Will produce: | |||
{{shell | |||
| Desc = | |||
| Input = # command to run | |||
Output of command<br> | |||
<font color=#ff0000;>Alert!</font> | |||
}} | |||
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. :) | |||
<noinclude>[[Category:Template Documentation]]</noinclude> |
Latest revision as of 23:59, August 18, 2011
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 |
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 |
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 |
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. :)
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 06:04, April 27, 2014 | 567 × 291 (26 KB) | Maintenance script (talk | contribs) | Importing file | |
05:55, April 27, 2014 | 567 × 291 (26 KB) | Maintenance script (talk | contribs) | Importing file |
You cannot overwrite this file.
File usage
The following page uses this file: