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=id="height-300"|350=id="height-350"}}>
<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"}}>
{{#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|#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>

Revision as of 15:31, 4 June 2017