Template:Infobox engines: Difference between revisions

From Kerbal Space Program 2 Wiki
Jump to navigation Jump to search
implemented new module based box approach from /doc
Tag: 2017 source edit
increased label width to 60%
Tag: 2017 source edit
Line 4: Line 4:
{{Infobox | subbox = yes
{{Infobox | subbox = yes
  | 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;
  | labelstyle  = width: 50%; text-align: left;
  | labelstyle  = width: 60%; text-align: left;
  | header20 = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|alt_mode}} | {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|mode_name}} |}}
  | header20 = {{#if: {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|alt_mode}} | {{#invoke:Data|getData|{{PAGENAME}}|modules|engine|mode_name}} |}}
  | label21  = {{#invoke:Data|getFuelLabels|{{PAGENAME}}}}
  | label21  = {{#invoke:Data|getFuelLabels|{{PAGENAME}}}}

Revision as of 19:48, 25 December 2024