Template:Song of the day: Difference between revisions
MusikAnimal (talk | contribs) (Created page with "{{{text|Blurb for the song goes here}}} {{right|[[{{{title|Zero}}}|Read more]] • [[Talk:{{{title|Zero}}}|Discuss]] • {{#if:{{{spotify|f}}}|<span class="plainlinks">...") |
MusikAnimal (talk | contribs) No edit summary |
||
(17 intermediate revisions by the same user not shown) | |||
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]] • [[Talk:{{{title|Zero}}}|Discuss]] {{#if:{{{spotify|}}}|• {{spotify|{{{spotify}}}}}}}{{#if:{{{youtube|}}}| • {{youtube-inline|{{{youtube}}}}}}}</div> | |||
<includeonly>{{#ifeq:{{#pos:{{PAGENAME}}|Main Page/Songs/}}|0|[[Category:Songs of the day]]}}</includeonly><noinclude> | |||
<templatedata> | |||
{ | |||
"params": { | |||
"text": { | |||
"label": "Text", | |||
"description": "The wikitext for the blurb. It should be a handful of sentences containing some interesting trivia.", | |||
"type": "unbalanced-wikitext", | |||
"required": true | |||
}, | |||
"title": { | |||
"label": "Song page title", | |||
"description": "Page title for the song", | |||
"type": "wiki-page-name", | |||
"required": true | |||
}, | |||
"spotify": { | |||
"label": "Spotify ID", | |||
"description": "Enter a Spotify song ID will generate a link to it", | |||
"type": "string", | |||
"suggested": true | |||
}, | |||
"youtube": { | |||
"label": "YouTube ID", | |||
"description": "embeds a YouTube icon that links to the given video", | |||
"type": "string", | |||
"required": true | |||
} | |||
}, | |||
"description": "Template that is used to define the \"Song of the day\" which appears on the Main Page" | |||
} | |||
</templatedata></noinclude> |
Latest revision as of 01:43, 13 June 2023
Blurb for the song goes here
Template that is used to define the "Song of the day" which appears on the Main Page
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | text | The wikitext for the blurb. It should be a handful of sentences containing some interesting trivia. | Unbalanced wikitext | required |
Song page title | title | Page title for the song | Page name | required |
Spotify ID | spotify | Enter a Spotify song ID will generate a link to it | String | suggested |
YouTube ID | youtube | embeds a YouTube icon that links to the given video | String | required |