Template:Infobox Sandbox: Difference between revisions

Renamed image_caption to caption and removed bottom styles or something
Added autoheaders tag
 
(18 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 -->
| caption    = {{{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|}}}