:Template:YouTube
[https://www.youtube.com/{{#if:{{{channel|{{{c|}}}}}}
|channel/{{{channel|{{{c|}}}}}} {{#if:{{{title|{{{1|}}}}}}|{{delink|
|{{#if:{{{handle|{{{h|}}}}}}
|@{{{handle|{{{h|}}}}}} {{#if:{{{title|{{{1|}}}}}}|{{delink|
|{{#if:{{{user|{{{u|}}}}}}
|user/{{{user|{{{u|}}}}}} {{#if:{{{title|{{{1|}}}}}}|{{delink|
|{{#if:{{{custom|}}}
|c/{{{custom}}} {{#if:{{{title|{{{1|}}}}}}|{{delink|
|{{#if:{{{show|{{{s|}}}}}}
|show/{{{show|{{{s|}}}}}} {{#if:{{{title|{{{1|}}}}}}|{{delink|
|{{#if:{{{playlist|{{{p|}}}}}}
|playlist?list={{{playlist|{{{p|}}}}}} {{#if:{{{title|{{{1|}}}}}}|{{delink|
|{{#if:{{{id|{{{1
|watch?v={{{id|{{Trim|{{{1|}}}}}}}}{{#if:{{{time|{{{t|}}}}}}|&t={{{time|{{{t|}}}}}}}} {{#if:{{{title|}}}|{{replace|{{delink|
|{{error|Error:No page id specified}}] on {{#ifeq:{{{link}}}|no|YouTube|YouTube}}{{Namespace detect |talk=|wikipedia=|help=|template=|module= |other=Category:Articles using YouTube with invalid parameters }}
}}
}}
}}
}}
}}
}}
}}{{#ifexpr:{{#expr:
{{#if:{{{channel|{{{c|}}}}}}|1|0}}+
{{#if:{{{handle|{{{h|}}}}}}|1|0}}+
{{#if:{{{user|{{{u|}}}}}}|1|0}}+
{{#if:{{{custom|}}}|1|0}}+
{{#if:{{{show|{{{s|}}}}}}|1|0}}+
{{#if:{{{playlist|{{{p|}}}}}}|1|0}}+
{{#if:{{{id|}}}|1|0}}+
{{#if:{{{2|}}}|1|0}}+
{{#if:{{{title|}}}|{{#if:{{{1|{{{2|}}}}}}|1|0}}|0}}
}}>1
|{{Namespace detect
|talk=|wikipedia=|help=|template=|module=
|other=Category:Articles using YouTube with invalid parameters
}}
}}{{#if:{{{channel|{{{c|}}}}}}{{{handle|{{{h|}}}}}}{{{user|{{{u|}}}}}}{{{custom|}}}
||{{#ifeq:{{{suffix|+}}}|{{{suffix|-}}}|{{Namespace detect
|talk=|wikipedia=|help=|template=|module=
|other=Category:Articles using YouTube with invalid parameters
}}
}}
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|_VALUE_{{PAGENAME}}}}|preview=Page using Template:YouTube with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | c | channel | custom | h | handle | id | link | p | playlist | s | show | suffix | t | time | title | u | user }}