Template:Album Version: Difference between revisions

From Now That's What I Call Music Wiki
No edit summary
Tag: Manual revert
No edit summary
 
(54 intermediate revisions by the same user not shown)
Line 14: Line 14:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude><onlyinclude><includeonly>{{Siteheader}}
<div style="font-family: Trebuchet MS; color: #dddddd;">
<div class="row">
  <div class="col-4">{{#ifeq: {{{Version Main Cover |}}} | | [[Category:Needs Album Image]] |[[File:{{{Version Main Cover |}}}]] [[Category:Has Album Image]] [[Version Main Cover::{{{Version 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|}}}]] ({{{Version Format Type|}}})</center></div>


<table class="table table-hover">
 
<ol class="breadcrumb" style="background-color:#222222; padding: .75rem 1rem; margin-bottom: 1rem; margin-left: 0">
  <li class="breadcrumb-item">[[Main Page|Now That's What I Call Music Wiki]]</li>
  <li class="breadcrumb-item">[[{{{Album Parent|}}}|{{#show: {{{Album Parent|}}}  |?Album Title | link=none}}]]</li>
  <li class="breadcrumb-item active" aria-current="page"><span style="color:#ffffff">{{{Version Format Type|}}} {{{Version Release Year|}}}</span></li>
</ol>
 
<div style="background-color:#{{{Album Main Color|}}}; font-weight:bold; margin-bottom:10px; padding:5px; font-size: large; font-family: Trebuchet MS; color: #{{{Album Secondary Color|}}};"><center>[[Album Title::{{{Album Title|}}}]] ({{{Country Of Release|}}} {{{Version Release Year|}}} {{{Version Format Type|}}})[[Album Main Color::{{{Album Main Color|}}}| ]][[Album Secondary Color::{{{Album Secondary Color|}}}| ]]</center></div>
  <!-- Stack the columns on mobile by making one full-width and the other half-width -->
  <div class="row">
    <div class="col-md-4">[[File:{{{Version Main Cover |}}}]][[Version Main Cover::{{{Version Main Cover |}}}|]]</div>
    <div class="col-md-8"><table class="table table-hover">
     <tr>
     <tr>
       <th scope="row"><div style="color: #dddddd;">Album Format</div></th>
       <th scope="row"><div style="color: #dddddd;">Album Format</div></th>
       <td>[[Version Format Type::{{{Version Format Type|}}}]]</td>
       <td>[[Version Format Type::{{{Version Format Type|}}}| ]]{{#formredlink:target={{{Version Format Type|}}}|form=Format|create page}}</td>
     </tr>
     </tr>
     <tr>
     <tr>
       <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;">[[Version Release Date::{{{Version Release Date |}}}|{{#time:F j, Y|{{{Version Release Date }}}}}]][[Version Release Year::{{{Version Release Year|}}}|]]</div></td>
       <td><div style="color: #dddddd;">{{#ifeq: {{{Version Release Date|}}} |  | [[Category:Needs Release Date]] | [[Version Release Date::{{{Version Release Date|}}}|]][[Version Release Year::{{{Version Release Year|}}}|]] [[{{{Version Release Year|}}}|{{#time:F j, Y|{{{Version Release Date }}}}}]] }}{{#ifeq: {{{Unconfirmed Date|}}} | | [[Category:Confirmed Date]] | [[Unconfirmed Date::{{{Unconfirmed Date|}}}]][[Category:Unconfirmed Date]]}}</div></td>
     </tr>
     </tr>
     <tr>
     <tr>
Line 35: Line 42:
     <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>[[Album Series::{{{Album Series|}}}]]</td>
       <td>{{#arraymap:{{{Album Series|}}}|~|xxxxx|{{#set:Album Series=xxxxx}}{{#formredlink:target=xxxxx|form=Series|create page}}}}</td>  
     </tr>
     </tr>
     <tr>
     <tr>
Line 41: Line 48:
       <td>[[Album Parent::{{{Album Parent|}}}]]</td>
       <td>[[Album Parent::{{{Album Parent|}}}]]</td>
     </tr>
     </tr>
    
    <tr>
      <th scope="row"><div style="color: #dddddd;">Number of tracks</div></th>
      <td><div style="color: #dddddd;">[[Album Number of Tracks::{{#ask:  [[Track Album::{{PAGENAME}}]]   |?Track Artist And Title |format=count}}]]</div></td>
    </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; " | [[Amazon Link::{{#ifeq: {{{Amazon Link|}}} | | https://amazon.co.uk/s?k={{#replace:{{{Album Title|}}}|%20|_}}&tag=nowmusicwiki-21 | {{{Amazon Link|}}} }}|{{#ifeq: {{{Version Format Type|}}} | MP3 Download | | }}]] {{#ifeq: {{{Amazon Link|}}} | | [[Category:Needs Specific Amazon Link]] | }}
|}<html><a class="btn btn-warning btn-block" style="color:#000000" href="</html>{{#replace:{{#replace:{{#replace:{{#show: {{PAGENAME}} |?Amazon Link#nowiki|mainlabel=-}}|http://|}}|https://|}}|%20|_}}<html>"role="button">Buy Now</a></html>
</div>
</div>
</div>
</div>
</div>
</div>


</br>
<hr>


</br>
{{#ask:
__NOTOC__ __NOEDITSECTION__  
[[Category:Album Version]] [[{{PAGENAME}}]]
<headertabs/>
|?Side 1 Identifier
[[Category:Album Version]]{{#default_form:Release Version}}
|?Side 2 Identifier
</includeonly>
|?Side 3 Identifier
|?Side 4 Identifier
|?Side 5 Identifier
|?Side 6 Identifier
|?Side 7 Identifier
|?Side 8 Identifier
|?Side 9 Identifier
|?Side 10 Identifier
|headers=hide
|mainlabel=-
|format=plainlist
|template=Album Tracklisting
}} [[Category:UK Day {{#show: {{PAGENAME}}  |?Version Release Date#GR-F[d] | link=none}}]] [[Category:UK Month {{#show: {{PAGENAME}}  |?Version Release Date#GR-F[m] | link=none}}]] [[Category:UK Year {{#show: {{PAGENAME}}  |?Version Release Date#GR-F[y] | link=none}}]] __NOTOC__ __NOEDITSECTION__ __INDEX__ [[Category:Album Version]] {{#default_form:Release Version}} __NOTITLE__</includeonly></onlyinclude>

Latest revision as of 23:43, 15 November 2024

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

{{Album Version
|Version Main Cover=
|Version Release Date=
|Version Format Type=
|Country Of Release=
|Album Parent=
|Album Series=
|Amazon Link=
}}

Edit the page to see the template text.