Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Infobox album: Difference between revisions

Template page
Imported from https://genshin-impact.fandom.com/wiki/Template:Album_Infobox
No edit summary
Tag: 2017 source edit
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
</title>
</title>
<image source="image"></image>
<image source="image"></image>
<panel>
<group>
<section>
<header>Info</header>
<label>Info</label>
<data source="artist">
<data source="artist">
<label>Artist</label>
<label>Artist</label>
</data>
</data>
<data source="type">
<data source="type">
<label>Type</label>
<label>Type</label>
<format>[[:Category:{{{type}}}|{{{type}}}]]{{#if:{{{type2|}}}|<br />[[:Category:{{{type2}}}|{{{type2}}}]]}}{{#if:{{{type3|}}}|<br />[[:Category:{{{type3}}}|{{{type3}}}]]}}</format>
<format>[[:Category:{{{type}}}|{{{type}}}]]{{#if:{{{type2|}}}|<br />[[:Category:{{{type2}}}|{{{type2}}}]]}}{{#if:{{{type3|}}}|<br />[[:Category:{{{type3}}}|{{{type3}}}]]}}</format>
</data>
</data>
<data source="group">
<data source="group">
<label>Group</label>
<label>Group</label>
<format>[[:Category:{{{group}}}|{{{group}}}]]</format>
<format>[[:Category:{{{group}}}|{{{group}}}]]</format>
</data>
</data>
<data source="series">
<data source="medium">
<label>Series</label>
<label>Medium</label>
<format>[[{{{series}}}|{{Replace|{{{series}}}|{space}%(Album Series%)}}]]</format>
<format>[[:Category:{{{medium|Digital}}} Release|{{{medium|Digital}}}]]</format>
</data>
</data>
<data source="releaseDate">
<data source="series">
<label>Release Date</label>
<label>Series</label>
<format>{{#time:F d, Y|{{{releaseDate}}}}}<br />{{Time Ago|{{{releaseDate}}}|last=mth}}</format>
<format>[[{{{series}}}|{{Replace|{{{series}}}|{space}%(Album Series%)}}]]</format>
</data>
</data>
<data source="length">
<data source="releaseDate">
<label>Length</label>
<label>Release Date</label>
</data>
<format>{{#time:F d, Y|{{{releaseDate}}}}}<br />{{Time Ago|{{{releaseDate}}}|last=mth}}</format>
<data source="discs">
</data>
<label>Discs</label>
<data source="length">
</data>
<label>Length</label>
<data source="tracks">
</data>
<label>Tracks</label>
<data source="discs">
</data>
<label>Discs</label>
</group>
</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">
     <group layout="horizontal" row-items="2">
<data source="previous">
<data source="previous">
Line 63: Line 47:
</data>
</data>
     </group>
     </group>
</infobox>
</infobox><!--
<!--
-->{{ns0|<!--
-->{{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]]<!--
-->[[Category:Soundtrack Albums]]<!--
-->{{#if:{{{artist|}}}|[[Category:Albums by {{{artist}}}]]}}<!--
-->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}<!--
-->{{#if:{{{type|}}}|[[Category:{{{type}}}]]}}<!--
-->{{#if:{{{type2|}}}|[[Category:{{{type2}}}]]}}<!--
-->{{#if:{{{type2|}}}|[[Category:{{{type2}}}]]}}<!--
-->{{#if:{{{type3|}}}|[[Category:{{{type3}}}]]}}<!--
-->{{#if:{{{type3|}}}|[[Category:{{{type3}}}]]}}<!--
-->{{#if:{{{group|}}}|[[Category:{{{group}}}]]}}<!--
-->{{#if:{{{group|}}}|[[Category:{{{group}}}]]}}<!--
-->{{#if:{{{medium|}}}|[[Category:{{{medium}}} Release]]}}<!--
-->{{#if:{{{series|}}}|[[Category:{{Replace|{{{series}}}|{space}%(Album Series%)}} Albums]]}}<!--
-->{{#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>
-->}}</includeonly><noinclude>{{Documentation|type=Infobox}}</noinclude>

Latest revision as of 07:14, 10 November 2024