Difference between revisions of "Template:Infobox music"

From Bronies.wiki
Jump to navigation Jump to search
(Add type selection)
(Actually, let's switch that up)
Line 3: Line 3:
 
|image=  {{{cover|}}}
 
|image=  {{{cover|}}}
 
|image_caption={{{cover_caption|}}}
 
|image_caption={{{cover_caption|}}}
|heading1={{#ifeq: {{{type|}}} == "soundtrack" | Soundtrack album | {{#ifeq: {{{type|}}} == "live" | Live album | Studio album }} }} {{#if: {{{artist|}}} |  by {{{artist}}} }}
+
|heading1={{#switch: {{{type|}}}
 +
  | compilation = Compilation album
 +
  | live = Live album
 +
  | remix = Remix album
 +
  | soundtrack = Soundtrack album
 +
  | Studio album }} {{#if: {{{artist|}}} |  by {{{artist}}} }}
 
|key2=  Released
 
|key2=  Released
 
|value2= {{#if: {{{released| }}} | {{#time: F j, Y | {{{released}}} }} }}
 
|value2= {{#if: {{{released| }}} | {{#time: F j, Y | {{{released}}} }} }}

Revision as of 18:33, 7 October 2020

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

Template:Infobox music/doc