Template:YTCite: Difference between revisions
Appearance
No edit summary |
Add gap between YouTube icon and channel icon, example of iconless cite, prevent link on youtube icon |
||
Line 1: | Line 1: | ||
<span style="line-height: 20px"> | <span style="line-height: 20px"> | ||
<!---->[[File:YouTube.svg|20px|alt=YouTube Channel]]{{#if:{{{channel_icon|}}}| <span class="inline-img circular">[[File:{{{channel_icon|}}}|25px|link=]]</span>}} “{{{channel}}}” video: [https://www.youtube.com/watch?v={{{1}}}{{#if:{{{time|}}}|&t={{{time}}}s}} “{{{title}}}”{{#if:{{{time|}}}| at {{#time: H:i:s | @{{{time}}} }}}}]. | <!---->[[File:YouTube.svg|20px|alt=YouTube Channel|link=]] {{#if:{{{channel_icon|}}}|<span class="inline-img circular">[[File:{{{channel_icon|}}}|25px|link=]]</span>}} “{{{channel}}}” video: [https://www.youtube.com/watch?v={{{1}}}{{#if:{{{time|}}}|&t={{{time}}}s}} “{{{title}}}”{{#if:{{{time|}}}| at {{#time: H:i:s | @{{{time}}} }}}}]. | ||
</span> | </span> | ||
<noinclude> | <noinclude> | ||
Line 7: | Line 7: | ||
<nowiki>{{YTCite|w8QqBQZEZdM|channel=Falco|channel_icon=Falco.jpg|title=Joseph Anderson Marble Races stream 1 with chat <nowiki>[02/14/2021]</nowiki>}}</nowiki> | <nowiki>{{YTCite|w8QqBQZEZdM|channel=Falco|channel_icon=Falco.jpg|title=Joseph Anderson Marble Races stream 1 with chat <nowiki>[02/14/2021]</nowiki>}}</nowiki> | ||
{{YTCite|w8QqBQZEZdM|channel=Falco|channel_icon=Falco.jpg|title=Joseph Anderson Marble Races stream 1 with chat <nowiki>[02/14/2021]</nowiki>}} | {{YTCite|w8QqBQZEZdM|channel=Falco|channel_icon=Falco.jpg|title=Joseph Anderson Marble Races stream 1 with chat <nowiki>[02/14/2021]</nowiki>}} | ||
<nowiki>{{YTCite|g2A1GkiMYW4|channel=avarisi|title=Not that fragile.}}</nowiki> | |||
{{YTCite|g2A1GkiMYW4|channel=avarisi|title=Not that fragile.}} | |||
== Template Data == | == Template Data == |
Revision as of 01:49, 23 January 2025
“{{{channel}}}” video: “{{{title}}}”.
Example
E.g:
{{YTCite|w8QqBQZEZdM|channel=Falco|channel_icon=Falco.jpg|title=Joseph Anderson Marble Races stream 1 with chat <nowiki>[02/14/2021]</nowiki>}}
“Falco” video: “Joseph Anderson Marble Races stream 1 with chat [02/14/2021]”.
{{YTCite|g2A1GkiMYW4|channel=avarisi|title=Not that fragile.}}
“avarisi” video: “Not that fragile.”.
Template Data
Cite a non-Joe YouTube channel.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Video Code | 1 | The YouTube video code for the video being cited. | String | required |
Channel Name | channel | The name of the channel being cited.
| String | required |
Video Title | title | The title of the video. | String | required |
Time | time | The time in seconds into the video to cite. | Number | suggested |
Channel Icon | channel_icon | The icon for the channel, give as the name of the file but don't use the `File:` prefix.
| String | suggested |