Template:JoeYT2Cite: Difference between revisions
No edit summary |
No edit summary |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{YTCite|{{{1|}}}|channel=Joseph Anderson Channel Two|channel_icon=Joe-channel-2.png|title={{{title|}}}|time={{{time|}}}}}<noinclude> | |||
== Example == | |||
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": { | ||
" | "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 | "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> |