Difference between revisions of "Template:SB Infobox Device General Information"
Jump to navigation
Jump to search
m (Added compact infobox classes) |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{#if:{{{type|}}}| <div class="SB-Infobox-Data-Cell SB-IBDC-Type"><span class="SB-Infobox-Cell-Header">Type</span> <span class="SB-Infobox-Cell-Body">{{{type}}}</span></div>}}{{#if:{{{function|}}}| <div class="SB-Infobox-Data-Cell SB-IBDC-Function"><span class="SB-Infobox-Cell-Header">Function</span> <span class="SB-Infobox-Cell-Body">{{{function}}}</span></div>}}{{#if:{{{availability|}}}| <div class="SB-Infobox-Data-Cell SB-IBDC-Availability"><span class="SB-Infobox-Cell-Header">Availability</span> <span class="SB-Infobox-Cell-Body">{{{availability}}}</span></div>}}{{#if:{{{size|}}}| <div class="SB-Infobox-Data-Cell"><span class="SB-Infobox-Cell-Header">Size</span> <span class="SB-Infobox-Cell-Body">{{{size}}}</span></div>}}{{#if:{{{mass|}}}| <div class="SB-Infobox-Data-Cell"><span class="SB-Infobox-Cell-Header">Mass</span> <span class="SB-Infobox-Cell-Body">{{{mass}}} {{#if:{{{suppressUnitsKg|}}}||kg}}</span></div>}}{{#if:{{{volume|}}}| <div class="SB-Infobox-Data-Cell"><span class="SB-Infobox-Cell-Header">Volume</span> <span class="SB-Infobox-Cell-Body">{{{volume}}} {{#if:{{{suppressUnitsKv|}}}||kv}}</span></div>}}{{#if:{{{corrosionResistance|}}}| <div class="SB-Infobox-Data-Cell"><span class="SB-Infobox-Cell-Header">Corrosion resistance</span> <span class="SB-Infobox-Cell-Body">{{{corrosionResistance}}}</span></div>}}{{#if:{{{subComponents|}}}| <div class="SB-Infobox-Data-Cell SB-IBDC-Subcomponents"><span class="SB-Infobox-Cell-Header">Subcomponents</span> <span class="SB-Infobox-Cell-Body">{{{subComponents}}}</span></div>}}</includeonly> | <includeonly> | ||
{{#if:{{{type|}}}|<div class="SB-Infobox-Data-Cell SB-IBDC-Type"><span class="SB-Infobox-Cell-Header">Type</span> <span class="SB-Infobox-Cell-Body">{{{type}}}</span></div>}} | |||
{{#if:{{{function|}}}|<div class="SB-Infobox-Data-Cell SB-IBDC-Function"><span class="SB-Infobox-Cell-Header">Function</span> <span class="SB-Infobox-Cell-Body">{{{function}}}</span></div>}} | |||
{{#if:{{{availability|}}}|<div class="SB-Infobox-Data-Cell SB-IBDC-Availability"><span class="SB-Infobox-Cell-Header">Availability</span> <span class="SB-Infobox-Cell-Body">{{{availability}}}</span></div>}} | |||
{{#if:{{{size|}}}|<div class="SB-Infobox-Data-Cell"><span class="SB-Infobox-Cell-Header">Size</span> <span class="SB-Infobox-Cell-Body">{{{size}}}</span></div>}} | |||
{{#if:{{{mass|}}}|<div class="SB-Infobox-Data-Cell"><span class="SB-Infobox-Cell-Header">Mass</span> <span class="SB-Infobox-Cell-Body">{{{mass}}} {{#if:{{{suppressUnitsKg|}}}||kg}}</span></div>}} | |||
{{#if:{{{volume|}}}|<div class="SB-Infobox-Data-Cell"><span class="SB-Infobox-Cell-Header">Volume</span> <span class="SB-Infobox-Cell-Body">{{{volume}}} {{#if:{{{suppressUnitsKv|}}}||kv}}</span></div>}} | |||
{{#if:{{{corrosionResistance|}}}|<div class="SB-Infobox-Data-Cell"><span class="SB-Infobox-Cell-Header">Corrosion resistance</span> <span class="SB-Infobox-Cell-Body">{{{corrosionResistance}}}</span></div>}} | |||
{{#if:{{{subComponents|}}}|<div class="SB-Infobox-Data-Cell SB-IBDC-Subcomponents"><span class="SB-Infobox-Cell-Header">Subcomponents</span> <span class="SB-Infobox-Cell-Body">{{{subComponents}}}</span></div>}} | |||
</includeonly> | |||
<noinclude><pre> | <noinclude><pre> |
Revision as of 08:45, 18 June 2021
|{{SB Infobox Device General Information |type= |function= |availability= |size= × × cm |mass= |volume= |corrosionResistance= |suppressUnitsKg |suppressUnitsKv |subComponents= }}