Template:YTCite: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(16 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
<span style="line-height: | <span style="line-height: 25px"> | ||
<!---->[[File:YouTube.svg| | <!---->[[File:YouTube.svg|25px|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 == | ||
Line 13: | Line 16: | ||
"params": { | "params": { | ||
"1": { | "1": { | ||
"label": "Video Code", | "label": "Video Code", | ||
"description": "The YouTube video code for the video being cited.", | "description": "The YouTube video code for the video being cited.", | ||
Line 37: | Line 37: | ||
"description": "The name of the channel being cited.", | "description": "The name of the channel being cited.", | ||
"type": "string", | "type": "string", | ||
"required": true | "required": true, | ||
"suggestedvalues": [ | |||
"Falco", | |||
"Mike322", | |||
"Cat Catasmic", | |||
"Retinas", | |||
"Bike Chan", | |||
"Man Of Answers", | |||
"Weed Lol" | |||
] | |||
}, | }, | ||
"channel_icon": { | "channel_icon": { | ||
"label": "Channel Icon", | "label": "Channel Icon", | ||
"description": "The icon for the channel.", | "description": "The icon for the channel, give as the name of the file but don't use the `File:` prefix.", | ||
"suggestedvalues": [ | "suggestedvalues": [ | ||
" | "Falco.jpg", | ||
] | "Mike322.jpg", | ||
"Channel-retinasjpg.jpg", | |||
"Channel-Bike-chanjpg.jpg", | |||
"manofanswersicon.jpg", | |||
"kusoroicon.jpg", | |||
"Cat-Catasmic.jpg", | |||
"Weedlolicon.jpg" | |||
], | |||
"type": "string", | |||
"suggested": true | |||
} | } | ||
}, | }, | ||
Line 54: | Line 72: | ||
"title", | "title", | ||
"time", | "time", | ||
"channel_icon" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Latest revision as of 02:25, 24 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 |