Template:YTCite: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<span style="line-height: 20px"> | <span style="line-height: 20px"> | ||
<!---->[[File:YouTube.svg|20px|alt=YouTube Channel]] “{{{channel}}}” video: [https://www.youtube.com/watch?v={{{1}}}&t={{{time}}}s “{{{title}}}”{{#if:{{{time|}}}| at {{#time: H:i:s | @{{{time}}} }}}}]. | <!---->[[File:YouTube.svg|20px|alt=YouTube Channel]] <span class="inline-img circular">[[File:{{{channel_icon|}}}|25px|link=]]</span> “{{{channel}}}” video: [https://www.youtube.com/watch?v={{{1}}}&t={{{time}}}s “{{{title}}}”{{#if:{{{time|}}}| at {{#time: H:i:s | @{{{time}}} }}}}]. | ||
</span> | </span> | ||
<noinclude> | <noinclude> | ||
== Example == | |||
E.g: | |||
<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>}} | |||
== Template Data == | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 32: | Line 38: | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true | ||
}, | |||
"channel_icon": { | |||
"label": "Channel Icon", | |||
"description": "The icon for the channel.", | |||
"suggestedvalues": [ | |||
"Jelly.png" | |||
] | |||
} | } | ||
}, | }, | ||
Line 40: | Line 53: | ||
"channel", | "channel", | ||
"title", | "title", | ||
"time" | "time", | ||
"channel_icon" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 15:13, 22 January 2025
[[File:|25px|link=]] “{{{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]”.
Template Data
Cite a non-Joe YouTube channel.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Video Code | 1 video | 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.
| Unknown | optional |