Difference between revisions of "Template:yt"
(It didn't catch fire!) |
(Made basic change to cell definition to allow the zero-padding 'code' to be removed from the cell text (if you so wish).) |
||
| Line 1: | Line 1: | ||
| − | <includeonly>style="background-color: #ffc7c7;"|{{#if: {{{6|}}}|'''{{#ifexpr:{{{1|0}}}<10|0}}{{#switch: {{{1|}}}|1=1<sup>st</sup>|2=2<sup>nd</sup>|3=3<sup>rd</sup>|#default={{{1}}}<sup>th</sup>}}''' video, on {{{2|}}}‑{{{3|}}}‑{{{4|}}}: <span class="plainlinks">'''[https://www.youtube.com/watch?v={{{5|}}} {{{6|}}}]'''</span>|<span class="plainlinks">[https://www.youtube.com/watch?v={{{5|}}} '''{{#ifexpr:{{{1|0}}}<10|0}}{{#switch: {{{1|}}}|1=1<sup>st</sup>|2=2<sup>nd</sup>|3=3<sup>rd</sup>|#default={{{1}}}<sup>th</sup>}}''' video, on {{{2|}}}‑{{{3|}}}‑{{{4|}}}]</span>}}</includeonly><noinclude><!-- | + | <includeonly>data-sort-value="{{{1|0}}}" style="background-color: #ffc7c7;"|{{#if: {{{6|}}}|'''{{#ifexpr:{{{1|0}}}<10|0}}{{#switch: {{{1|}}}|1=1<sup>st</sup>|2=2<sup>nd</sup>|3=3<sup>rd</sup>|#default={{{1}}}<sup>th</sup>}}''' video, on {{{2|}}}‑{{{3|}}}‑{{{4|}}}: <span class="plainlinks">'''[https://www.youtube.com/watch?v={{{5|}}} {{{6|}}}]'''</span>|<span class="plainlinks">[https://www.youtube.com/watch?v={{{5|}}} '''{{#ifexpr:{{{1|0}}}<10|0}}{{#switch: {{{1|}}}|1=1<sup>st</sup>|2=2<sup>nd</sup>|3=3<sup>rd</sup>|#default={{{1}}}<sup>th</sup>}}''' video, on {{{2|}}}‑{{{3|}}}‑{{{4|}}}]</span>}}</includeonly><noinclude><!-- |
THIS CODE IS BARELY HELD TOGETHER. I DON'T KNOW WHY IT WORKS. | THIS CODE IS BARELY HELD TOGETHER. I DON'T KNOW WHY IT WORKS. | ||
Revision as of 12:37, 28 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|YT-NUMBER|YYYY|MM|DD|VIDEO-ID|VIDEO-TITLE}}
HOW TO GET THE VIDEO-ID:
1. Open the YouTube video and look at the link. it will look something like this:
https://www.youtube.com/watch?v=3EI08o-IGYk
https://youtu.be/3EI08o-IGYk?si=gdSF3nIlctPPFbd2
https://youtu.be/3EI08o-IGYk?si=gdSF3nIlctPPFbd2
2. The green part is the VIDEO-ID you need to use.
Example
{{yt|2|2022|12|31|2LSyNhb5Y|What if everyone pointed a laser at the moon?}}
Produces:
| This template has been retired and is no longer in use. Use {{book}} instead. |
Example
{{yt|2|2022|12|31|JqFSGkFPipM}}
Produces:
| 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 | "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". |
| ||
| 2 | 2012‑07‑10 0w later |
|
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. |
| ||
| 3 | 2012‑07‑17 1w later |
|
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. |
|
