Difference between revisions of "Template:Infobox album"
Jump to navigation
Jump to search
(12 intermediate revisions by 2 users not shown) | |||
Line 29: | Line 29: | ||
| label6 = [[Music genre|Genre]] | | label6 = [[Music genre|Genre]] | ||
| data6 = {{{genre|}}} | | data6 = {{{genre|}}} | ||
− | | class6 = category hlist | + | | class6 = category hlist |
| label7 = Length | | label7 = Length | ||
− | | data7 = {{#invoke: | + | | data7 = {{#invoke:hms|main|duration={{{length|}}}}} |
| label8 = Language | | label8 = Language | ||
| data8 = {{{language|}}} | | data8 = {{{language|}}} | ||
Line 37: | Line 37: | ||
| label9 = [[Record label|Label]] | | label9 = [[Record label|Label]] | ||
| data9 = {{{label|}}} | | data9 = {{{label|}}} | ||
− | | class9 = hlist | + | | class9 = hlist |
| label10 = [[Film director|Director]] | | label10 = [[Film director|Director]] | ||
| data10 = {{{director|}}} | | data10 = {{{director|}}} | ||
− | | class10 = hlist | + | | class10 = hlist |
| label11 = [[Record producer|Producer]] | | label11 = [[Record producer|Producer]] | ||
| data11 = {{{producer|}}} | | data11 = {{{producer|}}} | ||
− | | class11 = hlist | + | | class11 = hlist |
| label12 = Compiler | | label12 = Compiler | ||
| data12 = {{{compiler|}}} | | data12 = {{{compiler|}}} | ||
− | | class12 = hlist | + | | class12 = hlist |
| header13 = {{#if:{{{prev_title|}}}{{{next_title|}}}|{{#if:{{{chronology|}}}|{{{chronology|}}}|{{#ifeq: {{str letter|{{delink| {{{artist|}}} }}}}|0|{{{artist|}}}|{{#invoke:String2 | ucfirst |{{{artist|}}}}}}}}} chronology }} | | header13 = {{#if:{{{prev_title|}}}{{{next_title|}}}|{{#if:{{{chronology|}}}|{{{chronology|}}}|{{#ifeq: {{str letter|{{delink| {{{artist|}}} }}}}|0|{{{artist|}}}|{{#invoke:String2 | ucfirst |{{{artist|}}}}}}}}} chronology }} | ||
| data14 = {{#if:{{{prev_title|}}}{{{next_title|}}}| | | data14 = {{#if:{{{prev_title|}}}{{{next_title|}}}| | ||
− | + | <div style="display:flex;"> | |
− | + | <div style="line-height: 1.4em;"></div> | |
− | + | <div style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em .2em 0"> {{#if:{{{prev_title|}}}|''{{{prev_title}}}''{{#if:{{{prev_year|}}}|<br />({{{prev_year}}})}}|}}</div> | |
− | + | <div style="width: 33%; text-align: center; vertical-align: top; padding: .2em .1em"> '''''{{{name|{{PAGENAMEBASE}}}}}'''''{{#if:{{{next_year|}}}{{{prev_year|}}}|<br />({{{year|{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|{{{released|}}}|%d%d%d+}}}}})}}</div> | |
− | + | <div style="width: 33%; text-align: center; vertical-align: top; padding: .2em 0 .2em .1em"> {{#if:{{{next_title|}}}|''{{{next_title}}}''{{#if:{{{next_year|}}}|<br />({{{next_year}}})}}|}}</div> | |
− | + | </div> | |
}} | }} | ||
| below = {{{misc|}}} | | below = {{{misc|}}} | ||
Line 63: | Line 63: | ||
}}{{#ifeq:{{Infobox album/color|{{{type|}}}}}|khaki | }}{{#ifeq:{{Infobox album/color|{{{type|}}}}}|khaki | ||
|[[Category:Album articles with non-standard infoboxes]][[Category:Song articles needing single infobox conversion]] | |[[Category:Album articles with non-standard infoboxes]][[Category:Song articles needing single infobox conversion]] | ||
− | }} | + | }}{{#switch:{{lc:{{{image|{{{cover|}}}}}}}} |
| | | | ||
|??? | |??? | ||
Line 71: | Line 71: | ||
|??? = {{main other|[[Category:Album articles lacking alt text for covers]]}} | |??? = {{main other|[[Category:Album articles lacking alt text for covers]]}} | ||
}} | }} | ||
− | }}{{main other|{{#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 |compiler |prev_title|prev_year|next_title|next_year|chronology|year|misc}}{{#if:{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{prev_title|}}}{{{prev_year|}}}{{{next_title|}}}{{{next_year|}}}{{{italic_title|}}}{{{italic title|}}}{{{type|}}}{{{name|}}}{{{image|}}}{{{cover|}}}{{{border|}}}{{{alt|}}}{{{caption|}}}{{{longtype|}}}{{{artist|}}}{{{released|}}}{{{recorded|}}}{{{venue|}}}{{{studio|}}}{{{genre|}}}{{{length|}}}{{{language|}}}{{{label|}}}{{{director|}}}{{{producer|}}}{{{compiler|}}}{{{chronology|}}}{{{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=}}| | + | }}{{main other|{{#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 |compiler |prev_title|prev_year|next_title|next_year|chronology|year|misc}}{{#if:{{#invoke:String|match|error_category=Music infoboxes with Module:String errors{{!}}A|1={{{prev_title|}}}{{{prev_year|}}}{{{next_title|}}}{{{next_year|}}}{{{italic_title|}}}{{{italic title|}}}{{{type|}}}{{{name|}}}{{{image|}}}{{{cover|}}}{{{border|}}}{{{alt|}}}{{{caption|}}}{{{longtype|}}}{{{artist|}}}{{{released|}}}{{{recorded|}}}{{{venue|}}}{{{studio|}}}{{{genre|}}}{{{length|}}}{{{language|}}}{{{label|}}}{{{director|}}}{{{producer|}}}{{{compiler|}}}{{{chronology|}}}{{{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=}}|}}}}}}}}<noinclude> |
{{Documentation}} | {{Documentation}} | ||
− | |||
<!-- Add categories to the /doc subpage, not here. --> | <!-- Add categories to the /doc subpage, not here. --> | ||
</noinclude> | </noinclude> |