Template:Music video: Difference between revisions
MusikAnimal (talk | contribs) (until Cargo is fixed) |
MusikAnimal (talk | contribs) (Undo revision 76297 by MusikAnimal (talk)) |
||
Line 1: | Line 1: | ||
<noinclude>{{#cargo_declare: | |||
_table = music_videos | _table = music_videos | ||
| youtube = String | | youtube = String | ||
Line 11: | Line 11: | ||
| muchmusic_no1_date = Date | | muchmusic_no1_date = Date | ||
| notes = Wikitext | | notes = Wikitext | ||
}}</noinclude | }}</noinclude><includeonly>{{#cargo_store: | ||
_table = music_videos | _table = music_videos | ||
| youtube = {{{1|{{{youtube|}}}}}} | | youtube = {{{1|{{{youtube|}}}}}} | ||
Line 23: | Line 23: | ||
| muchmusic_no1_date = {{{muchmusic_no1_date|}}} | | muchmusic_no1_date = {{{muchmusic_no1_date|}}} | ||
| notes = {{{notes|}}} | | notes = {{{notes|}}} | ||
}} | }}{{#if:{{{vma_awards|}}}|[[Category:MTV Video Music Award winners]]}}{{#if:{{{vma_nominations|}}}|[[Category:MTV Video Music Award nominations]]}}{{#if:{{{muchmusic_no1_date|}}}|[[Category:Number 1 MuchMusic Countdown videos]]}}</includeonly>{{youtube|{{{1|{{{youtube|<noinclude>4aeETEoNfOg</noinclude>}}}}}}|2={{{caption|{{{2|}}}}}}|float={{{float|right}}}|width={{{width|400}}}|height={{{height|240}}}}}<noinclude>{{documentation}}</noinclude> |
Revision as of 20:46, 19 April 2023
This template defines the table "music_videos". View table.
Use this template to embed official music videos from YouTube. This is just a wrapper of the {{YouTube}} template, but also stores the release date so that it will show up in the "Today in history" section on the Main Page.
Embed official music video from YouTube
Parameter | Description | Type | Status | |
---|---|---|---|---|
YouTube ID | 1 youtube | no description
| Unknown | required |
Release date | release_date | no description | Date | suggested |
Song title | song | Use this if different than the page title
| String | suggested |
Artist | artist | no description | Page name | required |
Director(s) | director | Comma-separated list of directors
| String | suggested |
Position | position | Either 'left', 'right' or 'none' | String | suggested |
Width | width | Width of the embedded video. Does not automatically scale with the height. | Number | optional |
Height | height | Height of embedded video. Does not automatically scale with the width. | Number | optional |
VMA Awards | vma_awards | Use full name of the award
| String | optional |
VMA Nominations | vma_nominations | Use the full name of the award
| String | optional |
VMA Date | vma_date | If the video won or was nominated, this is the date the awards took place | Date | optional |
Date of being at #1 on the MuchMusic Countdown | muchmusic_no1_date | no description | Date | optional |
Notes | notes | This gets displayed in the "Today in history" section on the Main Page | Unbalanced wikitext | optional |
Caption | 2 caption | no description
| Unbalanced wikitext | suggested |
float | float | no description | Unknown | optional |
The above documentation is transcluded from Template:Music video/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |