Difference between revisions of "Template:GenericCmd"
From stoney cloud
m |
(should really use CSS :before/content for this) |
||
Line 1: | Line 1: | ||
<includeonly>{{#if: {{{1|}}} | <includeonly>{{#if: {{{1|}}} | ||
− | |<div style="border: 1px solid #8981AA; background-color: #F6F6F6; padding: .3em; margin-top: .4em; margin-bottom: .4em;" class="gw-cmdbox">{{#if: {{{11|}}} | '''Too many parameters. Maximum is 10.''' |<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:{{{6|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> {{{6}}}|}}{{#if:{{{7|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> {{{7}}}|}}{{#if:{{{8|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> {{{8}}}|}}{{#if:{{{9|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> {{{9}}}|}}{{#if:{{{10|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> {{{10}}}|}}{{#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">{{#if: {{{11|}}} | '''Too many parameters. Maximum is 10.''' |<code>{{#if:{{{prompt|}}}|<span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> <span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span>{{{1}}}{{#if:{{{2|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> <span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span>{{{2}}}|}}{{#if:{{{3|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> <span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span>{{{3}}}|}}{{#if:{{{4|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> <span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span>{{{4}}}|}}{{#if:{{{5|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> <span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span>{{{5}}}|}}{{#if:{{{6|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> <span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span>{{{6}}}|}}{{#if:{{{7|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> <span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span>{{{7}}}|}}{{#if:{{{8|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> <span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span>{{{8}}}|}}{{#if:{{{9|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> <span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span>{{{9}}}|}}{{#if:{{{10|}}}|<br /><span style{{=}}"color: {{{color|black}}}; font-weight: bold;">{{{prompt}}}</span> <span style="width: 0; height: 0; display: inline-block; overflow: hidden;"><span style="display: block;"></span></span>{{{10}}}|}}{{#if:{{{output|}}}|<hr /><span style="color:#404040">{{{output}}}</span>|}} |
|{{{1}}}}}</code>}}</div> | |{{{1}}}}}</code>}}</div> | ||
|{{Error|GenericCmd|unnamed}} | |{{Error|GenericCmd|unnamed}} |
Revision as of 03:41, 10 April 2013
[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.