Actions

Template

Difference between revisions of "Album"

From Sonic Retro

Line 1: Line 1:
 
<div itemscope itemtype='http://schema.org/MusicRelease'>
 
<div itemscope itemtype='http://schema.org/MusicRelease'>
 
<meta itemprop="image" content="{{{cover}}}">
 
<meta itemprop="image" content="{{{cover}}}">
{|cellpadding="0" cellspacing="0" style="padding: 0.1em; float:right; margin-left:15px; max-width:275px;" width="210" class="breakout"
+
{{BobTable|
| [[Image:{{ #if: {{{cover|}}} | {{{cover}}} | Notavailable.svg }}|275px]]
+
{{BobRow||{{{cover|}}}|align=center|default=[[File:Notavailable.svg]]|content=[[File:{{{cover}}}|275x275px]]}}
|-
+
{{BobRow||{{{title|}}}|default=''<span itemprop="name">{{PAGENAME}}</span>''|content=''<span itemprop="name">{{{title}}}</span>''|headline=yes|align=center}}
! '''''{{ #if: {{{title|}}} | <span itemprop="name">{{{title}}}</span> | <span itemprop="name">{{PAGENAME}}</span> }}'''''
+
{{BobRow|Record label|{{{label|}}}|content=<span itemprop="recordLabel">{{{label}}}</span>|default=[[Category:Albums with missing catalog or label]]}}
|-
+
{{BobRow|Artist|{{{artist|}}}|content=<span itemprop="byArtist">{{{artist}}}</span>}}
|style="padding: 0.3em; line-height: 1.5em" |
+
{{BobRow|Composer|{{{composer|}}}}}
{{ #if: {{{released|}}} | '''Release Date:''' {{{released}}}<br/> | }}{{
+
{{BobRow|Arranger|{{{arranger|}}}}}
#if: {{{madeby|}}} | '''Artist:''' <span itemprop="byArtist">{{{madeby}}}</span><br/> | }}{{
+
{{BobRow||{{{releases|}}}|content={{releasesHeader}}
#if: {{{artist|}}} | '''Artist:''' <span itemprop="byArtist">{{{artist}}}</span><br/> | }}{{
+
{{{releases}}}
#if: {{{label|}}} | '''Record Label:''' <span itemprop="recordLabel">{{{label}}}</span><br/> | <includeonly>[[Category:Albums with missing catalog or label]]</includeonly> }}{{
+
{{releasesEnd}}}}
#if: {{{catalog|}}} | '''Catalog No.:'''<span itemprop="catalogNumber"> {{{catalog}}}</span><br/> | <includeonly>[[Category:Albums with missing catalog or label]]</includeonly> }}
+
}}</div><noinclude>
|}</div><noinclude>
 
  
 
==Usage==
 
==Usage==
Line 21: Line 20:
 
| cover=
 
| cover=
 
| title=
 
| title=
| released=
 
 
| artist=
 
| artist=
| catalog=
 
 
| label=
 
| label=
 
}}
 
}}
Line 32: Line 29:
 
| cover= Hedgehog.jpg
 
| cover= Hedgehog.jpg
 
| title= Mr. Hedgehog's Greatest Hits
 
| title= Mr. Hedgehog's Greatest Hits
| released= 2007
+
| artist= [[Sonic]]
| artist= [[Hivebrain]]
 
| catalog= 123
 
 
| label= [[Sonic Retro]]
 
| label= [[Sonic Retro]]
 +
| releases={{release|CD|JP|2017-01-01|¥1,200|012345}}
 
}}
 
}}
 
<pre>
 
<pre>
Line 41: Line 37:
 
| cover= Hedgehog.jpg
 
| cover= Hedgehog.jpg
 
| title= Mr. Hedgehog's Greatest Hits
 
| title= Mr. Hedgehog's Greatest Hits
| released= 2007
+
| artist= [[Sonic]]
| artist= [[Hivebrain]]
 
| catalog= 123
 
 
| label= [[Sonic Retro]]
 
| label= [[Sonic Retro]]
 +
| releases={{release|CD|JP|2017-01-01|¥1,200|012345}}
 
}}
 
}}
 
</pre>
 
</pre>

Revision as of 16:09, 1 March 2017

Notavailable.svg
Album

Usage

This template is to be used on articles about albums. Place the following at the top of a page:

{{Album
| cover=
| title=
| artist=
| label=
}}

Example

Hedgehog.jpg
Mr. Hedgehog's Greatest Hits
Record label: Sonic Retro
Artist: Sonic
Release Date RRP Code Rating
Compact Disc
JP
2017-01-01 ¥1,200 012345
{{Album
| cover= Hedgehog.jpg
| title= Mr. Hedgehog's Greatest Hits
| artist= [[Sonic]]
| label= [[Sonic Retro]]
| releases={{release|CD|JP|2017-01-01|¥1,200|012345}}
}}