Difference between pages "User:Jeanfrancis" and "Template:Shell"
(Difference between pages)
Jump to navigation
Jump to search
Jeanfrancis (talk | contribs) |
|||
Line 1: | Line 1: | ||
{ | {|width="100%" cellpadding=0 cellspacing=0 style="margin: .5em 0; background-color: #D8CCFF; border: solid 1px #000066;" | ||
| | {{#if: {{{Desc|}}} | {{!}} valign="top" style="background-color: #0080FF; border-bottom: 1px solid #000066; font-size: 0.9em" {{!}} '''Description:''' {{{Desc}}} | ||
{{!}}- | |||
{{!}} style="padding: 0 0.5em; color: #000000" colspan="2" {{!}} {{{Input}}} | {{!}} style="padding: 0 0.5em; color: #000000" {{!}} {{{Input}}} }} | |||
|}<noinclude>{{documentation}}</noinclude> | |||
| | |||
}} | |||
| | |||
| | |||
}} | |||
Latest revision as of 00:01, August 19, 2011
{{{Input}}} |
[edit] Example 1: {{shell | Desc = Descriptiontext | Input = # command to run Output of command<br> <font color=#ff0000;>Alert!</font> }} Will produce:
and Example 2: {{shell | Input = # command to run Output of command<br> <font color=#ff0000;>Alert!</font> }} Will produce:
and Example 3: {{shell | Desc = | Input = # command to run Output of command<br> <font color=#ff0000;>Alert!</font> }} Will produce:
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. :) |