Template:Infobox part/doc: Difference between revisions
Jump to navigation
Jump to search
Adding resources & research storage. Resources need to modulized Tag: 2017 source edit |
just account for all the relevant resources directly, avoid modulization Tag: 2017 source edit |
||
Line 22: | Line 22: | ||
| header10 = Statistics | | header10 = Statistics | ||
| label11 = Mass (t) | | label11 = Mass (t) | ||
| data11 = {{#invoke:Data|getData|Example/engine|mass}} | | data11 = {{#invoke:Data|getData|Example/engine|mass}} | ||
| label12 = Size | | label12 = Size | ||
| data12 = {{Size|Size={{#invoke:Data|getData|Example/engine|size}}}} | | data12 = {{Size|Size={{#invoke:Data|getData|Example/engine|size}}}} | ||
| label13 = Max Temp (K) | | label13 = Max Temp (K) | ||
| data13 = {{#invoke:Data|getData|Example/engine|max_temp}} | | data13 = {{#invoke:Data|getData|Example/engine|max_temp}} | ||
| label14 = Impact Tolerance (m/s) | | label14 = Impact Tolerance (m/s) | ||
| data14 = {{#invoke:Data|getData|Example/engine|imp_tol}} | | data14 = {{#invoke:Data|getData|Example/engine|imp_tol}} | ||
| | | label20 = Methalox (t) | ||
| | | data20 = {{#invoke:Data|getData|Example/command module|resources|methalox}} | ||
| label21 = Methane (t) | |||
| data21 = {{#invoke:Data|getData|Example/command module|resources|methane}} | |||
| label22 = Monopropellant (t) | |||
| data22 = {{#invoke:Data|getData|Example/command module|resources|monopropellant}} | |||
| label23 = Solid Fuel (t) | |||
| data23 = {{#invoke:Data|getData|Example/command module|resources|solid_fuel}} | |||
| label24 = Hydrogen (t) | |||
| data24 = {{#invoke:Data|getData|Example/command module|resources|hydrogen}} | |||
| label25 = Xenon (t) | |||
| data25 = {{#invoke:Data|getData|Example/command module|resources|xenon}} | |||
| label26 = Electric Charge (U) | |||
| data26 = {{#invoke:Data|getData|Example/command module|resources|electric_charge}} | |||
| label29 = Stores Research | |||
| data29 = {{#ifeq: {{#invoke:Data|getData|Example/command module|stores_research}} | true | ✔ |}} | |||
| header30 = {{{auxHeader|}}} | |||
| data31 = {{{auxData|}}} | |||
| below = {{#invoke:Data|getData|Example/engine|manufacturer}} | | below = {{#invoke:Data|getData|Example/engine|manufacturer}} | ||
}} | }} |