Difference between pages "Template:Shell/Doc" and "File:Pull-request.png"

From Funtoo
(Difference between pages)
Jump to: navigation, search
 
(Maintenance script uploaded "File:Pull-request.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>
 

Revision as of 04:08, 28 August 2012