Template:GenericCmd: Difference between revisions

From Peters wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(36 intermediate revisions by the same user not shown)
Line 1: Line 1:
<div style="border: 1px solid #bbccdd; background-color: #f9f9f9; padding: .3em;  margin-top: .4em; margin-bottom: .4em;" class="gw-cmdbox"><code>{{#if:{{{prompt|}}}|<span style{{=}}"color: {{{color|black}}}; font-weight: bold;"> {{{prompt}}}</span> {{{1}}}{{#if:{{{2|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;"> {{{prompt}}}</span> {{{2}}}|}}{{#if:{{{3|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;"> {{{prompt}}}</span> {{{3}}}|}}{{#if:{{{4|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;"> {{{prompt}}}</span> {{{4}}}|}}{{#if:{{{5|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;"> {{{prompt}}}</span> {{{5}}}|}}</code>{{#if:{{{output|}}}|<hr /><span style="color:#101010"><tt>{{{output}}}</tt></span>|}}
<includeonly>{{#if: {{{1|}}}|<div style="border: 1px solid #ccc; background-color: #f9f9f9; padding: .3em;  margin-top: .4em; margin-bottom: .4em; overflow: hidden;" class="gw-cmdbox">{{#if: {{{11|}}}|'''Too many parameters. Maximum is 10.'''|<tt>{{#if:{{{prompt|}}}|<span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> </tt><span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span><tt>{{{1}}}{{#if:{{{2|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> </tt><span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span><tt>{{{2}}}|}}{{#if:{{{3|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> </tt><span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span><tt>{{{3}}}|}}{{#if:{{{4|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> </tt><span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span><tt>{{{4}}}|}}{{#if:{{{5|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> </tt><span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span><tt>{{{5}}}|}}{{#if:{{{6|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> </tt><span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span><tt>{{{6}}}|}}{{#if:{{{7|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> </tt><span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span><tt>{{{7}}}|}}{{#if:{{{8|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> </tt><span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span><tt>{{{8}}}|}}{{#if:{{{9|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> </tt><span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span><tt>{{{9}}}|}}{{#if:{{{10|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> </tt><span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span><tt>{{{10}}}|}}{{#if:{{{output|}}}|<hr /><span style="color:#404040">{{{output}}}</span>|}}
|{{{1}}}</code>}}</div><noinclude>
|{{{1}}}}}</tt>}}</div>|{{Error|GenericCmd|unnamed}}}}</includeonly>
{{Documentation}}
</noinclude>

Latest revision as of 21:25, 8 December 2014