Template:YouTube: Difference between revisions
Appearance
m reorder branches |
m time parameter |
||
| Line 4: | Line 4: | ||
{{#switch: {{{ParameterThatShouldAlwaysBeEmpty|}}} | {{#switch: {{{ParameterThatShouldAlwaysBeEmpty|}}} | ||
| {{{2|}}}{{{1|}}}{{{@|}}} = [https://inv.nadeko.net/ video missing] | | {{{2|}}}{{{1|}}}{{{@|}}} = [https://inv.nadeko.net/ video missing] | ||
| {{{2|}}}{{{@|}}} = [https://inv.nadeko.net/watch?v={{{1|u31qwQUeGuM}}}] | | {{{2|}}}{{{@|}}} = [https://inv.nadeko.net/watch?v={{{1|u31qwQUeGuM}}}{{#if:{{{t|}}}|&t{{=}}{{{t|}}}}}] | ||
| {{{@|}}} = [https://inv.nadeko.net/watch?v={{{1|u31qwQUeGuM}}} {{{2|video title}}}] | | {{{@|}}} = [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/channel/{{{@|UC6-1WMbZBIMrCGUBr64-3NQ}}} {{{1|}}}] | | {{{2|}}} = [https://inv.nadeko.net/channel/{{{@|UC6-1WMbZBIMrCGUBr64-3NQ}}} {{{1|}}}] | ||
Revision as of 04:42, 1 December 2025
Demo
Description
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.