Sb forum speech.png DiscordLink.png FacebookLink.png RedditLink.png SteamLink.png TwitterLink.png YoutubeLink.png

Difference between revisions of "User:DustyFB/Sandbox/Templates/Template:DeviceInfobox"

From Starbase wiki
Jump to navigation Jump to search
 
(13 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>}}
        {{#ifexpr: {{{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>
Line 47: Line 46:
.Device-Info-Header img {
.Device-Info-Header img {
   max-width:100%;
   max-width:100%;
  max-height:250px;
   height: auto;
   height: auto;
   width: auto;
   width: auto;
   background: linear-gradient(transparent, #3a806e1f);
   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>


Cookies help us deliver our services. By using our services, you agree to our use of cookies.