Template:Infobox part/doc: Difference between revisions
Jump to navigation
Jump to search
just account for all the relevant resources directly, avoid modulization Tag: 2017 source edit |
implementing new subbox approach for part module info Tag: 2017 source edit |
||
Line 4: | Line 4: | ||
| image = [[File:LV-SW_SWERV.png|200px|center]] | | image = [[File:LV-SW_SWERV.png|200px|center]] | ||
| caption = {{#invoke:Data|getData|Example/engine|subtitle}} | | caption = {{#invoke:Data|getData|Example/engine|subtitle}} | ||
| below = {{#invoke:Data|getData|Example/engine|manufacturer}} | |||
| labelstyle = width: 60%; text-align: left; | | labelstyle = width: 60%; text-align: left; | ||
Line 19: | Line 21: | ||
width: 20em; | width: 20em; | ||
| headerstyle = font-weight: bold; color: black; background: #f7aa33; font-size: 18px; text-align: left; | | headerstyle = font-weight: bold; color: black; background: #f7aa33; font-size: 18px; text-align: left; | ||
| autoheaders = y | |||
| captionstyle = text-align: center; font-style: italic; | | captionstyle = text-align: center; font-style: italic; | ||
Line 59: | Line 62: | ||
| data29 = {{#ifeq: {{#invoke:Data|getData|Example/command module|stores_research}} | true | ✔ |}} | | data29 = {{#ifeq: {{#invoke:Data|getData|Example/command module|stores_research}} | true | ✔ |}} | ||
| header30 = {{{ | | header30 = Engine | ||
| | | data31 = {{#if: {{#invoke:Data|getData|Example/engine|modules|engine}} | {{Infobox engines/doc}} |}} | ||
| header32 = Parachute | |||
| data33 = {{#if: {{#invoke:Data|getData|Example/parachute|modules|parachute}} | {{Infobox parachute/doc}} |}} | |||
}} | }} |