Template:JoeYT2Cite: Difference between revisions

No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span style="line-height: 25px">
{{YTCite|{{{1|}}}|channel=Joseph Anderson Channel Two|channel_icon=Joe-channel-2.png|title={{{title|}}}|time={{{time|}}}}}<noinclude>
<!---->[[File:YouTube.svg|25px|alt=YouTube Channel|link=]] [[File:Joe-channel-2.png|25px|link=]] Joseph Anderson Channel Two video: [https://www.youtube.com/watch?v={{{video}}}&t={{{time}}}s “{{{title}}}” at {{#time: H:i:s | @{{{time}}} }}].
== Example ==
</span><noinclude>
E.g:
  <nowiki>{{JoeYTC2ite|Iq1XEegpsLk|title=The First Annual Chan of the Year Award|time=100}}</nowiki>
{{JoeYT2Cite|Iq1XEegpsLk|title=The First Annual Chan of the Year Award|time=100}}
 
== Template Data ==
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"video": {
"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.",
"type": "string",
"type": "string",
"required": true
"required": true
},
"title": {
"label": "Video Title",
"description": "The title of the video.",
"required": true,
"type": "string"
},
},
"time": {
"time": {
Line 15: Line 28:
"description": "The time in seconds into the video to cite.",
"description": "The time in seconds into the video to cite.",
"type": "number",
"type": "number",
"suggested": true
},
"title": {
"label": "Video Title",
"description": "The title of the video.",
"suggested": true
"suggested": true
}
}
},
},
"description": "Cite Joe's second YouTube channel (See JoeYTCite for citing his main channel).",
"description": "Cite Joe's second YouTube channel (See JoeYTCite for citing his main channel).",
"format": "inline"
"format": "inline",
"paramOrder": [
"1",
"title",
"time"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>