Template:InfoBox: Difference between revisions
No edit summary |
OldManKeeper (talk | contribs) mNo edit summary |
||
(35 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{ | {{(!}} class="wikitable" style="margin-left:5px;float:right;" | ||
! scope="col" colspan="2" | ! scope="col" colspan="2" {{!}} {{{name}}} | ||
{{!-}} | |||
! scope="col" colspan="2" {{!}} [[Image:Item {{{name}}}.png{{!}}160px{{!}}alt={{{name}}}]] | |||
! scope="col" colspan="2" | | {{#if:{{{requiresFoundation|}}} | | ||
{{!-}} | |||
! scope=" | ! scope="col" colspan="2" style="text-align: center; background-color:#322077; color:#ffffff" {{!}} Requires Foundation | ||
}} | }} | ||
|- | {{#if:{{{powerType|}}} | | ||
! scope=" | {{!-}} | ||
! scope="col" colspan="2" {{!}} Power | |||
| | {{!-}} | ||
! colspan="2" | {{!}} Type: | ||
{{!}} style="text-align: right;" {{!}} {{#switch: {{{powerType}}} | |||
! | | HEV = High Voltage Energy (HEV) | ||
| style="text-align: right;" | | HVG = High Voltage Grid (HVG) | ||
|- | | LEV = Low Voltage Energy (LEV) | ||
! | | LVG = Low Voltage Grid (LVG) | ||
| N/A | |||
|- | }} | ||
! | {{#if:{{{powerUsage|}}} | | ||
{{!-}} | |||
{{!}} Usage: | |||
{{!}} style="text-align: right;" {{!}} {{{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|}}} | | |||
{{!-}} | |||
! colspan="2" {{!}} Other | |||
{{!-}} | |||
{{!}} Slots: | |||
{{!}} style="text-align: right;" {{!}} {{{slots}}} | |||
}} | |||
{{#if:{{{SlotsPerSide|}}} | | |||
{{!-}} | |||
{{!}} Slots Per Side: | |||
{{!}} style="text-align: right;" {{!}} {{{SlotsPerSide}}} | |||
}} | |||
{{!)}} | |||
<noinclude> | <noinclude> | ||
<templatedata> | <templatedata> | ||
Line 47: | Line 76: | ||
"type": "number" | "type": "number" | ||
}, | }, | ||
"requiresFoundation": { | |||
"description": "Requires a foundation", | |||
"type": "boolean" | |||
}, | |||
"powerType": { | "powerType": { | ||
"description": "Either | "description": "Either LVG (Low Voltage Grid) or HVG (High Voltage Grid)", | ||
"example": " | "example": "HVG", | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"powerUsage": { | "powerUsage": { | ||
"description": "The | "description": "The power the device consumes while running.", | ||
"example": "1.0 MW", | "example": "1.0 MW", | ||
"type": "string" | |||
}, | |||
"slots": { | |||
"description": "Number of loading/unloading slots the machine has", | |||
"example": "3", | |||
"type": "number" | |||
}, | |||
"SlotsPerSide": { | |||
"description": "Side information for Number of loading/unloading slots", | |||
"example": "3/side , 5 front/5 back/4 sides", | |||
"type": "string" | "type": "string" | ||
} | } | ||
Line 63: | Line 106: | ||
"length", | "length", | ||
"height", | "height", | ||
"requiresFoundation", | |||
"powerType", | "powerType", | ||
"powerUsage" | "powerUsage", | ||
"slots", | |||
"SlotsPerSide" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 21:16, 6 June 2024
{{{name}}} | |
---|---|
[[Image:Item {{{name}}}.png|160px|alt={{{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 |
requiresFoundation | requiresFoundation | Requires a foundation | Boolean | optional |
powerType | powerType | Either LVG (Low Voltage Grid) or HVG (High Voltage Grid)
| 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 |
SlotsPerSide | SlotsPerSide | Side information for Number of loading/unloading slots
| String | optional |