Template:InfoBox: Difference between revisions
No edit summary |
(Made optional paramaters optionally displayed) |
||
Line 1: | Line 1: | ||
{| class="wikitable" style="margin-left:5px;float:right;" | {| class="wikitable" style="margin-left:5px;float:right;" | ||
| scope="col" colspan="2" | {{{name}}} | |||
|- | |- | ||
{{#if:{{{powerType|}}} | |||
| colspan="2" | Power | |||
|- | |- | ||
| style="text-align: right;" | Type: | |||
| {{#switch: {{{powerType}}} | |||
{{!}} HEV = High Voltage Energy (HEV) | |||
{{!}} LEV = Low Voltage Energy (LEV) | |||
{{!}} default = N/A | |||
}} | |||
|- | |- | ||
| style="text-align: right;" | Usage: | |||
| style="text-align: right;" | | | {{{ powerUsage }}} | ||
}} | }} | ||
|- | |- | ||
{{#if:{{{width|}}} | {{!}} colspan="2" {{!!}} Dimensions | |||
<tr><th scope="row">Width:</th><td style="text-align: right;">{{{width}}}</td></tr>}} | |||
| | |||
! colspan="2" | |||
{{ | |||
{{#if:{{{length|}}} | {{#if:{{{length|}}} | ||
|<tr><th scope="row">Length:</th><td style="text-align: right;">{{{length}}}</td></tr>}} | |<tr><th scope="row">Length:</th><td style="text-align: right;">{{{length}}}</td></tr>}} | ||
{{#if:{{{height|}}} | {{#if:{{{height|}}} | ||
|<tr><th scope="row">Height:</th><td style="text-align: right;">{{{height}}}</td></tr>}} | |<tr><th scope="row">Height:</th><td style="text-align: right;">{{{height}}}</td></tr>}} | ||
{{#if:{{{slots|}}} | {{#if:{{{slots|}}} | <tr><th scope="col" colspan="2">Other</th></tr><tr><th scope="row">Slots:</th><td style="text-align: right;">{{{slots}}}</td></tr>}} | ||
|<tr><th scope="col" colspan="2">Other</th></tr><tr><th scope="row">Slots:</th><td style="text-align: right;">{{{slots}}}</td></tr>}} | |||
|} | |} | ||
<noinclude> | <noinclude> |
Revision as of 20:13, 6 May 2024
Power
{{{name}}} |
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
name | name | no description
| String | required |
width | width | no description
| Number | optional |
length | length | no description
| Number | optional |
height | height | no description
| Number | optional |
powerType | powerType | Either LVE or HVE (Low Voltage Energy or High Voltage Energy, respectively)
| String | optional |
powerUsage | powerUsage | The power the device consumes while running.
| String | optional |
slots | slots | Number of loading/unloading slots the machine has
| Number | optional |