Difference between revisions of "Template:Infobox music"

37 bytes added ,  18:25, 6 October 2020
Fix tyops.
(Album infobox first pass)
 
(Fix tyops.)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
|title=  {{{name}}}
+
|title=  {{{name|{{ROOTPAGENAME}}}}}
 
|image=  {{{cover|}}}
 
|image=  {{{cover|}}}
 
|image_caption={{{cover_caption|}}}
 
|image_caption={{{cover_caption|}}}
Line 20: Line 20:
 
|extension={{#if: {{{prev_title|}}}{{{next_title|}}}
 
|extension={{#if: {{{prev_title|}}}{{{next_title|}}}
 
   | <table><tr>{{#if: {{{prev_title|}}}
 
   | <table><tr>{{#if: {{{prev_title|}}}
     | <td>''{{prev_title}}''{{#if: {{{prev_year|}}} | <br>({{{prev_year}}}) }}</td>
+
     | <td>''{{{prev_title}}}''{{#if: {{{prev_year|}}} | <br>({{{prev_year}}}) }}</td>
   }}<td>'''''{{{title}}}'''''<br>({{#time: Y | 2012-01-07 }})</td>{{#if: {{{next_title|}}}
+
   }}<td>'''''{{{name|{{ROOTPAGENAME}}}}}'''''<br>({{#time: Y | 2012-01-07 }})</td>{{#if: {{{next_title|}}}
     | <td>''{{next_title}}''{{#if: {{{next_year|}}} | <br>({{{next_year}}}) }}</td>
+
     | <td>''{{{next_title}}}''{{#if: {{{next_year|}}} | <br>({{{next_year}}}) }}</td>
 
   }}</tr></table>  
 
   }}</tr></table>  
 
}}
 
}}
 
}}
 
}}