Jump to content

Template:Infobox Sandbox: Difference between revisions

From Rolling Lounge Wiki
Renamed caption to image caption
Added autoheaders tag
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
| image      = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|{{{name}}}}}}]]}}
| headerstyle = {{#ifeq:{{{embed|}}}|yes||background-color:#ededed}} <!-- Makes sure the headers are darker -->
| image_caption = {{{image_caption|}}}
| autoheaders = yes
 
| above      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} <!-- Title is the page name unless otherwise specified -->
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|alt={{{alt|}}}}} <!-- Not adding images is ok too -->
| caption    = {{{caption|}}} <!-- Image caption -->


| header1    = Main Info
| header1    = Main Info
Line 24: Line 28:
| data9      = {{{youtube|}}}
| data9      = {{{youtube|}}}


| label10    = Twitter
| label10    = X/Twitter
| data10      = {{{twitter|}}}
| data10      = {{{twitter|}}}


| label11    = Discord Server
| label11    = Discord Server
| data11      = {{{discord|}}}
| data11      = {{{discord|}}}
| belowstyle = {{{belowstyle|}}}
| below    = {{{footnotes|}}}
}}
}}

Latest revision as of 16:49, 9 June 2025