Template:Album Version: Difference between revisions

From Now That's What I Call Music Wiki
No edit summary
No edit summary
Line 23: Line 23:
</ol>
</ol>


 
<div class="container">
<div style="font-family: Trebuchet MS; color: #dddddd;">
<div style="background-color:#{{{Album Main Color|}}}; font-weight:bold; margin-bottom:2px; 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|}}})</center></div>
<div class="row">[[Album Main Color::{{{Album Main Color|}}}| ]][[Album Secondary Color::{{{Album Secondary Color|}}}| ]]
  <!-- Stack the columns on mobile by making one full-width and the other half-width -->
  <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="row">
  <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|}}}]] ({{{Country Of Release|}}} {{{Version Release Year|}}} {{{Version Format Type|}}})</center></div>
    <div class="col-md-4">[[File:{{{Version Main Cover |}}}]]</div>
 
    <div class="col-6 col-md-8"><table class="table table-hover">
<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>
Line 56: Line 55:
</table>
</table>
{|
{|
| 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|}}} }}|{{#ifeq: {{{Version Format Type|}}} | MP3 Download | Download from Amazon | Purchase on Amazon }}]] {{#ifeq: {{{Amazon Link|}}} | | [[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>

Revision as of 23:05, 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.