Difference between revisions of "User:DustyFB/Sandbox/Templates/Template:DeviceInfobox"
Jump to navigation
Jump to search
(12 intermediate revisions by the same user not shown) | |||
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>}} | ||
</div> | </div> | ||
<div class="Device-Info-Data-Section-Header">Input / Output</div> | <div class="Device-Info-Data-Section-Header">Input / Output</div> | ||
Line 47: | Line 46: | ||
.Device-Info-Header img { | .Device-Info-Header img { | ||
max-width:100%; | max-width:100%; | ||
height: auto; | height: auto; | ||
width: auto; | width: auto; | ||
background: linear-gradient(transparent, # | background: linear-gradient(transparent, #3a808045); | ||
} | } | ||
.Device-Info-Header-Caption { | .Device-Info-Header-Caption { |
Latest revision as of 09:18, 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>