Template:Ytv-table-row/doc
Documentation
This template generates HTML-style table code for one row of a table of YouTube videos. It should only be used between calls to {{ytv-table-top}} and {{ytv-table-bottom}} (or, if just illustrating the template's output, between <table> and </table>).
Usage
Typical cases (one song, multiple songs, no songs):
{{ytv-table-row|date= |v= |title= |length= |song= |recorded= |age= |venue= |with= |note=}}{{ytv-table-row|date= |v= |title= |length= |song1= | … |song9= |recorded= |age= |venue= |with= |note=}}{{ytv-table-row|date= |v= |title= |length= |description= |recorded= |age= |venue= |with= |note=}}
Same cases with extra optional parameters:
{{ytv-table-row|date= |datetime= |v= |title= |title-gloss= |nothumb= |local= |length= |song= |song-text= |song-note= |recorded= |age= |venue= |with= |note=}}{{ytv-table-row|date= |datetime= |v= |title= |title-gloss= |nothumb= |local= |length= |song1= | … |song9= |song1-text= | … |song9-text= |song1-note= | … |song9-note= |recorded= |age= |venue= |with= |note=}}{{ytv-table-row|date= |datetime= |v= |title= |title-gloss= |nothumb= |local= |length= |description= |recorded= |age= |venue= |with= |note=}}
As currently implemented, description is only used if there is no song or song1, but this might change in the future. If the video contains one or more songs (that Angelina performs) and you also need to describe what's going on in the video, put that description in note.
Optional parameters:
datetimecan be used to provide an exact upload time (e.g.,2016-04-23T11:35:34-07:00) as a "tooltip" on the shorter upload date specified indate(orupload).title-glosscan be used to translate non-English (portions of) video titles into Englishnothumb=ycan be used to suppress the visible video thumbnail, in case that image has not yet been uploaded to the wiki (or perhaps never will be, as in the case of videos that disappeared before their thumbnails could be uploaded)local=ycan be used to provide a link to our article about the video, if one exists (note: the way this is implemented is very likely to change "soon")song-text(orsong1-text, etc.) can be used to specify a different title for the song link target if our article for the song has a different title — e.g., All of Me (jazz standard)song-note(orsong1-note, etc.) can be used to
Parameter aliases:
reccan used instead ofrecordeddesccan be used instead ofdescriptionuploadedcan be used instead ofdate- any of
where,location, orloccan be used instead ofvenue
Examples
{{ytv-table-top}}
{{ytv-table-row
|date=2016-04-23 |datetime=2016-04-23T11:35:34-07:00 |v=LbXUKzOxACU |length=4:09
|title=Angelina Jordan "Back to Black" Cover, with KORK, improvised lyric.
|song=Back to Black |song-note=rewritten lyrics
|rec=2016-04-22? |age=10
|venue=[[Store Studio]] |with=[[KORK]]
|note=music video; also posted to [[NRK]]'s YouTube channel
}}
{{ytv-table-bottom}}
⇓
| Uploaded | Video | Len | Songs performed (or description) |
Recorded | Age | Venue/Event | With | Notes |
|---|---|---|---|---|---|---|---|---|
| 2016-04-23 | 4:09 |
"Back to Black" (rewritten lyrics) |
2016-04-22? | 10 | Store Studio | KORK | music video; also posted to NRK's YouTube channel |
Note: {{ytv-table-top}} and {{ytv-table-bottom}} appear only once per table, not once per row. They are here just to show what the different columns mean.
See also
{{ytv-table-top}}{{ytv-table-bottom}}
