Template:Infobox converter/doc: Difference between revisions
Jump to navigation
Jump to search
implemented infobox helper functions via invoke and full alt mode support Tag: 2017 source edit |
simplified formatting |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Infobox | subbox = yes | {{Infobox | subbox = yes | ||
| headerstyle = font-weight: | | headerstyle = font-weight: 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 | |headerstyle = font-weight: bold; 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 | | headerstyle = font-weight: bold; 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 | |headerstyle = font-weight: bold; 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 23:50, 28 January 2025
Mode 1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
Mode 2 | |||||||||
---|---|---|---|---|---|---|---|---|---|
|