Difference between revisions of "Template:yt"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m
Line 1: Line 1:
 
<includeonly>style="background-color: #ffc7c7;"|{{#switch: {{{1|}}}|1=1<sup>st</sup>|2=2<sup>nd</sup>|3=3<sup>rd</sup>|#default={{{1}}}<sup>th</sup>}} YT video, on {{{2|}}}&#8209;{{{3|}}}&#8209;{{{4|}}}: '''''{{#if: {{{6|}}}|[{{fullurl:{{{5|}}}}} {{{6|}}}]'''''|[{{fullurl:{{{5|}}}}} {{{5|}}}]}}</includeonly><noinclude><!--
 
<includeonly>style="background-color: #ffc7c7;"|{{#switch: {{{1|}}}|1=1<sup>st</sup>|2=2<sup>nd</sup>|3=3<sup>rd</sup>|#default={{{1}}}<sup>th</sup>}} YT video, on {{{2|}}}&#8209;{{{3|}}}&#8209;{{{4|}}}: '''''{{#if: {{{6|}}}|[{{fullurl:{{{5|}}}}} {{{6|}}}]'''''|[{{fullurl:{{{5|}}}}} {{{5|}}}]}}</includeonly><noinclude><!--
  
THIS CODE IS BARELY HELD TOGETHER. I DON'T KNOW WHY IT WORKS. PLEASE SEND HELP.
+
THIS CODE IS BARELY HELD TOGETHER. I DON'T KNOW WHY IT WORKS.
  
  
-->Used for [https://www.youtube.com/@xkcd_whatif/videos ''what if?'' YouTube videos] in the ''what if?'' index. The title of the video is required.
+
-->Used for [https://www.youtube.com/@xkcd_whatif/videos ''what if?'' YouTube videos] in the ''what if?'' index. The title of the video is always required and recommended.
  
 
===Usage===
 
===Usage===
 +
<nowiki>{{yt|YTNUMBER|YYYY|MM|DD|YTLINK|VIDEOTITLE}}</nowiki>
  
<nowiki>{{yt|YTNUMBER|DATE|YTLINK|VIDEOTITLE}}</nowiki>
+
===Example===
 
+
  <nowiki>{{yt|</nowiki><font color="SeaGreen">'''''2'''''</font>|<font color="SeaGreen">'''''2022'''''</font>|<font color="SeaGreen">'''''12'''''</font>|<font color="SeaGreen">'''''31'''''</font>|<font color="SeaGreen">'''''https://www.youtube.com/2LSyNhb5Y'''''</font>|<font color="SeaGreen">'''''What if everyone pointed a laser at the moon?'''''</font>}}
===Examples:===
 
 
 
  <nowiki>{{yt|2|2022|12|31|https://www.youtube.com/watch?v=2LSyizrk8-0|What if everyone pointed a laser at the moon?}}</nowiki>
 
  
 
Produces:
 
Produces:
Line 18: Line 16:
 
  {{yt|2|2022|12|31|https://www.youtube.com/watch?v=2LSyizrk8-0|What if everyone pointed a laser at the moon?}}
 
  {{yt|2|2022|12|31|https://www.youtube.com/watch?v=2LSyizrk8-0|What if everyone pointed a laser at the moon?}}
  
----
+
===Example===
 
+
  <nowiki>{{yt|2|2022|12|31|https://youtu.be/JqFSGkFPipM}}</nowiki>
  <nowiki>{{yt|2|2022|12|31|https://youtu.be/JqFSGkFPipM|What if everyone pointed a laser at the moon?}}</nowiki>
 
  
 
Produces:
 
Produces:

Revision as of 19:48, 19 January 2025

Used for what if? YouTube videos in the what if? index. The title of the video is always required and recommended.

Usage

{{yt|YTNUMBER|YYYY|MM|DD|YTLINK|VIDEOTITLE}}

Example

{{yt|2|2022|12|31|https://www.youtube.com/2LSyNhb5Y|What if everyone pointed a laser at the moon?}}

Produces:

warning!!.png This template has been retired and is no longer in use. Use {{book}} instead.

Example

{{yt|2|2022|12|31|https://youtu.be/JqFSGkFPipM}}

Produces:

warning!!.png This template has been retired and is no longer in use. Use {{book}} instead.


N Date Thumbnail Title Reader's question Randall's answer
1 2012‑07‑10 Relativistic Baseball.png Relativistic Baseball "What would happen if you tried to hit a baseball pitched at 90% the speed of light?" The result would be some kind of nuclear explosion, and possibly a ruling of "hit by pitch".
warning!!.png This template has been retired and is no longer in use. Use {{book}} instead.
2 2012‑07‑10
0w later
SAT Guessing.png SAT Guessing "What if everyone who took the SAT guessed on every multiple‑choice question? How many perfect scores would there be?" No one would get a perfect score. No one would get a perfect score. No one would get a perfect score. No one would get a perfect score. No one would get a perfect score.
warning!!.png This template has been retired and is no longer in use. Use {{book}} instead.
3 2012‑07‑17
1w later
Yoda.png Yoda "How much Force power can Yoda output?" First regular release. From here on standard release day was Tuesday. It's about 19.2 kilowatts, or 25 horsepower.