Template:Infobox album: Difference between revisions
MusikAnimal (talk | contribs) No edit summary |
MusikAnimal (talk | contribs) No edit summary |
||
Line 46: | Line 46: | ||
| class12 = hlist | | class12 = hlist | ||
| header13 = {{#invoke:String2 | ucfirst |{{{artist|}}}}} chronology | | header13 = [[{{#invoke:String2 | ucfirst |{{{artist|}}}}}]] chronology | ||
| data14 = <includeonly>{{#invoke:Chronology|main|{{delink|{{{artist|}}}}}|albums|{{delink|{{{name|{{PAGENAME}}}}}}}}}</includeonly> | | data14 = <includeonly>{{#invoke:Chronology|main|{{delink|{{{artist|}}}}}|albums|{{delink|{{{name|{{PAGENAME}}}}}}}}}</includeonly> | ||
| below = {{{misc|}}} | | below = {{{misc|}}} | ||
}}<includeonly>{{#ifeq:{{{type|}}}|EP|[[Category:EPs]]{{#if:{{{artist|}}}|[[Category:{{delink|{{{artist}}}}} EPs]]}}|[[Category:Albums]]{{#if:{{{artist|}}}|[[Category:{{delink|{{{artist}}}}} albums]]}}{{#if:{{{type|}}}|[[Category:{{{type}}} albums]]}}}}</includeonly> | }}<includeonly>{{#ifeq:{{{type|}}}|EP|[[Category:EPs]]{{#if:{{{artist|}}}|[[Category:{{delink|{{{artist}}}}} EPs]]}}|[[Category:Albums]]{{#if:{{{artist|}}}|[[Category:{{delink|{{{artist}}}}} albums]]}}{{#if:{{{type|}}}|[[Category:{{{type}}} albums]]}}}}</includeonly>{{#ifeq:{{{type|}}}||[[Category:Pages using infobox album with empty type parameter]]}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox album with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox album]] with unknown parameter "_VALUE_"|ignoreblank=y|italic_title |type |name |image |cover |border |alt |caption |longtype |artist |released |recorded |venue |studio |genre |length |language |label |director |producer |format |year|misc}}{{#if:{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{italic_title|}}}{{{italic title|}}}{{{type|}}}{{{name|}}}{{{image|}}}{{{cover|}}}{{{border|}}}{{{alt|}}}{{{caption|}}}{{{longtype|}}}{{{artist|}}}{{{released|}}}{{{recorded|}}}{{{venue|}}}{{{studio|}}}{{{genre|}}}{{{length|}}}{{{language|}}}{{{label|}}}{{{director|}}}{{{producer|}}}{{{format|}}}{{{year|}}}x|2=</?t[drh][ >]|nomatch=}}|{{main other|[[Category:Music infoboxes with malformed table placement|A]]}}}}{{main other|{{#if:{{{length|}}}|{{#if:{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{#invoke:hms|main|duration={{{length|}}}}}|2=class="duration"|plain=true|nomatch=}}|[[Category:Articles with hAudio microformats]]}}}}}}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories to the /doc subpage, not here. --><templatedata> | <!-- Add categories to the /doc subpage, not here. --><templatedata> | ||
Line 63: | Line 63: | ||
"name": { | "name": { | ||
"label": "Name", | "label": "Name", | ||
"description": "Title of the album", | "description": "Title of the album. This must be exactly the same as the title of the article for the album.", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true, | ||
"default": "{{PAGENAME}}" | |||
}, | }, | ||
"alt": {}, | "alt": {}, | ||
"caption": {}, | "caption": { | ||
"description": "Caption shown under the image" | |||
}, | |||
"artist": { | "artist": { | ||
"label": "Artist", | "label": "Artist", | ||
Line 127: | Line 130: | ||
"type": "string" | "type": "string" | ||
}, | }, | ||
"year": {}, | "year": {}, | ||
"misc": {} | "misc": {} | ||
} | }, | ||
"description": "Adds an infobox for an album. Some things like the chronology are automatically generated." | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 01:24, 7 May 2020
[[]] chronology |
---|
Template documentation[create]
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 | 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 |