Template:Ytv-table-row/doc

From Angelina Jordan Wiki
Revision as of 06:29, 28 June 2024 by Dcljr (talk | contribs) (heh…)
This is a subpage documenting Template:Ytv-table-row. To change the template, edit that page; to change the template's documentation (seen below), edit this one.

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:

  • datetime can 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 in date (or upload).
  • title-gloss can be used to translate non-English (portions of) video titles into English
  • nothumb=y can 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=y can 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 (or song1-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 (or song1-note, etc.) can be used to

Parameter aliases:

  • rec can used instead of recorded
  • desc can be used instead of description
  • uploaded can be used instead of date
  • any of where, location, or loc can be used instead of venue

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 WithNotes
2016-04-23
Angelina Jordan "Back to Black" Cover, with KORK, improvised lyric.
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