Template:Song of the day: Difference between revisions

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}}}}}}}</div>
<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>
<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>
Line 23: Line 23:
"type": "string",
"type": "string",
"suggested": true
"suggested": true
},
"youtube": {
"label": "YouTube ID",
"description": "embeds a YouTube icon that links to the given video",
"type": "string",
"required": true
}
}
},
},