Difference between revisions of "User:Ffbeso/Templates/Template:SB Infobox Header/jp"
Jump to navigation
Jump to search
m |
m |
||
(9 intermediate revisions by the same user not shown) | |||
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:{{{name}}}|{{{name}}}|{{SUBPAGENAME}}}}{{#if:{{{subtitle|}}}|<div style="font-size:0.8em">{{{subtitle}}}</div>}}</div>}} | {{#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> | ||
Latest revision as of 02:35, 25 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.