Template:Spotify: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
(test) Tag: sourceedit |
No edit summary Tag: sourceedit |
||
Line 1: | Line 1: | ||
<includeonly><div class="spotify-thumb" style="{{#ifeq:{{{align|}}}|left|float:left;clear:left;|}}" {{#switch:{{{height|}}}|full|full height|380=id="full-height"|}}> | <includeonly><div class="spotify-thumb" style="{{#ifeq:{{{align|}}}|left|float:left;clear:left;|}}" {{#switch:{{{height|}}}|full|full height|380=id="full-height"|}}> | ||
{{#tag:spotify||uri="spotify:album:{{{1}}}"}} | {{#tag:spotify||uri="{{#if:{{{album|}}}|spotify:album:{{{album}}}|{{#if:{{{track|}}}|spotify:track:{{{track}}}|spotify:album:{{{1}}}}}}}"}} | ||
</div></includeonly><noinclude>[[Category:Template sandbox|Spotify thumb]]</noinclude> | </div></includeonly><noinclude>[[Category:Template sandbox|Spotify thumb]]</noinclude> |