Template:InfoBox: Difference between revisions

From Foundry Wiki
No edit summary
(Added foundationRequired)
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}}}
! scope="col" colspan="2" | {{{name}}}
{{#if:{{foundationRequired|}} | {{!-}} style="background-color:#322077; color:#ffffff" {{!}} Requires Foundation}}
{{#if:{{{powerType|}}} |
{{#if:{{{powerType|}}} |
  {{!-}}
  {{!-}}
Line 65: Line 66:
"type": "number"
"type": "number"
},
},
        "foundationRequired": {
            "description": "Requires a foundation",
            "type": "boolean"
        },
"powerType": {
"powerType": {
"description": "Either LVE or HVE (Low Voltage Energy or High Voltage Energy, respectively)",
"description": "Either LVG (Low Voltage Grid) or HVG (High Voltage Grid)",
"example": "HVE",
"example": "HVG",
"type": "string"
"type": "string"
},
},
Line 86: Line 91:
"length",
"length",
"height",
"height",
        "foundationRequired",
"powerType",
"powerType",
"powerUsage",
"powerUsage",

Revision as of 03:26, 8 May 2024

{{{name}}}

No description.

Template parameters

ParameterDescriptionTypeStatus
namename

no description

Example
Rail Mining Depot
Stringrequired
widthwidth

no description

Example
1
Numberoptional
lengthlength

no description

Example
2
Numberoptional
heightheight

no description

Example
3
Numberoptional
foundationRequiredfoundationRequired

Requires a foundation

Booleanoptional
powerTypepowerType

Either LVG (Low Voltage Grid) or HVG (High Voltage Grid)

Example
HVG
Stringoptional
powerUsagepowerUsage

The power the device consumes while running.

Example
1.0 MW
Stringoptional
slotsslots

Number of loading/unloading slots the machine has

Example
3
Numberoptional