Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox converter/doc: Difference between revisions

Template page
(implemented infobox helper functions via invoke and full alt mode support)
Tag: 2017 source edit
(changed header sizes to 14px)
Tag: 2017 source edit
 
Line 1: Line 1:
{{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: 14px; text-align: left;
  | labelstyle  = width: 50%; text-align: left;
  | labelstyle  = width: 50%; text-align: left;
  | header20 = {{#if: {{#invoke:Data|getData|Example/converter|modules|converter|alt_mode}} | {{#invoke:Data|getData|Example/converter|modules|converter|mode_name}} |}}
  | header20 = {{#if: {{#invoke:Data|getData|Example/converter|modules|converter|alt_mode}} | {{#invoke:Data|getData|Example/converter|modules|converter|mode_name}} |}}
  | data21 = {{Infobox | subbox = yes
  | data21 = {{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: 14px; text-align: left;
   | labelstyle  = width: 50%; text-align: left;
   | labelstyle  = width: 50%; text-align: left;
   | header20 = Inputs
   | header20 = Inputs
Line 16: Line 16:
{{#if: {{#invoke:Data|getData|Example/converter|modules|converter|alt_mode}}  
{{#if: {{#invoke:Data|getData|Example/converter|modules|converter|alt_mode}}  
  | {{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: 14px; text-align: left;
   | labelstyle  = width: 50%; text-align: left;
   | labelstyle  = width: 50%; text-align: left;
   | header20 = {{#invoke:Data|getData|Example/converter|modules|converter|alt_mode|mode_name}}
   | header20 = {{#invoke:Data|getData|Example/converter|modules|converter|alt_mode|mode_name}}
   | data21 = {{Infobox | subbox = yes
   | data21 = {{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: 14px; text-align: left;
   | labelstyle  = width: 50%; text-align: left;
   | labelstyle  = width: 50%; text-align: left;
   | header20 = Inputs
   | header20 = Inputs

Latest revision as of 15:36, 31 December 2024

Mode 1
Inputs
Hydrogen (t)
Methane (t)
1
1
Outputs
Solid Fuel (t)
2
Mode 2
Inputs
Hydrogen (t)
8
Outputs
Xenon (t)
1
MediaWiki Appliance - Powered by TurnKey Linux