Difference between revisions of "Template:YouTube"
Jump to navigation
Jump to search
(Mukund-pondkule-6a11@uni-paderborn.de moved page Template to Template:Manual of Style) Tag: New redirect |
|||
| (12 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | # | + | [https://www.youtube.com/{{#if:{{{user|{{{u|}}}}}} |
| + | |user/{{{user|{{{u|}}}}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{delink|<nowiki/>{{{title|{{{1}}}}}}}}</span>|{{PAGENAMEBASE}}}}{{{suffix|'s}}} channel] | ||
| + | |{{#if:{{{channel|{{{c|}}}}}} | ||
| + | |channel/{{{channel|{{{c|}}}}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{delink|<nowiki/>{{{title|{{{1}}}}}}}}</span>|{{PAGENAMEBASE}}}}{{{suffix|'s}}} channel] | ||
| + | |{{#if:{{{show|{{{s|}}}}}} | ||
| + | |show/{{{show|{{{s|}}}}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{delink|<nowiki/>{{{title|{{{1}}}}}}}}</span>|''{{PAGENAMEBASE}}''}}] show | ||
| + | |{{#if:{{{playlist|{{{p|}}}}}} | ||
| + | |playlist?list={{{playlist|{{{p|}}}}}} {{#if:{{{title|{{{1|}}}}}}|<span class="plainlinks">{{delink|<nowiki/>{{{title|{{{1}}}}}}}}</span>|{{PAGENAMEBASE}}}}] playlist | ||
| + | |{{#if:{{{id|{{{1<includeonly>|</includeonly>}}}}}} | ||
| + | |watch?v={{Trim|{{{id|{{{1|}}}}}}}}{{#if:{{{time|{{{t|}}}}}}|&t={{Trim|{{{time|{{{t|}}}}}}}}|}} {{#if:{{{title|}}}|<span class="plainlinks">{{replace|{{delink|<nowiki/>{{{title}}}}}|]|]}}</span>|{{#if:{{{id|}}}|{{#if:{{{1|}}}|<span class="plainlinks">{{replace|{{delink|<nowiki/>{{{1}}}}}|]|]}}</span>|Video}}|{{#if:{{{2|}}}|<span class="plainlinks">{{replace|{{delink|<nowiki/>{{{2}}}}}|]|]}}</span>|Video}}}}}}] | ||
| + | | {{error|Error:No page id specified}}]{{Namespace detect | ||
| + | |talk=|wikipedia=|help=|template=|module= | ||
| + | |other=[[Category:Articles using YouTube with invalid parameters]] | ||
| + | }} | ||
| + | }} | ||
| + | }} | ||
| + | }} | ||
| + | }} | ||
| + | }} {{#ifeq:{{{link}}} | ||
| + | |[[YouTube]] | ||
| + | }}{{#ifexpr:{{#expr: | ||
| + | {{#if:{{{user|}}}|1|0}}+ | ||
| + | {{#if:{{{u|}}}|1|0}}+ | ||
| + | {{#if:{{{channel|}}}|1|0}}+ | ||
| + | {{#if:{{{c|}}}|1|0}}+ | ||
| + | {{#if:{{{show|}}}|1|0}}+ | ||
| + | {{#if:{{{s|}}}|1|0}}+ | ||
| + | {{#if:{{{playlist|}}}|1|0}}+ | ||
| + | {{#if:{{{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:{{{user|}}}{{{u|}}}{{{channel|}}}{{{c|}}} | ||
| + | ||{{#ifeq:{{{suffix|α}}}|α | ||
| + | ||{{Namespace detect | ||
| + | |talk=|wikipedia=|help=|template=|module= | ||
| + | |other=[[Category:Articles using YouTube with invalid parameters]] | ||
| + | }} | ||
| + | }} | ||
| + | }}<!-- | ||