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

Difference between revisions of "Template:SB Infobox Header"

From Starbase wiki
Jump to navigation Jump to search
m
m
Line 6: Line 6:
{{#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>
<noinclude><pre>
{{SB Infobox Header
  |image=
  |previewImage=
  |caption=
  |name=
  |subtitle=
</pre>
The header template includes a parameter called ''previewImage'', which can be used in conjunction with the [[Module:Transcluder|Transcluder]] to transclude an infobox with a lighter-weight image to make loading quicker.
</noinclude>

Revision as of 12:46, 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.


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