Template:YouTube: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
m (SOTO moved page Template:Youtube to Template:YouTube without leaving a redirect) |
No edit summary Tag: sourceedit |
||
Line 1: | Line 1: | ||
<includeonly>* [https://www.youtube.com/{{#if:{{{ | <includeonly>* [https://www.youtube.com/{{#if:{{{channel|}}}|channel/{{{channel}}}|{{#if:{{{user|}}}|user/{{{user}}}}}}} Official YouTube channel] {{#set:youtube=//youtube.com/{{#if:{{{channel|}}}|channel/{{{channel}}}|{{#if:{{{user|}}}|user/{{{user}}}}}}}}}</includeonly><noinclude>[[Category:External links templates|{{PAGENAME}}]]{{documentation}}</noinclude> |
Revision as of 20:47, 20 November 2016
Instructions for {{YouTube}}
{{YouTube}} is a template that allows you to put a link to a YouTube channel in the external links section of articles.
If the URL contains "channel", just type:
{{YouTube|channel=string of letters}}If it contains "user", type instead:
{{YouTube|user=name of channel}}
It automatically includes a bullet, producing a link that looks like this: