Jump to content

Template:JoeYT2Cite: Difference between revisions

From Joepedia
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 Two|channel_icon=Joe-channel-2.png|title={{{title|}}}|time={{{time|}}}}}<noinclude>
<!---->[[File:YouTube.svg|20px|alt=YouTube Channel]] [[File:Joe-channel-2.png|30px]] Joseph Anderson Channel Two video: [https://www.youtube.com/watch?v={{{video}}}&t={{{time}}}s “{{{title}}}” at {{#time: H:i:s | @{{{time}}} }}].
== Example ==
</span>
E.g:
<noinclude>
  <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 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 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>

Latest revision as of 15:18, 22 January 2025

YouTube Channel “Joseph Anderson Channel Two” video: “”.

Example

E.g:

 {{JoeYTC2ite|Iq1XEegpsLk|title=The First Annual Chan of the Year Award|time=100}}

YouTube Channel “Joseph Anderson Channel Two” video: “The First Annual Chan of the Year Award” at 00:01:40.


Template Data

Cite Joe's second YouTube channel (See JoeYTCite for citing his main channel).

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Video Code1 video

The YouTube video code for the video being cited.

Stringrequired
Video Titletitle

The title of the video.

Stringrequired
Timetime

The time in seconds into the video to cite.

Numbersuggested