Template:YTCite: Difference between revisions

No edit summary
Tag: Reverted
No edit summary
 
(14 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<span style="line-height: 20px">
<span style="line-height: 25px">
<!---->[[File:YouTube.svg|20px|alt=YouTube Channel]] <span class="inline-img circular">[[File:{{{channel_icon|}}}|25px|link=]]</span> “<nowiki>{{{channel}}}</nowiki>” video: [https://www.youtube.com/watch?v={{{1}}}&t={{{time}}}s “<nowiki>{{{title}}}</nowiki>”{{#if:{{{time|}}}|&nbsp;at {{#time: H:i:s | @{{{time}}} }}}}].
<!---->[[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|}}}|&nbsp;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]&lt;/nowiki>}}</nowiki>
   <nowiki>{{YTCite|w8QqBQZEZdM|channel=Falco|channel_icon=Falco.jpg|title=Joseph Anderson Marble Races stream 1 with chat <nowiki>[02/14/2021]&lt;/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": {
"aliases": [
"video"
],
"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": [
"Jelly.png"
"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"
"channel_icon"
]
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>