Difference between revisions of "Template:YouTube"

From HPC Wiki
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}}}}}|]|&#93;}}</span>|{{#if:{{{id|}}}|{{#if:{{{1|}}}|<span class="plainlinks">{{replace|{{delink|<nowiki/>{{{1}}}}}|]|&#93;}}</span>}}|{{#if:{{{2|}}}|<span class="plainlinks">{{replace|{{delink|<nowiki/>{{{2}}}}}|]|&#93;}}</span>|Video}}}}}}]
+
     |watch?v={{Trim|{{{id|{{{1|}}}}}}}}{{#if:{{{time|{{{t|}}}}}}|&t={{Trim|{{{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>}}|{{#if:{{{2|}}}|<span class="plainlinks">{{replace|{{delink|<nowiki/>{{{2}}}}}|]|&#93;}}</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=

Revision as of 12:30, 12 October 2020