Template:Spotify: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
No edit summary 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"|300|280=id="height-280"|350=id="height-350"}}> | <includeonly><div class="spotify-thumb" style="{{#ifeq:{{{align|}}}|left|float:left;clear:left;margin-left:0;margin-right:12px;|}}" {{#switch:{{{height|}}}|full|full height|380=id="full-height"|300|280=id="height-280"|350=id="height-350"}}> | ||
{{#tag:spotify||uri="{{#if:{{{album|}}}|spotify:album:{{{album}}}|{{#if:{{{track|}}}|spotify:track:{{{track}}}|spotify:album:{{{1}}}}}}}"|height="{{#if:{{{height|}}}|{{#switch:{{{height|}}}|full|full height=380|300|290=280|#default={{{height}}}}}|200}}"}} | {{#tag:spotify||uri="{{#if:{{{album|}}}|spotify:album:{{{album}}}|{{#if:{{{track|}}}|spotify:track:{{{track}}}|spotify:album:{{{1}}}}}}}"|height="{{#if:{{{height|}}}|{{#switch:{{{height|}}}|full|full height=380|300|290=280|#default={{{height}}}}}|200}}"}} | ||
</div></includeonly><noinclude>[[Category:Template sandbox|Spotify thumb]]</noinclude> | </div></includeonly><noinclude>[[Category:Template sandbox|Spotify thumb]]</noinclude> |