Template:Infobox album: Difference between revisions
MusikAnimal (talk | contribs) No edit summary |
MusikAnimal (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
<noinclude>{{#cargo_declare:_table=albums | <noinclude>{{#cargo_declare:_table=albums | ||
| name = String(mandatory=1) | | name = String(mandatory=1) | ||
| type = List (,) of String (mandatory=1;allowed values= | | type = List (,) of String (mandatory=1;allowed values=ep,studio,demo,live,compilation,box set,video,tribute,bootleg,promotional) | ||
| artist = Page (mandatory=1;allowed values=The Smashing Pumpkins,Billy Corgan,James Iha,Jimmy Chamberlin Complex,Zwan,Various artists) | | artist = Page (mandatory=1;allowed values=The Smashing Pumpkins,Billy Corgan,James Iha,Jimmy Chamberlin Complex,Zwan,Various artists) | ||
| studio = List (,) of String | | studio = List (,) of String | ||
Line 8: | Line 8: | ||
}}</noinclude><includeonly>{{#cargo_store:_table=albums | }}</noinclude><includeonly>{{#cargo_store:_table=albums | ||
| name = {{{name|{{PAGENAME}}}}} | | name = {{{name|{{PAGENAME}}}}} | ||
| type = | | type = {{lc:{{{type|{{{Type|}}}}}}}} | ||
| artist = {{#invoke:String2|ucfirst|{{delink|{{{artist|}}}}}}} | | artist = {{#invoke:String2|ucfirst|{{delink|{{{artist|}}}}}}} | ||
| studio = {{#invoke:String2|ucfirst|{{delink|{{{studio|}}}}}}} | | studio = {{#invoke:String2|ucfirst|{{delink|{{{studio|}}}}}}} | ||
Line 145: | Line 145: | ||
"misc": {} | "misc": {} | ||
}, | }, | ||
"description": "Adds an infobox for an album. Some things like the chronology are automatically generated." | "description": "Adds an infobox for an album. Some things like the chronology are automatically generated.", | ||
"format": "block" | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 03:53, 20 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 |