Template:Album: Difference between revisions

From Tolkien Gateway
No edit summary
(Let me just see what happens if I do this)
 
Line 1: Line 1:
<includeonly>
<includeonly>
<table border="0" cellspacing="0" cellpadding="4" class="tginfobox" style="float: right; margin:0 0 .5em .5em; background: #F0F0F0; border-collapse: collapse; border: 1px solid #7A7A7A; line-height:1.5; clear:right;"> <tr><th colspan="2" style="background: #AEAEAE; color: white;">{{{title|{{#explode:{{PAGENAME}}| (|0}}}}}</th></tr> {{#if: {{{image}}} | <tr><th colspan="2" style="padding:0; background: #AEAEAE; color: white; font-weight: normal;">{{{image|}}}</th></tr>| }} <tr><th colspan="2" style="background: #AEAEAE; color: white;">{{{type}}} by {{{artist}}}</th></tr>{{#if: {{{released}}} | <tr style="vertical-align: top;"><td style="font-size: 80%;">Released</td><td style="font-size: 80%;">{{{released}}}</td></tr>| }} {{#if: {{{recorded}}} | <tr style="vertical-align: top;"><td style="font-size: 80%;">Recorded</td><td style="font-size: 80%;">{{{recorded}}}</td></tr>| }} {{#if: {{{genre}}} | <tr style="vertical-align: top;"><td style="font-size: 80%;">Genre</td><td style="font-size: 80%;">{{{genre}}}</td></tr>| }} {{#if: {{{length}}} | <tr style="vertical-align: top;"><td style="font-size: 80%;">Length</td><td style="font-size: 80%;">{{{length}}}</td></tr>| }} {{#if: {{{language}}} | <tr style="vertical-align: top;"><td style="font-size: 80%;">Language</td><td style="font-size: 80%;">{{{language}}}</td></tr>|}} {{#if: {{{label}}} | <tr style="vertical-align: top;"><td style="font-size: 80%;">Label</td><td style="font-size: 80%;">{{{label}}}</td></tr>|}}
<table border="0" cellspacing="0" cellpadding="4" class="tginfobox" style="float: right; margin:0 0 .5em .5em; background: #F0F0F0; border-collapse: collapse; border: 1px solid #7A7A7A; line-height:1.5; clear:right;"> <tr><th colspan="2" style="background: #AEAEAE; color: white;">{{{title|{{#explode:{{PAGENAME}}| (|0}}}}}</th></tr> {{#if: {{{image|}}} | <tr><th colspan="2" style="padding:0; background: #AEAEAE; color: white; font-weight: normal;">{{{image|}}}</th></tr>| }} <tr><th colspan="2" style="background: #AEAEAE; color: white;">{{{type}}} by {{{artist}}}</th></tr>{{#if: {{{released|}}} | <tr style="vertical-align: top;"><td style="font-size: 80%;">Released</td><td style="font-size: 80%;">{{{released}}}</td></tr>| }} {{#if: {{{recorded|}}} | <tr style="vertical-align: top;"><td style="font-size: 80%;">Recorded</td><td style="font-size: 80%;">{{{recorded}}}</td></tr>| }} {{#if: {{{genre|}}} | <tr style="vertical-align: top;"><td style="font-size: 80%;">Genre</td><td style="font-size: 80%;">{{{genre}}}</td></tr>| }} {{#if: {{{length|}}} | <tr style="vertical-align: top;"><td style="font-size: 80%;">Length</td><td style="font-size: 80%;">{{{length}}}</td></tr>| }} {{#if: {{{language|}}} | <tr style="vertical-align: top;"><td style="font-size: 80%;">Language</td><td style="font-size: 80%;">{{{language}}}</td></tr>|}} {{#if: {{{label|}}} | <tr style="vertical-align: top;"><td style="font-size: 80%;">Label</td><td style="font-size: 80%;">{{{label}}}</td></tr>|}}
</table>
</table>
</includeonly>
</includeonly>

Latest revision as of 05:34, 18 September 2022


{{{title}}}
{{{image}}}
{{{type}}} by {{{artist}}}
Released{{{released}}}
Recorded{{{recorded}}}
Genre{{{genre}}}
Length{{{length}}}
Language{{{language}}}
Label{{{label}}}


Usage[edit source]

{{album
| image=
| title=
| type=
| artist=
| released=
| recorded=
| genre=
| length=
| language=
| label=
}}

Details[edit source]

  • image - The image should be set to 250px. [[image.jpg|250px]]
  • title - The title of the album, single or song.
  • type - The type of album. Some examples: studio album, EP album, box set, soundtrack, single, song.
  • artist - The person or band that preformed or conducted the song.
  • released - The date the album was released.
  • recorded - The date(s) the album was recorded.
  • genre - The genre(s) of the album. Some examples: rock, pop, metal, instrumental.
  • length - The length of the album in minutes:seconds.
  • language - The language(s) of the lyrics to the song(s).
  • label - The recording label of the album.