Template:Infobox album: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 48: Line 48:
| 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>{{#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>
}}<includeonly>{{#ifeq:{{{type|}}}|bootleg|[[Category:Bootleg albums]]}}{{#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 56: Line 56:
"type": {
"type": {
"label": "Type",
"label": "Type",
"description": "One of: ep, studio, demo, live, compilation, box set, video, tribute",
"description": "One of: ep, studio, demo, live, compilation, box set, video, tribute, bootleg",
"type": "string",
"type": "string",
"suggested": true
"suggested": true