Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox command modules: Difference between revisions

Template page
m (KiwiShark moved page Template:Infobox pods to Template:Infobox command modules: generalizing from pods to command modules as a whole)
(Removed some unnecessary parts, renamed developer to manufacturer, trying to split box with header)
Tag: 2017 source edit
Line 37: Line 37:
"required": true
"required": true
},
},
"developer": {
"manufacturer": {
"label": "Developer",
"label": "Manufacturer",
"description": "Who made this part in-game",
"description": "In-game manufacturer of the part",
"type": "string",
"type": "string",
"required": true
"required": true
        }
},
"impact tol (m/s)": {
"label": "Impact Tolerance (m/s)",
"type": "number",
"required": true
},
"max temp": {
"label": "Max Temp (K)",
"type": "number",
"required": true
}
},
},
"description": "Generate an infobox for an command pod.",
"description": "Generate an infobox for a command module.",
"paramOrder": [
"paramOrder": [
"image",
"image",
Line 52: Line 62:
"crew capacity",
"crew capacity",
"torque",
"torque",
        "developer"
"manufacturer",
"impact tol (m/s)",
"max temp"
]
]
}
}
Line 70: Line 82:
| label2  = Size
| label2  = Size
|  data2  = #
|  data2  = #
| label3   = Max Crew
 
data3   = {{{crew capacity)|#}}}
| header3  = Statistics
| label4   = Torque
 
data4   = {{{Torque|#}}}
| label4   = Max Crew
| label5   = Developer
data4   = {{{crew capacity)|#}}}
data5   = {{{developer|#}}}
| label5   = Torque
data5   = {{{Torque|#}}}
| label6   = Manufacturer
data6   = {{{developer|#}}}
}}
}}
</noinclude>
<noinclude>
{{#ifeq:XS|{{{size}}}|<code><b><font color=#E04949>XS</font></b></code>|{{#ifeq:SM|{{{size}}}|<code><b><font color=#E0A400>SM</font></b></code>|{{#ifeq:MD|{{{size}}}|<code><b><font color=#E0A400>MD</font></b></code>|{{#ifeq:LG|{{{size}}}|<code><b><font color=#00E0A8>LG</font></b></code>|{{#ifeq:XL|{{{size}}}|<code><b><font color=#49ABE0>XL</font></b></code>|{{#ifeq:2X|{{{size}}}|<code><b><font color=#A978DA>2X</font></b></code>||}}|}}|}}|}}|}}|}}
</noinclude>
</noinclude>


Line 96: Line 107:
| label2  = Size
| label2  = Size
|  data2  = {{Size|Size={{{size|}}}|Add Category=1}}
|  data2  = {{Size|Size={{{size|}}}|Add Category=1}}
| label3  = Max Crew
| label3   = Max Temp (K)
data3   = {{{crew capacity|}}}
|  data3  = {{{max temp (K)|}}}
| label4   = Torque
| label4  = Impact Tolerance (m/s)
data4   = {{{torque|}}}
|  data4  = {{{impact tol (m/s)|}}}
| label5   = Developer
| label5   = Max Crew
data5   = {{{developer|}}}
data5   = {{{crew capacity|}}}
| label6   = Torque
data6   = {{{torque|}}}
| label7   = Manufacturer
data7   = {{{manufacturer|}}}
}}
}}
</includeonly>
</includeonly>

Revision as of 00:38, 13 September 2024

Generate an infobox for a command module.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
imageimage

no description

Unknownoptional
captioncaption

no description

Unknownoptional
Mass (t)mass (t)

Mass (t)

Stringrequired
Size size

Size of part (using {{Size}})

Suggested values
XS SM MD LG XL 2X
Stringrequired
Max Crewcrew capacity

Max crew the pod can hold

Stringrequired
Torque (kN)torque

Torque

Stringrequired
Manufacturermanufacturer

In-game manufacturer of the part

Stringrequired
Impact Tolerance (m/s)impact tol (m/s)

no description

Numberrequired
Max Temp (K)max temp

no description

Numberrequired
Test box
Mass (t)
Size
Statistics
Max Crew
Torque
Manufacturer


MediaWiki Appliance - Powered by TurnKey Linux