Template:Album: Difference between revisions

From Now That's What I Call Music Wiki
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
Line 31: Line 31:
</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: {{{Amazon Link|}}} | | [<nowiki>https://amazon.co.uk/s?k=</nowiki>{{#replace:{{{Album Title|}}}| |+}}<nowiki>&tag=nowmusicwiki-21</nowiki>|Purchase on Amazon][[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]] | }}
|}
|}
Test
[<nowiki>https://amazon.co.uk/s?k=</nowiki>{{#replace:{{{Album Title|}}}| |+}}<nowiki>&tag=nowmusicwiki-21</nowiki>]





Revision as of 23:54, 3 August 2022

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.