Template:Ytwatch: Difference between revisions
More actions
Created page with "<includeonly>{{ytlink|watch?v{{=}}{{{1}}}}}</includeonly><noinclude> {{documentation}}</noinclude>" |
mNo edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly>{{ytlink|watch?v{{=}}{{{1}}}}}</includeonly><noinclude> | <includeonly>{{ytlink|watch?v{{=}}{{{1}}}|{{{2}}}|{{#if: {{{3|}}}|{{{3}}}}}}}</includeonly><noinclude> | ||
{{documentation}}</noinclude> | {{documentation}} | ||
[[Category:Template]] | |||
[[Category:In-line template]] | |||
</noinclude> | |||
Latest revision as of 19:38, 14 November 2024
Useage
Used for an even easier way to link a YouTube video than Template:ytlink. Will not work with anything other than a YouTube video.
Example
In a past video, {{ytwatch|YX0YIgv-nMk|''Why be a king when you can be a Blob?''|,}} Destiny admits to having blob energy.
gives you:
In a past video, Why be a king when you can be a Blob?,
Destiny admits to having blob energy.
Parameters
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| video ID | 1 | The YouTube video ID. Only include everything past the "https://www.youtube.com/watch?=" You will need to use the {{=}} magic word template for any = signs within the link due to wiki template limitations.
| URL | required |
| mask | 2 | The name that the link will be masked with. Will default to "YOUTUBE" if no value is entered.
| Unknown | suggested |
| punctuation | 3 | Meant to add a punctuation character before the YouTube logo to give a smoother look to the link. Larger characters like em dashes (—) should generally be avoided. | Content | optional |