Difference between revisions of "Template:Infobox music"
Jump to navigation
Jump to search
KimPegasus (talk | contribs) m (Add chronology class.) |
KimPegasus (talk | contribs) m (KimPegasus moved page Template:Infobox album to Template:Infobox music: Same template's also good for singles, music videos, etc. ) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
|image= {{{cover|}}} | |image= {{{cover|}}} | ||
|image_caption={{{cover_caption|}}} | |image_caption={{{cover_caption|}}} | ||
− | |heading1={{#if: {{{artist|}}} | | + | |heading1={{#switch: {{{type|}}} |
+ | | single = Single | ||
+ | | compilation = Compilation album | ||
+ | | live = Live album | ||
+ | | remix = Remix album | ||
+ | | soundtrack = Soundtrack album | ||
+ | | Studio album }} {{#if: {{{artist|}}} |  by {{{artist}}} }} | ||
|key2= Released | |key2= Released | ||
|value2= {{#if: {{{released| }}} | {{#time: F j, Y | {{{released}}} }} }} | |value2= {{#if: {{{released| }}} | {{#time: F j, Y | {{{released}}} }} }} | ||
Line 20: | Line 26: | ||
| <table class="chronology"><tr>{{#if: {{{prev_title|}}} | | <table class="chronology"><tr>{{#if: {{{prev_title|}}} | ||
| <td>''{{{prev_title}}}''{{#if: {{{prev_year|}}} | <br>({{{prev_year}}}) }}</td> | | <td>''{{{prev_title}}}''{{#if: {{{prev_year|}}} | <br>({{{prev_year}}}) }}</td> | ||
− | }}<td>'''''{{{name|{{ROOTPAGENAME}}}}}'''''<br>({{#time: Y | | + | }}<td>'''''{{{name|{{ROOTPAGENAME}}}}}'''''<br>({{#time: Y | {{{released}}} }})</td>{{#if: {{{next_title|}}} |
| <td>''{{{next_title}}}''{{#if: {{{next_year|}}} | <br>({{{next_year}}}) }}</td> | | <td>''{{{next_title}}}''{{#if: {{{next_year|}}} | <br>({{{next_year}}}) }}</td> | ||
}}</tr></table> | }}</tr></table> | ||
}} | }} | ||
− | }}</includeonly><noinclude> | + | }}[[Category:Albums]]{{#if: {{{released|}}} | [[Category:{{#time: Y | {{{released}}} }} releases]] }}</includeonly><noinclude> |
{{Documentation}} | {{Documentation}} | ||
[[Category:Infobox templates|Album]] | [[Category:Infobox templates|Album]] | ||
</noinclude> | </noinclude> |
Latest revision as of 11:11, 11 October 2020
- This documentation is transcluded from Template:Infobox music/doc and needs to be edited separately.