Difference between revisions of "Template:YouTube"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
|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 | ||
|{{#if:{{{id|{{{1<includeonly>|</includeonly>}}}}}} | |{{#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>}}|{{#if:{{{2|}}}|<span class="plainlinks">{{replace|{{delink|<nowiki/>{{{2}}}}}|]|]}}</span> | + | |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>}}|{{#if:{{{2|}}}|<span class="plainlinks">{{replace|{{delink|<nowiki/>{{{2}}}}}|]|]}}</span>}}}}}}] |
| {{error|Error:No page id specified}}]{{Namespace detect | | {{error|Error:No page id specified}}]{{Namespace detect | ||
|talk=|wikipedia=|help=|template=|module= | |talk=|wikipedia=|help=|template=|module= |