Template:Album: Difference between revisions

From Now That's What I Call Music Wiki
m (Text replacement - "Version Country Of Release" to "Country Of Release")
No edit summary
 
(143 intermediate revisions by the same user not shown)
Line 11: Line 11:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><includeonly>{{Siteheader}}
 
 
<div style="font-family: Trebuchet MS; color: #dddddd;">
<div style="font-family: Trebuchet MS; color: #dddddd;">
<div class="row">
<div class="row">[[Album Main Color::{{{Album Main Color|}}}| ]][[Album Secondary Color::{{{Album Secondary Color|}}}| ]]
   <div class="col-4">{{#ifeq: {{{Album Main Cover |}}} | | [[Category:Needs Album Image]] |[[File:{{{Album Main Cover |}}}]] [[Category:Has Album Image]] [[Album Main Cover::{{{Album Main Cover |}}}| ]]}}</div>
   <div class="col-4">{{#ifeq: {{{Album Main Cover |}}} | | [[Category:Needs Album Image]] |[[File:{{{Album Main Cover|}}}]] [[Category:Has Album Image]] [[Album Main Cover::{{{Album Main Cover |}}}| ]]}}</div>
   <div class="col-8"><div style="background-color:#ff0506; font-weight:bold; padding:5px; font-size: large; font-family: Trebuchet MS; color: #dddddd;"><center>[[Album Title::{{{Album Title|}}}]]</center></div>
   <div class="col-8"><div style="background-color:#{{{Album Main Color|}}}; font-weight:bold; padding:5px; font-size: large; font-family: Trebuchet MS; color: #{{{Album Secondary Color|}}};"><center>[[Album Title::{{{Album Title|}}}]]</center></div>


<table class="table table-hover">
<table class="table table-hover">
       <th scope="row"><div style="color: #dddddd;">Release Date</div></th>
       <th scope="row"><div style="color: #dddddd;">Release Date</div></th>
       <td><div style="color: #dddddd;">[[Album Original Release Date::{{{Album Original Release Date |}}}|{{#time:F j, Y|{{{Album Original Release Date }}}}}]][[Album Original Release Year::{{{Album Original Release Year|}}}|]]</div></td>
       <td><div style="color: #dddddd;">{{#ifeq: {{{Album Original Release Date |}}} |  | [[Category:Needs Release Date]] | [[Album Original Release Date::{{{Album Original Release Date |}}}|]][[Album Original Release Year::{{{Album Original Release Year|}}}|]][[{{{Album Original Release Year|}}}|{{#time:F j, Y|{{{Album Original Release Date }}}}}]] }}{{#ifeq: {{{Unconfirmed Date|}}} | | [[Category:Confirmed Date]] | [[Unconfirmed Date::{{{Unconfirmed Date|}}}]][[Category:Unconfirmed Date]]}}</div></td>
     </tr>
     </tr>
     <tr>
     <tr>
       <th scope="row"><div style="color: #dddddd;">Country</div></th>
       <th scope="row"><div style="color: #dddddd;">Country</div></th>
       <td>[[Album Country Of Release::{{{Album Country Of Release|}}}]]</td>
       <td>[[Country Of Release::{{{Country Of Release|}}}]]</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <th scope="row"><div style="color: #dddddd;">Album Series</div></th>
       <th scope="row"><div style="color: #dddddd;">Album Series</div></th>
       <td>[[Series::{{{Album Series|}}}]]</td>
       <td>{{#arraymap:{{{Album Series|}}}|~|xxxxx|{{#set:Series=xxxxx}}{{#formredlink:target=xxxxx|form=Series|create page}}}}</td> 
    </tr>
    <tr>
      <th scope="row"><div style="color: #dddddd;">Album Short Name</div></th>
      <td><div style="color: #dddddd;">[[Album Short Name::{{{Album Short Name|}}}]]</div></td>
     </tr>   
     </tr>   
</table>
</table>
[[Amazon Link::{{{Amazon Link|}}}| ]][{{{Amazon Link|}}}|{{Clickable button|Purchase from Amazon}}]
{|
{{#ifeq: {{{Amazon Link|}}} | https://amzn.to/3JqFjso | [[Category:Needs Specific Amazon Link]] | }}
| style="text-align: center; background-color:#333333; padding:10px; color:#ffffff;border-style: solid; border-width: 2px; border-color: #ffc411;" | [[Amazon Link::{{#ifeq: {{{Amazon Link|}}} | | https://amazon.co.uk/s?k={{#replace:{{{Album Title|}}}|%20|+}}&tag=nowmusicwiki-21 | {{{Amazon Link|}}} }}|Purchase on Amazon]] {{#ifeq: {{{Amazon Link|}}} | | [[Category:Needs Specific Amazon Link]] | }}
|}
 
</div>
</div>
</div>
</div>
</div>
</div>
{{#formlink:form=Release Version|link type=normal|page name=<Album Version[Album Title]> (<Album Version[Country Of Release]> <Album Version[Version Release Year]> <Album Version[Version Format Type]>)|link text=Add Release Version|}}


__NOTOC__ __NOEDITSECTION__  
 
{{#ifeq: {{{Album Notes|}}} |  | [[Category:Needs Album Notes]] | <div style="text-align: justify;">[[Album Notes::{{{Album Notes|}}}]] [[Category:Has Album Notes]]</div> }}
 
 
==Release Versions==
{|
| style="text-align: center; font-weight: bold; background-color:#333333; padding:10px; color:#ffffff;border-style: solid; border-width: 2px; border-color: #1c7aee;" | {{#formlink:form=Release Version|link type=normal|page name=<Album Version[Album Title]> (<Album Version[Country Of Release]> <Album Version[Version Release Year]> <Album Version[Version Format Type]>)|link text=Add Release Version and Tracklist|query string=Album Version[Album Parent]={{PAGENAME}}&Album Version[Album Series]={{{Album Series|}}}&Album Version[Country Of Release]={{{Country Of Release|}}}&Album Version[Album Title]={{{Album Title|}}}&Album Version[Version Release Date]={{{Album Original Release Date|}}}&Album Version[Version Release Year]={{{Album Original Release Year|}}}&Album Version[Version Main Cover]={{{Album Main Cover|}}}&Album Version[Album Main Color]={{{Album Main Color|}}}&Album Version[Album Secondary Color]={{{Album Secondary Color|}}}&Album Version[Amazon Link]={{{Amazon Link|}}}}}
|}
 
{{#ask:
[[Category:Album Version]] [[Album Parent::{{PAGENAME}}]]
|?Version Main Cover 
|?Version Release Date#GR-F[D M j Y]
|?Album Title
|?Version Format Type
|?Amazon Link
|?Album Number of Tracks
|format=list
|template=OnThisDayAlbums
|Sort=Version Release Date,
|order=desc,asc
|headers=hide
|limit=100
|link=none
|searchlabel=
|class=releases
}}
 
{{#ask:
[[Category:Album Version]] [[Album Parent::{{PAGENAME}}]]
|?Version Release Date=Release Date
|?Version Format Type=Format
|?Album Number of Tracks=Number of Tracks
|headers=plain
|format=table
|mainlabel=Version
|class=sortable table
}}
 
{{#ifeq: {{#ask:  [[Category:{{PAGENAME}}]][[Category:Song]]
|format=count
|link=none}} | 0 | [[Category:Needs Tracks Adding]] |
=List of all tracks=
 
This is a full list of tracks (in alphabetical order) that appear on at least one format of this album. For further breakdown of each format version, please see links above.
 
<div style="columnsul">
{{#ask:  [[Category:{{PAGENAME}}]][[Category:Song]]
|format=ul
|class=columnsul
|headers=plain
|template=Song Album Stats
|order=asc
|limit=200
|link=none}}
</div>
 
({{#ask:  [[Category:{{PAGENAME}}]][[Category:Song]]
|format=count
|link=none}} Tracks) [[Category:Has List Of Tracks]]}}
=Overall Unique Appearances=
{{#ask:  [[Category:{{PAGENAME}}]][[Category:Song]][[AlbumsCount::1]]
|format=ul
|class=columnsul
|limit=200}}
Number of Unique Tracks : [[Number of Unique Tracks::{{#ask:  [[Category:{{PAGENAME}}]][[Category:Song]][[AlbumsCount::1]]
|format=count}}]]  (ie these tracks only appear on this album on this whole site)
 
<small>*Bearing in mind that not all albums are yet added to this site. Current count of albums with tracklists is {{PAGESINCATEGORY:Has List Of Tracks}}</small>
 
{{#ifeq: {{{Country Of Release|}}} | UK | =Unique UK Appearances=
{{#ask:  [[Category:{{PAGENAME}}]][[Category:Song]][[Total UK Count::1]]
|format=ul
|class=columnsul
|limit=200}}
Number of Unique UK Tracks : [[Number of Unique UK Tracks::{{#ask:  [[Category:{{PAGENAME}}]][[Category:Song]][[Total UK Count::1]]|format=count}}]] (ie these tracks only appear on this album in the UK)|  }}{{#ifeq: {{{Country Of Release|}}} | USA | =Unique USA Appearances=
{{#ask:  [[Category:{{PAGENAME}}]][[Category:Song]][[Total USA Count::1]]
|format=ul
|class=columnsul
|limit=200}}
Number of Unique USA Tracks : [[Number of Unique USA Tracks::{{#ask:  [[Category:{{PAGENAME}}]][[Category:Song]][[Total USA Count::1]]|format=count}}]] (ie these tracks only appear on this album in USA)|  }}
=Song Chart and Appearance Count Details=
{{#ask:
[[Category:{{PAGENAME}}]][[Category:Song]]
|?Song Artist=Artist(s)
|?Song Original Release Date=First UK Chart Appearance
|?Song Highest Chart Position=Highest UK Chart Position
|?Track Original Year#=Original Year
|?Total {{{Country Of Release|}}} Count={{{Country Of Release|}}} Now Appearances
|limit=200
|headers=plain
}}
{{#set:PagenameLink={{PAGENAME}}}}
{{HeaderTabs}}
{{{{{Album Series|}}} Navbox}}
__NOTOC__ __NOEDITSECTION__ __INDEX__ __NOCACHE__
[[Category:Album]]{{#default_form:Album}}
[[Category:Album]]{{#default_form:Album}}
</includeonly>
</includeonly>

Latest revision as of 14:41, 30 May 2024

This is the "Album" template. It should be called in the following format:

{{Album
|Album Main Cover=
|Album Original Release Date=
|Album Parent=
|Amazon Link=
}}

Edit the page to see the template text.