Template:InfoBox: Difference between revisions

From Foundry Wiki
No edit summary
m (Added a Slots Per side box)
Line 47: Line 47:
  {{!}} Slots:
  {{!}} Slots:
  {{!}} style="text-align: right;" {{!}} {{{slots}}}
  {{!}} style="text-align: right;" {{!}} {{{slots}}}
}}
{{#if:{{{slots_per_side|}}} |
! colspan="2" {{!}} Other
{{!-}}
{{!}} Slots Per Side:
{{!}} style="text-align: right;" {{!}} {{{slots_per_side}}}
}}
}}
{{!)}}
{{!)}}
Line 88: Line 94:
"example": "3",
"example": "3",
"type": "number"
"type": "number"
},
        "slots_per_side": {
"description": "Side information for Number of loading/unloading slots",
"example": "3/side , 5 front/5 back/4 sides",
"type": "string"
}
}
},
},
Line 98: Line 109:
"powerType",
"powerType",
"powerUsage",
"powerUsage",
"slots"
"slots",
        "slots_per_side"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>

Revision as of 19:33, 6 June 2024

{{{name}}}
[[Image:Item {{{name}}}.png|160px|alt={{{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
requiresFoundationrequiresFoundation

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
slots_per_sideslots_per_side

Side information for Number of loading/unloading slots

Example
3/side , 5 front/5 back/4 sides
Stringoptional