Template:Ytlink: Difference between revisions
More actions
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly><span class="plainlinks"> [https://www.youtube.com/{{{1}}} <span style="color: #ff0000;"> {{{2|YOUTUBE}}}] | <includeonly><span class="plainlinks" style="white-space: nowrap"> [https://www.youtube.com/{{{1}}} <span style="color: #ff0000;"> {{{2|YOUTUBE}}}]</span>{{#if: {{{3|}}}|{{{3}}}}} [[File:Youtube external link.png|x14px|alt=YouTube]]</span></includeonly><noinclude> | ||
{{documentation}}</noinclude> | {{documentation}}</noinclude> | ||
Revision as of 21:43, 30 September 2024
Useage
Used to give a visually distinguishable reference to an external link to a YouTube video.
Example
Look at this {{ytlink|watch?v{{=}}YX0YIgv-nMk|cool Destiny video}} of him being a blob!
gives you:
Look at this cool Destiny video
of him being a blob!
Theoretically could be used to link to a channel, like {{ytlink|@Destiny|Destiny}} or {{ytlink|@LastNightDestiny|Last Night on Destiny|,}} and has the ability to add punctuation marks!
gives you
Theoretically could be used to link to a channel, like Destiny
or Last Night on Destiny,
and has the ability to add punctuation marks!
Parameters
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| 1 | 1 | The YouTube video ID. Only include everything past the "https://www.youtube.com/" You will need to use the {{=}} magic word template for any = signs within the link due to template limitations.
| URL | required |
| 2 | 2 | The name that the link will be masked with. Will default to "YOUTUBE" if no value is entered.
| Unknown | suggested |