Template:Infobox Sandbox: Difference between revisions

adding bodyclass and aboveclass to see if they bring anything
Tag: Reverted
Added autoheaders tag
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
{{Infobox
| headerstyle = {{#ifeq:{{{embed|}}}|yes||background-color:#ededed}} <!-- Makes sure the headers are darker -->
| headerstyle = {{#ifeq:{{{embed|}}}|yes||background-color:#ededed}} <!-- Makes sure the headers are darker -->
| autoheaders = yes


| bodyclass  = vcard
| above     = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} <!-- Title is the page name unless otherwise specified -->
| aboveclass  = fn org
| image   = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|alt={{{alt|}}}}} <!-- Not adding images is ok too -->
 
| title     = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} <!-- Title is the page name unless otherwise specified -->
| image     = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|{{{name}}}}}}]]}} <!-- Not adding images is ok too -->
| caption    = {{{caption|}}} <!-- Image caption -->
| caption    = {{{caption|}}} <!-- Image caption -->