Template:Infobox Sandbox: Difference between revisions

m Removed Download from this infobox because it's unnecessary
Added autoheaders tag
 
(22 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
| name      = Person Infobox
| headerstyle = {{#ifeq:{{{embed|}}}|yes||background-color:#ededed}} <!-- Makes sure the headers are darker -->
| bodyclass  = vcard
| autoheaders = yes
| title      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| subheader  = {{#if:{{{native_name|}}}|<div class="nickname">{{{native_name}}}</div>}}


| image     = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|{{{name}}}}}}]]}}
| above     = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} <!-- Title is the page name unless otherwise specified -->
| caption    = {{{caption|}}}
| 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 29: Line 28:
| data9      = {{{youtube|}}}
| data9      = {{{youtube|}}}


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