Jump to content

Template:YouTubeURL: Difference between revisions

From LithoGraphica
Reversedragon (talk | contribs)
copy from Template:YouTube
 
Reversedragon (talk | contribs)
list parameter
 
Line 1: Line 1:
<includeonly><onlyinclude>{{#switch: {{{ParameterThatShouldAlwaysBeEmpty|}}} | {{{2|}}}{{{1|}}}{{{@|}}} = https://inv.nadeko.net/ | {{{@|}}} = https://inv.nadeko.net/watch?v={{{1|u31qwQUeGuM}}}{{#if:{{{t|}}}|&t{{=}}{{{t|}}}}} | {{{2|}}} = https://inv.nadeko.net/channel/{{{@|UC6-1WMbZBIMrCGUBr64-3NQ}}} }}</onlyinclude></includeonly><!--
<includeonly><onlyinclude>{{#switch: {{{ParameterThatShouldAlwaysBeEmpty|}}} | {{{2|}}}{{{1|}}}{{{@|}}} = https://inv.nadeko.net/ | {{{@|}}} = https://inv.nadeko.net/watch?v={{{1|u31qwQUeGuM}}}{{#if:{{{t|}}}|&t{{=}}{{{t|}}}}}{{{list|}}}|&list{{=}}{{{list|}}}}} | {{{2|}}} = https://inv.nadeko.net/channel/{{{@|UC6-1WMbZBIMrCGUBr64-3NQ}}} }}</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".]
Line 7: Line 7:
   https://inv.nadeko.net/
   https://inv.nadeko.net/
| {{{@|}}} =
| {{{@|}}} =
   https://inv.nadeko.net/watch?v={{{1|u31qwQUeGuM}}}{{#if:{{{t|}}}|&t{{=}}{{{t|}}}}}
   https://inv.nadeko.net/watch?v={{{1|u31qwQUeGuM}}}{{#if:{{{t|}}}|&t{{=}}{{{t|}}}}}{{#if:{{{list|}}}|&list{{=}}{{{list|}}}}}
| {{{2|}}} =
| {{{2|}}} =
   https://inv.nadeko.net/channel/{{{@|UC6-1WMbZBIMrCGUBr64-3NQ}}}
   https://inv.nadeko.net/channel/{{{@|UC6-1WMbZBIMrCGUBr64-3NQ}}}

Latest revision as of 02:48, 5 October 2026

Demo

Example video

Example video at 5 seconds

Example channel

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.

It template uses invidious as its video interface.