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>}} | ||
{{#ifexpr: | {{#ifexpr: 1 > 0 and 1 < 1.0 or {{#ifeq:{{{decimal}}}| yes}} |is decimal |not decimal}} | ||
</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:06, 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>