Template:Infobox Song: Difference between revisions

Cenicode (talk | contribs)
Created page with "{{Infobox | headerstyle = {{#ifeq:{{{embed|}}}|yes||background-color:#ededed}} <!-- Makes sure the headers are darker --> | above = {{{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 --> | header1 = Main Info | label2 =..."
 
m Text replacement - "| image = {{#if:{{{image|}}}|[[File:{{{image}}}|frameless|alt={{{alt|{{{name}}}}}}]]}}" to "| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|alt={{{alt|}}}}}"
 
(3 intermediate revisions by one other user not shown)
Line 3: Line 3:


| above      = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} <!-- Title is the page name unless otherwise specified -->
| above      = {{{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 -->
| 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 23:


| label8    = Genre(s)
| label8    = Genre(s)
| data8      = {{{Genre|}}}
| data8      = {{{genre|}}}


| label9    = Subgenre(s)
| label9    = Subgenre(s)
Line 30: Line 29:


| label10    = Mood
| label10    = Mood
| data10      = {{{mood|}}
| data10      = {{{mood|}}}


| label11    = Length
| label11    = Length