Difference between revisions of "User:DustyFB/Sandbox/Templates/Template:DeviceInfobox"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
{{#if:{{{availability|}}}| <div class="Device-Info-Data-Cell"><span class="Device-Info-Data-Cell-Header">Availability</span> <span class="Device-Info-Data-Cell-Body">{{{availability}}}</span></div>}} | {{#if:{{{availability|}}}| <div class="Device-Info-Data-Cell"><span class="Device-Info-Data-Cell-Header">Availability</span> <span class="Device-Info-Data-Cell-Body">{{{availability}}}</span></div>}} | ||
{{#if:{{{size|}}}| <div class="Device-Info-Data-Cell"><span class="Device-Info-Data-Cell-Header">Size</span> <span class="Device-Info-Data-Cell-Body">{{{size}}}</span></div>}} | {{#if:{{{size|}}}| <div class="Device-Info-Data-Cell"><span class="Device-Info-Data-Cell-Header">Size</span> <span class="Device-Info-Data-Cell-Body">{{{size}}}</span></div>}} | ||
{{#ifexpre: {{{class}}} and {{{type1}}}|<div class="Spaceship-Info-Data-Cell"><span class="Spaceship-Info-Data-Cell-Header">Class and Type</span> <span class="Spaceship-Info-Data-Cell-Body"><i>{{{class}}}</i>-class {{{type1}}}</span></div>|{{#if:{{{class|}}}|<div class="Device-Info-Data-Cell"><span class="Device-Info-Data-Cell-Header">Class</span> <span class="Device-Info-Data-Cell-Body"><i>{{{class}}}</i>-class</span></div>| {{#if:{{{type1|}}}| <div class="Device-Info-Data-Cell"><span class="Device-Info-Data-Cell-Header">Type</span> <span class="Device-Info-Data-Cell-Body">{{{type1}}}</span></div>}}}}}} | {{#ifexpre: {{{class}}} > 0 and {{{type1}}} > 0|<div class="Spaceship-Info-Data-Cell"><span class="Spaceship-Info-Data-Cell-Header">Class and Type</span> <span class="Spaceship-Info-Data-Cell-Body"><i>{{{class}}}</i>-class {{{type1}}}</span></div>|{{#if:{{{class|}}}|<div class="Device-Info-Data-Cell"><span class="Device-Info-Data-Cell-Header">Class</span> <span class="Device-Info-Data-Cell-Body"><i>{{{class}}}</i>-class</span></div>| {{#if:{{{type1|}}}| <div class="Device-Info-Data-Cell"><span class="Device-Info-Data-Cell-Header">Type</span> <span class="Device-Info-Data-Cell-Body">{{{type1}}}</span></div>}}}}}} | ||
</div> | </div> | ||
<div class="Device-Info-Data-Section-Header">Input / Output</div> | <div class="Device-Info-Data-Section-Header">Input / Output</div> |
Revision as of 06:04, 14 May 2021
Gallery mode can be utilized in the image field with:
|image=<gallery mode="slideshow"> Image:Memory_relay.png|"Caption" Image:Logo_of_empire.png|"Caption" </gallery>