Template:Song of the day: Difference between revisions

From SPCodex, The Smashing Pumpkins wiki
No edit summary
No edit summary
Line 1: Line 1:
{{{text|Blurb for the song goes here}}}
{{{text|Blurb for the song goes here}}}


<div style="float: right;margin-top: 8px;">[[{{{title|Zero}}}|Read more]] &bull; [[Talk:{{{title|Zero}}}|Discuss]] {{#if:{{{spotify|}}}|&bull; {{spotify|{{{spotify}}}}}}}{{#if:{{{youtube|}}}| &bull; {{youtube-inline|{{{youtube}}}}}}}</div>
<div style="float: right;margin-top: 8px;">[[{{{title|Zero}}}|Read more]] &bull; [[Talk:{{{title|Zero}}}|Discuss]] {{#if:{{{spotify|}}}|&bull; {{spotify|{{{spotify}}}}}}}{{#if:{{{youtube|}}}|&nbsp;&bull;&nbsp;{{youtube-inline|{{{youtube}}}}}}}</div>
<includeonly>{{#ifeq:{{#pos:{{PAGENAME}}|Main Page/Songs/}}|0|[[Category:Songs of the day]]{{DISPLAYTITLE:{{{title}}} (song of the day)}}}}</includeonly><noinclude>
<includeonly>{{#ifeq:{{#pos:{{PAGENAME}}|Main Page/Songs/}}|0|[[Category:Songs of the day]]{{DISPLAYTITLE:{{{title}}} (song of the day)}}}}</includeonly><noinclude>
<templatedata>
<templatedata>

Revision as of 06:17, 22 June 2020

Blurb for the song goes here

Template that is used to define the "Song of the day" which appears on the Main Page

[Edit template data]

Template parameters

ParameterDescriptionTypeStatus
Texttext

The wikitext for the blurb. It should be a handful of sentences containing some interesting trivia.

Unbalanced wikitextrequired
Song page titletitle

Page title for the song

Page namerequired
Spotify IDspotify

Enter a Spotify song ID will generate a link to it

Stringsuggested
YouTube IDyoutube

embeds a YouTube icon that links to the given video

Stringrequired