Jump to content

Template:YouTube: Difference between revisions

From Philosophical Research
channel links
m redirects
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{#switch: {{{ParameterThatShouldAlwaysBeEmpty|}}} | {{{2|}}}{{{1|}}}{{{@|}}} = [https://inv.nadeko.net/ video missing] | {{{@|}}} = [https://inv.nadeko.net/watch?v={{{1|u31qwQUeGuM}}} {{{2|video title}}}] | {{{2|}}}{{{1|}}} = [https://inv.nadeko.net/channel/{{{@|UC6-1WMbZBIMrCGUBr64-3NQ}}}] | {{{2|}}}{{{@|}}} = [https://inv.nadeko.net/watch?v={{{1|u31qwQUeGuM}}}] | {{{2|}}} = [https://inv.nadeko.net/channel/{{{@|UC6-1WMbZBIMrCGUBr64-3NQ}}} {{{1|}}}] }}</onlyinclude></includeonly>
<includeonly><onlyinclude>{{#switch: {{{ParameterThatShouldAlwaysBeEmpty|}}} | {{{2|}}}{{{1|}}}{{{@|}}} = [https://inv.nadeko.net/ video missing] | {{{2|}}}{{{@|}}} = [https://inv.nadeko.net/watch?v={{{1|u31qwQUeGuM}}}{{#if:{{{t|}}}|&t{{=}}{{{t|}}}}}] | {{{@|}}} = [https://inv.nadeko.net/watch?v={{{1|u31qwQUeGuM}}}{{#if:{{{t|}}}|&t{{=}}{{{t|}}}}} {{{2|video title}}}] | {{{2|}}}{{{1|}}} = [https://inv.nadeko.net/channel/{{{@|UC6-1WMbZBIMrCGUBr64-3NQ}}}] | {{{2|}}} = [https://inv.nadeko.net/channel/{{{@|UC6-1WMbZBIMrCGUBr64-3NQ}}} {{{1|}}}] }}</onlyinclude></includeonly>
<!--
<!--
readable version:  [note: the default links contain deliberately boring placeholder content from "JoomlaTemplate".]
readable version:  [note: the default links contain deliberately boring placeholder content from "JoomlaTemplate".]
{{#switch: {{{ParameterThatShouldAlwaysBeEmpty|}}}
{{#switch: {{{ParameterThatShouldAlwaysBeEmpty|}}}
| {{{2|}}}{{{1|}}}{{{@|}}} = [https://inv.nadeko.net/ video missing]
| {{{2|}}}{{{1|}}}{{{@|}}} = [https://inv.nadeko.net/ video missing]
| {{{@|}}} = [https://inv.nadeko.net/watch?v={{{1|u31qwQUeGuM}}} {{{2|video title}}}]
| {{{2|}}}{{{@|}}} = [https://inv.nadeko.net/watch?v={{{1|u31qwQUeGuM}}}{{#if:{{{t|}}}|&t{{=}}{{{t|}}}}}]
| {{{@|}}} = [https://inv.nadeko.net/watch?v={{{1|u31qwQUeGuM}}}{{#if:{{{t|}}}|&t{{=}}{{{t|}}}}} {{{2|video title}}}]
| {{{2|}}}{{{1|}}} = [https://inv.nadeko.net/channel/{{{@|UC6-1WMbZBIMrCGUBr64-3NQ}}}]
| {{{2|}}}{{{1|}}} = [https://inv.nadeko.net/channel/{{{@|UC6-1WMbZBIMrCGUBr64-3NQ}}}]
| {{{2|}}}{{{@|}}} = [https://inv.nadeko.net/watch?v={{{1|u31qwQUeGuM}}}]
| {{{2|}}} = [https://inv.nadeko.net/channel/{{{@|UC6-1WMbZBIMrCGUBr64-3NQ}}} {{{1|}}}]
| {{{2|}}} = [https://inv.nadeko.net/channel/{{{@|UC6-1WMbZBIMrCGUBr64-3NQ}}} {{{1|}}}]
}}
}}
Line 14: Line 14:
{{YouTube|Jdf6BzzfOqM|Example video}}
{{YouTube|Jdf6BzzfOqM|Example video}}


{{YouTube|@=UC7_gcs09iThXybpVgjHZ_7g|Example channel}}
{{YouTube|Jdf6BzzfOqM|t=5s|Example video at 5 seconds}}
 
{{YouTube|@=UC7_gcs09iThXybpVgjHZ_7g|rem=PBS Space Time|Example channel}}


== Description ==
== Description ==
Line 23: Line 25:




[[Category:Templates for markup]] [[Category:Source communication rating sheets]]
[[Category:Templates for markup]] [[Category:Source communication rating sheets]] <!--
redirects:  [[Template:Youtube]] -->

Latest revision as of 23:19, 6 December 2025

Demo[edit]

Example video

Example video at 5 seconds

Example channel

Description[edit]

This template exists to make it less painful to put video links in data tables, such as on Ontology pages or rating sheets. Without it, the "=" sign in YouTube links tends to break templates.

As an incidental bonus, the template uses invidious as its video interface. It will be updated based on which invidious instances are currently known to be functional.