Difference between revisions of "Template:Infobox music"

From Bronies.wiki
Jump to navigation Jump to search
(Fix tyops.)
m (KimPegasus moved page Template:Infobox album to Template:Infobox music: Same template's also good for singles, music videos, etc. )
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox
+
<includeonly>{{Infobox
|title=  {{{name|{{ROOTPAGENAME}}}}}
+
|title=  ''{{{name|{{ROOTPAGENAME}}}}}''
 
|image=  {{{cover|}}}
 
|image=  {{{cover|}}}
 
|image_caption={{{cover_caption|}}}
 
|image_caption={{{cover_caption|}}}
|key1Artist
+
|heading1={{#switch: {{{type|}}}
|value1= {{{artist|}}}
+
  | single = Single
 +
  | compilation = Compilation album
 +
  | live = Live album
 +
   | remix = Remix album
 +
  | soundtrack = Soundtrack album
 +
  | Studio album }} {{#if: {{{artist|}}} | &#32;by {{{artist}}} }}
 
|key2=  Released
 
|key2=  Released
 
|value2= {{#if: {{{released| }}} | {{#time: F j, Y | {{{released}}} }} }}
 
|value2= {{#if: {{{released| }}} | {{#time: F j, Y | {{{released}}} }} }}
Line 17: Line 22:
 
|key7=  Producer
 
|key7=  Producer
 
|value7= {{{producer|}}}
 
|value7= {{{producer|}}}
|header8={{{artist}}} chronology
+
|heading8={{#if: {{{prev_title|}}}{{{next_title|}}} | {{{artist}}} chronology }}
 
|extension={{#if: {{{prev_title|}}}{{{next_title|}}}
 
|extension={{#if: {{{prev_title|}}}{{{next_title|}}}
   | <table><tr>{{#if: {{{prev_title|}}}
+
   | <table class="chronology"><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>'''''{{{name|{{ROOTPAGENAME}}}}}'''''<br>({{#time: Y | 2012-01-07 }})</td>{{#if: {{{next_title|}}}
+
   }}<td>'''''{{{name|{{ROOTPAGENAME}}}}}'''''<br>({{#time: Y | {{{released}}} }})</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>  
 
}}
 
}}
}}
+
}}[[Category:Albums]]{{#if: {{{released|}}} | [[Category:{{#time: Y | {{{released}}} }} releases]] }}</includeonly><noinclude>
 +
{{Documentation}}
 +
[[Category:Infobox templates|Album]]
 +
</noinclude>

Latest revision as of 11:11, 11 October 2020

This documentation is transcluded from Template:Infobox music/doc and needs to be edited separately.

Template:Infobox music/doc