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

Difference between revisions of "Template:SB Infobox Component Section"

From Starbase wiki
Jump to navigation Jump to search
m
m (Removed styles)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><nowiki />
<includeonly><nowiki />
<div class="SB-Infobox-Data-Section-Header IB-Components">Sub-components</div><div class="SB-Infobox-Component-Wrap"><nowiki />
<div class="SB-Infobox-Data-Section-Header IB-Components">Sub-components</div><div class="SB-Infobox-Component-Wrap"><nowiki />
{{#if:{{{1|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder_Test|main|{{{1}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{1|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder|main|{{{1}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{2|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder_Test|main|{{{2}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{2|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder|main|{{{2}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{3|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder_Test|main|{{{3}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{3|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder|main|{{{3}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{4|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder_Test|main|{{{4}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{4|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder|main|{{{4}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{5|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder_Test|main|{{{5}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{5|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder|main|{{{5}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{6|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder_Test|main|{{{6}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{6|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder|main|{{{6}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{7|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder_Test|main|{{{7}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{7|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder|main|{{{7}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{8|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder_Test|main|{{{8}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{8|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder|main|{{{8}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{9|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder_Test|main|{{{9}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{9|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder|main|{{{9}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{10|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder_Test|main|{{{10}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{10|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder|main|{{{10}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{11|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder_Test|main|{{{11}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{11|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder|main|{{{11}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{12|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder_Test|main|{{{12}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{12|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder|main|{{{12}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{13|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder_Test|main|{{{13}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{13|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder|main|{{{13}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{14|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder_Test|main|{{{14}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{14|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder|main|{{{14}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{15|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder_Test|main|{{{15}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
{{#if:{{{15|}}}|<div class="SB-Infobox-Component-Cell">{{#invoke:Transcluder|main|{{{15}}}|only=templates|templates=SB Infobox|subcomponentView=true}}</div>}}<nowiki />
</div><nowiki />
</div><nowiki /></includeonly>
{{#css:
.SB-Infobox-Component-Wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8em, 1fr));
  grid-auto-rows: 1fr;
  column-gap: 4px;
  row-gap: 4px;
  padding: 0.3em 0.4em;
}
.SB-Infobox-Component-Cell {
  display: flex;
  vertical-align: middle;
  text-align: center;
}
.SB-Infobox-Component-Cell a {
  display: flex;
  flex-direction: column;
  margin: auto;
  width: 100%;
  height: 100%;
  background: #3d5a5e1c;
  outline: 1px solid #304344;
}
.SB-Infobox-Component-Cell a::after {
content: attr(title);
display: block;
color: gray;
width: 100%;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
.SB-Infobox-Component-Cell img {
  max-height: 50px;
  max-width: 50px;
  width: auto;
  height: auto;
  padding:1em;
  margin: auto;
}
.SB-Infobox-Component-Cell a:hover {
  background: #3d5a5e33;
  outline: 1px solid #364c4d;
}
.SB-Infobox-Component-Cell a:hover::after {
  color: #ebed50;
}
}}</includeonly>

Latest revision as of 07:27, 4 January 2022

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