Difference between revisions of "User:Ffbeso/Templates/Template:SB Infobox Header/jp"
Jump to navigation
Jump to search
m |
m |
||
Line 4: | Line 4: | ||
<div class="SB-Infobox-Faction-Logo">{{{factionLogo|}}}</div> | <div class="SB-Infobox-Faction-Logo">{{{factionLogo|}}}</div> | ||
</div><span class="SB-Infobox-Header-Caption">{{{caption|}}}</span></div> | </div><span class="SB-Infobox-Header-Caption">{{{caption|}}}</span></div> | ||
{{#if:{{{suppressName|}}}||<div class="SB-Infobox-Name">{{#if: | {{#if:{{{suppressName|}}}||<div class="SB-Infobox-Name">{{#if:{{name}}|{{{name}}}|{{SUBPAGENAME}}}}{{#if:{{{subtitle|}}}|<div style="font-size:0.8em">{{{subtitle}}}</div>}}</div>}} | ||
{{#ifeq:{{{border|}}}|none|{{#css:.SB-Infobox-Image-Wrap img { outline:none!important; } }}|}}</includeonly> | {{#ifeq:{{{border|}}}|none|{{#css:.SB-Infobox-Image-Wrap img { outline:none!important; } }}|}}</includeonly> | ||
Revision as of 17:02, 24 June 2021
{{SB Infobox Header |image= |previewImage= |caption= |name= |subtitle= }}
The header template includes a parameter called previewImage, which can be used in conjunction with the Transcluder to transclude an infobox with a lighter-weight image to make loading quicker.