|
<div class="mw-collapsible{{#switch: {{{warning|{{#iflst:Cli:{{{open1}}}|warning}}}}}| VeryDangerous = <div style="float:left" title="IMPORTANT:This set command can cause Data Unavailable or Data Loss if used incorrectly, CSE only!">[[File:Skull_sm_40.png]]</div>|mw-collapsed NotDangerous = <div style="float:left" title="Careful Now!">[[File:One_Pixel.png]]</div>| #default = <div style="float:left" title="IMPORTANT:No set command should ever be run without Senior Engineer verification!">[[File:Warn_sm_20.png]]</div>}}<div class="mw-collapsible {{#if:{{{coloropen|}}}|{{{color}}}|mw-collapsed}} force-toggle-float-left" data-collapsetext="-" data-expandtext="+" style="overflow:hidden; display: inline;">[[Cli:{{{1}}}|<span style="color: red; display: inline;">''' title="{{#iflst:Cli:{{{2|1}}}|description}} {{#ifeqif:{{#lenlst:Cli:{{{21}}}|version}}|0|{{#ifeq:{{#lst:Cli:{{{1}}}|{{{alt-textversion}}|07.0x.0y||(ver. {{{2|#lst:Cli:{{{1}}}|version}} )}}|}}}}|">'''{{{alt-text|{{{2|{{{1}}}}}}}}}}}'''</span>]]<div class="mw-collapsible-content {{{color|shell}}}" style="align: left;">{{#if:{example|{{2|}}}{3|{{#ifeqlst:{{#lenCli:{{{21}}}}}|0|{{{2}}}section|{{{example|{{{3|<pre>Need an Example</pre>}}}}}}}}}}}</div></div>{{#if:{{{inline|}}}||<br><br style="clear:both;">}}<noinclude>
{{Warning|The Set2 template does not check if the page exists where it is pulling the description, version and example from, this is because the ifexists parser function is computationally expensive and so Set2 is better suited for long pages where the template is reused many times}}
<templatedata>
"required": true
},
"2alt-text": {
"label": "Alternative Command Description",
"description": "Either Alternate Description of Command or an Example",
"type": "string"
},
"3example": {
"label": "Sample output",
"description": "An example output of runing this command",
"example": "<<pre>>volume show where status = offline<</pre>>",
"type": "string"
},
"label": "Pre Color",
"description": "Color of Pre-formatted Example",
"example": "basic, black-green, blue-white, black-white, net, esx",
"type": "string"
},
"example": "1",
"type": "boolean"
},
"example": {
"label": "Sample output",
"description": "An example output of runing this command",
"example": "<pre>volume show where status = offline</pre>",
"type": "string"
},
"alt-text": {
"label": "Alternative Command Description",
"description": "Either Alternate Description of Command or an Example",
"example": "volume show where status = offline",
"type": "string"
}
},
|