Difference between revisions of "Template:GenericCmd"
From stoney cloud
m (Undo: Add <pre> tag to output code) |
(<hr> doesn't belong into <code>) |
||
Line 1: | Line 1: | ||
− | <div style="border: 1px solid #8981AA; background-color: #F6F6F6; 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}}}|}}{{#if:{{{output|}}}|<hr /><span style="color:#404040">{{{output}}}</span>|}} | + | <div style="border: 1px solid #8981AA; background-color: #F6F6F6; 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:#404040"><code>{{{output}}}</code></span>|}} |
− | |{{{1 | + | |{{{1}}}</code>}}</div><noinclude> |
{{Documentation}} | {{Documentation}} | ||
</noinclude> | </noinclude> |
Revision as of 22:23, 23 November 2011
{{{1}}}
[create] Documentation
Note
Editors can experiment in this template's sandbox (create) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.
Please add categories and interwikis to the /doc subpage. Subpages of this template.