Template:Infobox part: Difference between revisions

From Kerbal Space Program 2 Wiki
Jump to navigation Jump to search
Added more modules
Tag: 2017 source edit
Undo revision 8999 by KiwiShark (talk)
Tag: Undo
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude><includeonly>
</noinclude><includeonly>{{Infobox
{{Infobox
| name    = {{PAGENAME}}
| name    = {{PAGENAME}}
| title    = {{PAGENAME}}
| title    = {{PAGENAME}}
Line 9: Line 8:
| below    = {{#invoke:Data|getData|{{PAGENAME}}|manufacturer}}
| below    = {{#invoke:Data|getData|{{PAGENAME}}|manufacturer}}


| labelstyle  = width: 60%; text-align: left;
| labelstyle  = width: 50%; text-align: left;
| titlestyle = background-color: #f7aa33;
| titlestyle =  
padding: 0.2em 0em 0.2em;
padding: 0.2em 0em 0.2em;
color: black;
font-size: 22px;
font-size: 22px;
font-weight: bold;
font-weight: bold;
| bodystyle  = width: 20em; border: 1px solid #a2a9b1; border-spacing: 3px; margin: 0.5em 0 0.5em 1em;
| bodystyle  = width: 23em;  
    border: 1px solid #a2a9b1;  
    border-spacing: 3px;
    margin: 0.5em 0 0.5em 1em;
     padding: 0.2em;
     padding: 0.2em;
     float: right;
     float: right;
     clear: right;
     clear: right;
     font-size: 88%;
     font-size: 12px;
     line-height: 1.5em;
     line-height: 1.5em;
    width: 20em;
| headerstyle  = font-weight: bold;
| headerstyle  = font-weight: bold; color: black; background: #f7aa33; font-size: 18px; text-align: left;
    font-size: 16px;  
    text-align: left;
    padding-top: 0.5em
| autoheaders = y
| autoheaders = y
| captionstyle = text-align: center; font-style: italic;
| captionstyle = text-align: center; font-style: italic;
| header10  = Statistics
| header10  = Statistics


| label11  = Mass (t)
| label11  = Mass
|  data11  = {{#invoke:Data|getData|{{PAGENAME}}|mass}}
|  data11  = {{#invoke:Data|getData|{{PAGENAME}}|mass}} <small>t</small>


| label12  = Size
| label12  = Size
|  data12  = {{Size|Size={{#invoke:Data|getData|{{PAGENAME}}|size}}}}
|  data12  = {{Size|Size={{#invoke:Data|getData|{{PAGENAME}}|size}}}}


| label13  = Max Temp (K)
| label13  = Max Temp
|  data13  = {{#invoke:Data|getData|{{PAGENAME}}|max_temp}}
|  data13  = {{#invoke:Data|getData|{{PAGENAME}}|max_temp}} <small>K</small>


| label14  = Impact Tolerance (m/s)
| label14  = Impact Tolerance
|  data14  = {{#invoke:Data|getData|{{PAGENAME}}|imp_tol}}
|  data14  = {{#invoke:Data|getData|{{PAGENAME}}|imp_tol}} <small>m/s</small>


| label20  = Methalox (t)
| label20  = Methalox
|  data20  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|resources|methalox}} | {{#invoke:Data|getData|{{PAGENAME}}|resources|methalox}}}}
|  data20  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|resources|methalox}} | {{#invoke:Data|getData|{{PAGENAME}}|resources|methalox}} <small>t</small>}}


| label21  = Methane (t)
| label21  = Methane
|  data21  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|resources|methane}} | {{#invoke:Data|getData|{{PAGENAME}}|resources|methane}}}}
|  data21  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|resources|methane}} | {{#invoke:Data|getData|{{PAGENAME}}|resources|methane}} <small>t</small>}}


| label22  = Monopropellant (t)
| label22  = Monopropellant
|  data22  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|resources|monopropellant}} | {{#invoke:Data|getData|{{PAGENAME}}|resources|monopropellant}}}}
|  data22  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|resources|monopropellant}} | {{#invoke:Data|getData|{{PAGENAME}}|resources|monopropellant}} <small>t</small>}}


| label23  = Solid Fuel (t)
| label23  = Solid Fuel
|  data23  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|resources|solid_fuel}} | {{#invoke:Data|getData|{{PAGENAME}}|resources|solid_fuel}}}}
|  data23  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|resources|solid_fuel}} | {{#invoke:Data|getData|{{PAGENAME}}|resources|solid_fuel}} <small>t</small>}}


| label24  = Hydrogen (t)
| label24  = Hydrogen
|  data24  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|resources|hydrogen}} | {{#invoke:Data|getData|{{PAGENAME}}|resources|hydrogen}}}}
|  data24  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|resources|hydrogen}} | {{#invoke:Data|getData|{{PAGENAME}}|resources|hydrogen}} <small>t</small>}}


| label25  = Xenon (t)
| label25  = Xenon
|  data25  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|resources|xenon}} | {{#invoke:Data|getData|{{PAGENAME}}|resources|xenon}}}}
|  data25  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|resources|xenon}} | {{#invoke:Data|getData|{{PAGENAME}}|resources|xenon}} <small>t</small>}}


| label26  = Electric Charge (U)
| label26  = Electric Charge (U)
|  data26  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|resources|electric_charge}} | {{#invoke:Data|getData|{{PAGENAME}}|resources|electric_charge}}}}
|  data26  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|resources|electric_charge}} | {{#invoke:Data|getData|{{PAGENAME}}|resources|electric_charge}} <small>U</small>}}


| label29  = Stores Research
| label29  = Stores Research
Line 74: Line 76:


| header36 = Command Module
| header36 = Command Module
| data37  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|modules|command_module}} | {{Infobox generator}} |}}
| data37  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|modules|command_module}} | {{Infobox command module}} |}}


| header38 = Reaction Wheel
| header38 = Reaction Wheel
| data39  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|modules|reaction_wheel}} | {{Infobox generator}} |}}
| data39  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|modules|reaction_wheel}} | {{Infobox reaction wheel}} |}}


| header40 = Data Transmitter
| header40 = Data Transmitter
| data41  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|modules|data_transmitter}} | {{Infobox generator}} |}}
| data41  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|modules|data_transmitter}} | {{Infobox data transmitter}} |}}
 
| header42 = Light
| data43  = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|modules|light}} | {{Infobox light}} |}}


| header50 = Converter
| header50 = Converter

Latest revision as of 05:01, 27 March 2025