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
(Removed some unnecessary parts, renamed developer to manufacturer, trying to split box with header)
Tag: 2017 source edit
(Updated image and caption template data)
Tag: 2017 source edit
 
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:
{
{
"params": {
"params": {
"image": {},
"image": {
"caption": {},
"aliases": [
"pic",
"picture",
"thumbnail"
],
"label": "Part Image",
"description": "The filename of the part, including the file extension.",
"example": "Mk1_Explorer.png",
"type": "wiki-file-name",
"required": true
},
"caption": {
"aliases": [
"subtitle"
],
"label": "Caption",
"description": "The part's classification per the in-game description.",
"type": "string",
"required": true
},
"size": {
"size": {
"label": "Size                ",
"label": "Size                ",
Line 31: Line 50:
"required": true
"required": true
},
},
"mass (t)": {
"mass": {
"label": "Mass (t)",
"label": "Mass (t)",
"description": "Mass (t)",
"description": "Mass (t)",
Line 43: Line 62:
"required": true
"required": true
},
},
"impact tol (m/s)": {
"impact tol": {
"label": "Impact Tolerance (m/s)",
"label": "Impact Tolerance (m/s)",
"type": "number",
"type": "number",
Line 58: Line 77:
"image",
"image",
"caption",
"caption",
"mass (t)",
"mass",
"size",
"size",
"crew capacity",
"crew capacity",
"torque",
"torque",
"manufacturer",
"impact tol",
"impact tol (m/s)",
"max temp",
"max temp"
"manufacturer"
]
]
}
}
Line 70: Line 89:


{{Infobox
{{Infobox
| style = float: right;
| name    = Test
| name    = Test
| title    = Test box
| title    = Test box
| image    = {{{image|}}}
| image    = [[File:Mk1_Explorer.png|200px]]
| caption = Test caption
| caption = Test caption


| header = Statistics
| header1 = Statistics
 
| label2   = Mass (t)
| label1   = Mass (t)
data2   = #  
data1   = #
| label3   = Size
| label2   = Size
data3  = #
data2   = #
| label4  = Max Temp (K)
 
|  data4   = #
| header3 = Statistics
| label5  = Impact Tolerance (m/s)
data5  = #


| label4   = Max Crew
| header6 = Command Module Info
data4   = {{{crew capacity)|#}}}
| label7   = Max Crew
| label5   = Torque
data7   = #
data5   = {{{Torque|#}}}
| label8   = Torque
| label6   = Manufacturer
data8   = #
|  data6  = {{{developer|#}}}
| below   = Manufacturer
}}
}}
</noinclude>
</noinclude>
Line 98: Line 117:
| name    = {{PAGENAME}}
| name    = {{PAGENAME}}
| title    = {{PAGENAME}}
| title    = {{PAGENAME}}
| image    = {{{image|}}}
| image    = [[File:{{{image|}}}|200px]]
| caption = {{{caption|}}}
| caption = {{{caption|}}}


| header = Statistics
| header1 = Statistics
| label2  = Mass (t)
|  data2  = {{{mass|}}}
| label3  = Size
|  data3  = {{Size|Size={{{size|}}}|Add Category=1}}
| label4  = Max Temp (K)
|  data4  = {{{max temp|}}}
| label5  = Impact Tolerance (m/s)
|  data5  = {{{impact tol|}}}
 
| header6 = Command Module Info
| label7  = Max Crew
|  data7  = {{{crew capacity|}}}
| label8  = Torque (kN)
|  data8  = {{{torque|}}}


| label1  = Mass (t)
below   = {{{manufacturer|}}}
data1  = {{{mass (t)|}}}
| label2  = Size
|  data2  = {{Size|Size={{{size|}}}|Add Category=1}}
| label3  = Max Temp (K)
|  data3  = {{{max temp (K)|}}}
| label4  = Impact Tolerance (m/s)
|  data4  = {{{impact tol (m/s)|}}}
| label5  = Max Crew
|  data5  = {{{crew capacity|}}}
| label6  = Torque
|  data6  = {{{torque|}}}
| label7  = Manufacturer
|  data7   = {{{manufacturer|}}}
}}
}}
</includeonly>
</includeonly>

Latest revision as of 16:21, 20 September 2024

Generate an infobox for a command module.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Part Imageimage pic picture thumbnail

The filename of the part, including the file extension.

Example
Mk1_Explorer.png
Filerequired
Captioncaption subtitle

The part's classification per the in-game description.

Stringrequired
Mass (t)mass

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
Impact Tolerance (m/s)impact tol

no description

Numberrequired
Max Temp (K)max temp

no description

Numberrequired
Manufacturermanufacturer

In-game manufacturer of the part

Stringrequired
Test box
Test caption
Statistics
Mass (t)
Size
Max Temp (K)
Impact Tolerance (m/s)
Command Module Info
Max Crew
Torque
Manufacturer


MediaWiki Appliance - Powered by TurnKey Linux