Template:Infobox album: Difference between revisions
MusikAnimal (talk | contribs) No edit summary |
MusikAnimal (talk | contribs) (add cargo data) |
||
Line 1: | Line 1: | ||
{{Infobox | <noinclude>{{#cargo_declare:_table=albums | ||
| name = String(mandatory=1) | |||
| type = List (,) of String (mandatory=1;allowed values=Ep,Studio,Demo,Live,Compilation,Box set,Video,Tribute,Bootleg) | |||
| artist = Page (mandatory=1;allowed values=The Smashing Pumpkins,Billy Corgan,James Iha,Jimmy Chamberlin Complex,Zwan,Various artists) | |||
| studio = List (,) of String | |||
| producer = List (,) of Page | |||
}}</noinclude><includeonly>{{#cargo_store:_table=songs | |||
| name = {{{name|{{PAGENAME}}}}} | |||
| type = {{#invoke:String2|ucfirst|{{lc:{{{type|{{{Type|}}}}}}}}}} | |||
| artist = {{#invoke:String2|ucfirst|{{delink|{{{artist|}}}}}}} | |||
| studio = {{#invoke:String2|ucfirst|{{delink|{{{artist|}}}}}}} | |||
| producer = {{#invoke:String2|ucfirst|{{delink|{{{producer|}}}}}}} | |||
}}</includeonly>{{Infobox | |||
| italic title= {{{italic_title|<noinclude>no</noinclude>}}} | | italic title= {{{italic_title|<noinclude>no</noinclude>}}} | ||
| bodyclass = vevent haudio | | bodyclass = vevent haudio |
Revision as of 05:05, 19 May 2020
This template defines the table "albums". View table.
{{#vardefine:has_chronology|}} |
---|
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
Adds an infobox for an album. Some things like the chronology are automatically generated.
Parameter | Description | Type | Status | |
---|---|---|---|---|
italic_title | italic_title | no description | Unknown | optional |
Type | type | One of: ep, studio, demo, live, compilation, box set, video, tribute, bootleg | String | suggested |
Name | name | Title of the album. This must be exactly the same as the title of the article for the album. | String | required |
alt | alt | no description | Unknown | optional |
caption | caption | Caption shown under the image | Unknown | optional |
Artist | artist | Artist who made the album
| String | required |
Released | released | The date when the album was released
| Date | suggested |
Recorded | recorded | Date(s) when the album was recorded
| String | suggested |
venue | venue | no description | Unknown | optional |
Studio | studio | Studio(s) where the album was recorded. Known studios are automatically linked
| String | suggested |
genre | genre | no description | Unknown | optional |
Length | length | Total duration of the album
| String | suggested |
Record label | label | Record label(s) that released the album
| String | suggested |
director | director | no description | Unknown | optional |
Producer(s) | producer | Producers of the album. Names are automatically linked
| String | suggested |
Format | format | Medium that the album was released on
| String | optional |
year | year | no description | Unknown | optional |
misc | misc | no description | Unknown | optional |