Template:JoeYTCite: Difference between revisions

No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<span style="line-height: 20px">
{{YTCite|{{{1|}}}|channel=Joseph Anderson|channel_icon=Joe-icon.png|title={{{title|}}}|time={{{time|}}}}}<noinclude>
<!---->[[File:YouTube.svg|20px|alt=YouTube Channel]] [[File:Joe-icon.png|30px]] Joseph Anderson video: [https://www.youtube.com/watch?v={{{video}}}&t={{{time}}}s “{{{title}}}” at {{#time: H:i:s | @{{{time}}} }}].
== Example ==
</span>
E.g:
<noinclude>
  <nowiki>{{JoeYTCite|NtrAx-rVgco|title=The Witcher Critique - The Beginning of a Monster|time=100}}</nowiki>
{{JoeYTCite|NtrAx-rVgco|title=The Witcher Critique - The Beginning of a Monster|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 16: 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 main YouTube channel (See JoeYT2Cite for citing his second channel).",
"description": "Cite Joe's main YouTube channel (See JoeYT2Cite for citing his second channel).",
"format": "inline"
"format": "inline",
"paramOrder": [
"1",
"title",
"time"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>