Template:InfoBox: Difference between revisions

From Foundry Wiki
(Added foundationRequired)
No edit summary
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:{{{foundationRequired|}}} | {{!-}} style="background-color:#322077; color:#ffffff" {{!}} Requires Foundation}}
{{#if:{{{powerType|}}} |
{{#if:{{{powerType|}}} |
  {{!-}}
  {{!-}}
Line 39: Line 39:
{{#if:{{{slots|}}} |
{{#if:{{{slots|}}} |
  ! colspan="2" {{!}} Other
  ! colspan="2" {{!}} Other
{{!-}}
  {{!-}}
  {{!-}}
  {{!}} Slots:
  {{!}} Slots:

Revision as of 04:11, 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