Difference between revisions of "Template:Infobox module"

From Larnitech wiki page
Jump to navigation Jump to search
Line 1: Line 1:
 
{{ infobox
 
{{ infobox
 
| above      = <includeonly>{{{name|{{PAGENAMEBASE}}}}}</includeonly>
 
| above      = <includeonly>{{{name|{{PAGENAMEBASE}}}}}</includeonly>
| bodystyle  = width:25em;
+
| bodystyle  = width:30em;
 
| autoheaders = y
 
| autoheaders = y
 
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|}}}}}}|maxsize={{{image_maxsize|}}}|sizedefault={{{image_sizedefault|frameless}}}|upright={{{image_upright|1}}}|alt={{{alt|}}}|title={{{image_title|}}}|link={{{image_link|}}}}}
 
| image      = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|{{{imagesize|}}}}}}|maxsize={{{image_maxsize|}}}|sizedefault={{{image_sizedefault|frameless}}}|upright={{{image_upright|1}}}|alt={{{alt|}}}|title={{{image_title|}}}|link={{{image_link|}}}}}
 
| labelstyle = display:none;
 
| labelstyle = display:none;
 
| data1 = {{ infobox | subbox = yes
 
| data1 = {{ infobox | subbox = yes
 +
        | autoheaders = y
 
         | labelstyle  = width:60%;
 
         | labelstyle  = width:60%;
 
| headerstyle = background:#00bb00;
 
| headerstyle = background:#00bb00;
Line 21: Line 22:
 
}}
 
}}
 
| data2      = {{ infobox | subbox = yes
 
| data2      = {{ infobox | subbox = yes
 +
        | autoheaders = y
 
         | labelstyle  = width:60%;
 
         | labelstyle  = width:60%;
 
| headerstyle = background:#8888bb;
 
| headerstyle = background:#8888bb;
Line 30: Line 32:
 
}}
 
}}
 
| data3      = {{ infobox | subbox = yes
 
| data3      = {{ infobox | subbox = yes
 +
        | autoheaders = y
 
         | labelstyle  = width:60%;
 
         | labelstyle  = width:60%;
 
| headerstyle = background:#dededf;
 
| headerstyle = background:#dededf;

Revision as of 14:23, 19 July 2021


{{Infobox module
| name       =  Module name
| image      =  Module image
| outCount   =  Number of switched channels
| dimmOut    =  Number of dimming channels
| peakl      =  Peak load (one-device)
| peakdl     =  Max load per dimming channel
| dt         =  Dimmer type   
| inDisc     =  Number of discrete inputs
| inDigit    =  Number of digital inputs
| voltage    =  Supply voltage
| dim        =  Module dimentions
}}


Template for using
{{Infobox module
| name       = 
| image      = 
| outCount   = 
| dimmOut    = 
| peakl      = 
| peakdl     = 
| dt         = 
| inDisc     = 
| inDigit    = 
| voltage    = 
| dim        = 
}}