More actions
Created page with "<infobox></infobox>" |
Imported from https://genshin-impact.fandom.com/wiki/Template:Album_Infobox |
||
Line 1: | Line 1: | ||
<infobox></infobox> | <includeonly><infobox> | ||
<title source="title"> | |||
<default>{{PAGENAME}}</default> | |||
</title> | |||
<image source="image"></image> | |||
<panel> | |||
<section> | |||
<label>Info</label> | |||
<data source="artist"> | |||
<label>Artist</label> | |||
</data> | |||
<data source="type"> | |||
<label>Type</label> | |||
<format>[[:Category:{{{type}}}|{{{type}}}]]{{#if:{{{type2|}}}|<br />[[:Category:{{{type2}}}|{{{type2}}}]]}}{{#if:{{{type3|}}}|<br />[[:Category:{{{type3}}}|{{{type3}}}]]}}</format> | |||
</data> | |||
<data source="group"> | |||
<label>Group</label> | |||
<format>[[:Category:{{{group}}}|{{{group}}}]]</format> | |||
</data> | |||
<data source="medium"> | |||
<label>Medium</label> | |||
<format>[[:Category:{{{medium|Digital}}} Release|{{{medium|Digital}}}]]</format> | |||
</data> | |||
<data source="series"> | |||
<label>Series</label> | |||
<format>[[{{{series}}}|{{Replace|{{{series}}}|{space}%(Album Series%)}}]]</format> | |||
</data> | |||
<data source="releaseDate"> | |||
<label>Release Date</label> | |||
<format>{{#time:F d, Y|{{{releaseDate}}}}}<br />{{Time Ago|{{{releaseDate}}}|last=mth}}</format> | |||
</data> | |||
<data source="length"> | |||
<label>Length</label> | |||
</data> | |||
<data source="discs"> | |||
<label>Discs</label> | |||
</data> | |||
<data source="tracks"> | |||
<label>Tracks</label> | |||
</data> | |||
</section> | |||
</panel> | |||
<panel> | |||
<section> | |||
<label>YouTube</label> | |||
<data source="youtube"><format>{{#ev:youtubeplaylist|{{{youtube|}}}|250x150}}</format></data> | |||
</section> | |||
<section> | |||
<label>Spotify</label> | |||
<data source="spotify"><format>{{#ev:spotifyalbum|{{{spotify|}}}|252x180}}</format></data> | |||
</section> | |||
</panel> | |||
<group layout="horizontal" row-items="2"> | |||
<data source="previous"> | |||
<label>Previous</label> | |||
<default>{{#if:{{{next|}}}|N/A}}</default> | |||
<format>{{{previous}}}</format> | |||
</data> | |||
<data source="next"> | |||
<label>Next</label> | |||
<default>{{#if:{{{previous|}}}|N/A}}</default> | |||
<format>{{{next}}}</format> | |||
</data> | |||
</group> | |||
</infobox> | |||
<!-- | |||
-->{{Namespace|main=<!-- | |||
Set page display title if name is different from page name | |||
-->{{#if:{{{title|}}}{{{displaytitle|}}}|{{#ifeq:{{PAGENAME}}|{{{title}}}||{{#ifeq:{{lc:{{{displaytitle|}}}}}|no||{{DISPLAYTITLE:{{{displaytitle|{{{title}}}}}}|noreplace}}}}}}}}<!-- | |||
-->[[Category:Soundtrack Albums]]<!-- | |||
-->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}<!-- | |||
-->{{#if:{{{type2|}}}|[[Category:{{{type2}}}]]}}<!-- | |||
-->{{#if:{{{type3|}}}|[[Category:{{{type3}}}]]}}<!-- | |||
-->{{#if:{{{group|}}}|[[Category:{{{group}}}]]}}<!-- | |||
-->{{#if:{{{medium|}}}|[[Category:{{{medium}}} Release]]}}<!-- | |||
-->{{#if:{{{series|}}}|[[Category:{{Replace|{{{series}}}|{space}%(Album Series%)}} Albums]]}}<!-- | |||
-->{{#if:{{{releaseDate|}}}|[[Category:Soundtrack Albums by Release Date|{{{releaseDate}}}]]|[[Category:Soundtrack Albums by Release Date]]}}<!-- | |||
-->{{#ifeq:{{{type|}}}|Version Trailer Soundtracks|[[Category:Version Trailer Soundtracks| ]]}}<!-- | |||
-->}}</includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude> |