Template talk:Track
Jump to navigation
Jump to search
There needs to be an "if:copyrighted then [do not display download and play links]". It currently displays the links as red links since this website isn't about piracy; the problem with that is those mp3 links appear at Special:WantedFiles: "File:Portal no cake for you.mp3 (4 links)\nFile:Portal still alive.mp3 (4 links)". They are not wanted files.
I could fix this but it would be difficult. Something like this:
- pseudo code:
if in album and album value of the "copyrighted" parameter is "yes" then hide linksdoesn't really work that way? - wikicode: {{#if:{{{copyrighted|}}}|| {{!}} {{Download|[[Media:{{Dictionary/audio/{{lc:{{{1|you will be perfect}}}}}|file}}|{{common string|Download-media}}]]}} <span class="audio-player" data-url="{{filepath:{{Dictionary/audio/{{lc:{{{1|you will be perfect}}}}}|file}}|nowiki}}">{{!}} [[File:Play icon.png|text-bottom|link={{filepath:{{Dictionary/audio/{{lc:{{{1|you will be perfect}}}}}|file}}}}]] [[Media:{{Dictionary/audio/{{lc:{{{1|you will be perfect}}}}}|file}}|{{common string|Play-media}}]]</span>}} --User000name (talk) 17:42, 3 December 2017 (UTC)