Jump to content

Template:Infobox Sandbox: Difference between revisions

From Rolling Lounge Wiki
Renamed Twitter to X/Twitter, but the data label is still twitter because x would suck as a data label
Added autoheaders tag
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
| title     = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| headerstyle = {{#ifeq:{{{embed|}}}|yes||background-color:#ededed}} <!-- Makes sure the headers are darker -->
| image     = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|{{{name}}}}}}]]}}
| autoheaders = yes
| caption    = {{{caption|}}}
 
| 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

Latest revision as of 16:49, 9 June 2025