Difference between revisions of "Template:SB Infobox Device General Information/jp"
Jump to navigation
Jump to search
m |
m (Added compact infobox classes) |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if:{{{type|}}}| <div class="SB-Infobox-Data- | <includeonly>{{#if:{{{type|}}}| <div class="SB-Infobox-Data-CellSB-IBDC-Type"><span class="SB-Infobox-Cell-Header">タイプ</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">機能</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">入手性</span> <span class="SB-Infobox-Cell-Body">{{{availability}}}</span></div>}}{{#if:{{{size|}}}| <div class="SB-Infobox-Data-Cell"><span class="SB-Infobox-Cell-Header">サイズ</span> <span class="SB-Infobox-Cell-Body">{{{size}}}</span></div>}}{{#if:{{{mass|}}}| <div class="SB-Infobox-Data-Cell"><span class="SB-Infobox-Cell-Header">質量</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">体積</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">腐食耐性</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">サブコンポーネント</span> <span class="SB-Infobox-Cell-Body">{{{subComponents}}}</span></div>}}</includeonly> | ||
<noinclude><pre> | <noinclude><pre> | ||
Revision as of 09:28, 4 June 2021
|{{SB Infobox Device General Information
|type=タイプ
|function=機能
|availability=入手性
|size=サイズ
|mass=質量
|volume=体積
|corrosionResistance=腐食耐性
|suppressUnitsKg //Optional parameter to remove the auto-added 'kg' from the mass field. Useful if a list is being used
|suppressUnitsKv //Optional parameter to remove the auto-added 'kv' from the volume field. Useful if a list is being used
|subComponents=サブコンポーネント
}}