<translate> {{<tvar name=1>PLURAL:1</tvar>|shortcut|shortcuts}}:</translate> {{ytl}}

Template:YouTube: Difference between revisions

From The Goon Show Depository

m (1 revision imported)
m (1 revision imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[https://www.youtube.com/{{#if:{{{channel|{{{c|}}}}}}
[https://www.youtube.com/{{#if:{{{channel|{{{c|}}}}}}
  |channel/{{{channel|{{{c|}}}}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{delink|<nowiki/>{{{title|{{{1}}}}}}}}</span>|{{PAGENAMEBASE}}}}{{{suffix|'s}}} channel]
  |channel/{{{channel|{{{c|}}}}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{delink|<nowiki />{{{title|{{{1}}}}}}}}</span>|{{PAGENAMEBASE}}}}{{{suffix|'s}}} channel] on {{#ifeq:{{{link}}}|no|YouTube|[[YouTube channel (identifier)|YouTube]]}}
  |{{#if:{{{handle|{{{h|}}}}}}
  |{{#if:{{{handle|{{{h|}}}}}}
   |@{{{handle|{{{h|}}}}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{delink|<nowiki/>{{{title|{{{1}}}}}}}}</span>|{{PAGENAMEBASE}}}}{{{suffix|'s}}} channel]
   |@{{{handle|{{{h|}}}}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{delink|<nowiki />{{{title|{{{1}}}}}}}}</span>|{{PAGENAMEBASE}}}}{{{suffix|'s}}} channel] on {{#ifeq:{{{link}}}|no|YouTube|[[YouTube handle (identifier)|YouTube]]}}
   |{{#if:{{{user|{{{u|}}}}}}
   |{{#if:{{{user|{{{u|}}}}}}
   |user/{{{user|{{{u|}}}}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{delink|<nowiki/>{{{title|{{{1}}}}}}}}</span>|{{PAGENAMEBASE}}}}{{{suffix|'s}}} channel]
   |user/{{{user|{{{u|}}}}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{delink|<nowiki />{{{title|{{{1}}}}}}}}</span>|{{PAGENAMEBASE}}}}{{{suffix|'s}}} channel] on {{#ifeq:{{{link}}}|no|YouTube|[[YouTube user (identifier)|YouTube]]}}
   |{{#if:{{{custom|}}}
   |{{#if:{{{custom|}}}
     |c/{{{custom}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{delink|<nowiki/>{{{title|{{{1}}}}}}}}</span>|{{PAGENAMEBASE}}}}{{{suffix|'s}}} channel]
     |c/{{{custom}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{delink|<nowiki />{{{title|{{{1}}}}}}}}</span>|{{PAGENAMEBASE}}}}{{{suffix|'s}}} channel] on {{#ifeq:{{{link}}}|no|YouTube|[[YouTube custom (identifier)|YouTube]]}}
   |{{#if:{{{show|{{{s|}}}}}}
   |{{#if:{{{show|{{{s|}}}}}}
     |show/{{{show|{{{s|}}}}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{delink|<nowiki/>{{{title|{{{1}}}}}}}}</span>|''{{PAGENAMEBASE}}''}}] show
     |show/{{{show|{{{s|}}}}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{delink|<nowiki />{{{title|{{{1}}}}}}}}</span>|''{{PAGENAMEBASE}}''}}] show on {{#ifeq:{{{link}}}|no|YouTube|[[YouTube show (identifier)|YouTube]]}}
     |{{#if:{{{playlist|{{{p|}}}}}}
     |{{#if:{{{playlist|{{{p|}}}}}}
     |playlist?list={{{playlist|{{{p|}}}}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{delink|<nowiki/>{{{title|{{{1}}}}}}}}</span>|{{PAGENAMEBASE}}}}] playlist
     |playlist?list={{{playlist|{{{p|}}}}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{delink|<nowiki />{{{title|{{{1}}}}}}}}</span>|{{PAGENAMEBASE}}}}] playlist on {{#ifeq:{{{link}}}|no|YouTube|[[YouTube playlist (identifier)|YouTube]]}}
     |{{#if:{{{id|{{{1<includeonly>|</includeonly>}}}}}}
     |{{#if:{{{id|{{{1<includeonly>|</includeonly>}}}}}}
       |watch?v={{{id|{{Trim|{{{1|}}}}}}}}{{#if:{{{time|{{{t|}}}}}}|&t={{{time|{{{t|}}}}}}}} {{#if:{{{title|}}}|<span class="plainlinks">{{replace|{{delink|<nowiki/>{{{title}}}}}|]|&#93;}}</span>|{{#if:{{{id|}}}|{{#if:{{{1|}}}|<span class="plainlinks">{{replace|{{delink|<nowiki/>{{{1}}}}}|]|&#93;}}</span>|Video}}|{{#if:{{{2|}}}|<span class="plainlinks">{{replace|{{delink|<nowiki/>{{{2}}}}}|]|&#93;}}</span>|Video}}}}}}]
       |watch?v={{{id|{{Trim|{{{1|}}}}}}}}{{#if:{{{time|{{{t|}}}}}}|&t={{{time|{{{t|}}}}}}}} {{#if:{{{title|}}}|<span class="plainlinks">{{replace|{{delink|<nowiki />{{{title}}}}}|]|&#93;}}</span>|{{#if:{{{id|}}}|{{#if:{{{1|}}}|<span class="plainlinks">{{replace|{{delink|<nowiki />{{{1}}}}}|]|&#93;}}</span>|Video}}|{{#if:{{{2|}}}|<span class="plainlinks">{{replace|{{delink|<nowiki />{{{2}}}}}|]|&#93;}}</span>|Video}}}}}}] on {{#ifeq:{{{link}}}|no|YouTube|[[YouTube video (identifier)|YouTube]]}}
       |{{error|Error:No page id specified}}]{{Namespace detect |talk=|wikipedia=|help=|template=|module= |other=[[Category:Articles using YouTube with invalid parameters]] }}
       |{{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]] }}
       }}
       }}
     }}
     }}
Line 20: Line 20:
   }}
   }}
  }}
  }}
}} on {{#ifeq:{{{link}}}|no
|YouTube
|[[YouTube]]
}}{{#ifexpr:{{#expr:
}}{{#ifexpr:{{#expr:
   {{#if:{{{channel|{{{c|}}}}}}|1|0}}+
   {{#if:{{{channel|{{{c|}}}}}}|1|0}}+

Latest revision as of 13:49, 18 August 2024

Video on YouTube