Template:InfoBox: Difference between revisions
(Made optional paramaters optionally displayed) |
(More InfoBox tweaks) |
||
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|}}} | | |||
{{#if:{{{powerType|}}} | {{!-}} | ||
! scope="col" colspan="2" {{!}} Power | |||
{{!-}} | |||
{{!}} style="text-align: right;" {{!}} Type: {{!!}} {{#switch: {{{powerType}}} | |||
{{!}} HEV = High Voltage Energy (HEV) | {{!}} HEV = High Voltage Energy (HEV) | ||
{{!}} LEV = Low Voltage Energy (LEV) | {{!}} LEV = Low Voltage Energy (LEV) | ||
{{!}} default = N/A | {{!}} default = N/A | ||
}} | }} | ||
|- | {{!-}} | ||
| style="text-align: right;" | | {{!}} style="text-align: right;" {{!}} Usage: {{!!}} {{{ powerUsage }}} | ||
| {{{ | }} | ||
{{!-}} | |||
{{#if:{{{width|}}} | | |||
! colspan="2" {{!}} Dimensions | |||
{{!-}} | |||
{{!}} Width | |||
{{!}} style="text-align: right;" {{!}} {{{width}}} | |||
{{#if:{{{length|}}} | | |||
{{!-}} | |||
{{!}} Length | |||
{{!}} style="text-align: right;" {{!}} {{{length}}} | |||
}} | |||
{{#if:{{{height}}} | | |||
{{!-}} | |||
{{!}} Height | |||
{{!}} style="text-align: right;" {{!}} {{{height}}} | |||
}} | |||
}} | |||
{{#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> | |||
}} | }} | ||
|} | |} | ||
<noinclude> | <noinclude> |
Revision as of 20:41, 6 May 2024
{{{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 |