Template:InfoBox: Difference between revisions

From Foundry Wiki
(Undo revision 1579 by Erkle64 (talk))
Tag: Undo
mNo edit summary
 
(12 intermediate revisions by 2 users not shown)
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}}}
{{!-}}
! scope="col" colspan="2" {{!}} [[Image:Item {{{name}}}.png{{!}}160px{{!}}alt={{{name}}}]]
{{#if:{{{requiresFoundation|}}} |
{{#if:{{{requiresFoundation|}}} |
  {{!-}}
  {{!-}}
Line 41: Line 43:
}}
}}
{{#if:{{{slots|}}} |
{{#if:{{{slots|}}} |
{{!-}}
  ! colspan="2" {{!}} Other
  ! colspan="2" {{!}} Other
  {{!-}}
  {{!-}}
Line 46: Line 49:
  {{!}} style="text-align: right;" {{!}} {{{slots}}}
  {{!}} style="text-align: right;" {{!}} {{{slots}}}
}}
}}
{{#if:{{{SlotsPerSide|}}} |
  {{!-}}
  {{!}} Slots Per Side:
  {{!}} style="text-align: right;" {{!}} {{{SlotsPerSide}}}
}}
{{!)}}
{{!)}}
<noinclude>
<noinclude>
Line 86: Line 94:
"example": "3",
"example": "3",
"type": "number"
"type": "number"
},
        "SlotsPerSide": {
"description": "Side information for Number of loading/unloading slots",
"example": "3/side , 5 front/5 back/4 sides",
"type": "string"
}
}
},
},
Line 96: Line 109:
"powerType",
"powerType",
"powerUsage",
"powerUsage",
"slots"
"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.

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
SlotsPerSideSlotsPerSide

Side information for Number of loading/unloading slots

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