YTLink: Difference between revisions
From Rabbi Blog
mNo edit summary |
mNo edit summary |
||
| Line 8: | Line 8: | ||
* '''bracket''' (optional): Set to 1 to wrap the text in square brackets. | * '''bracket''' (optional): Set to 1 to wrap the text in square brackets. | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude><includeonly>[https://www.youtube.com/watch?v={{{1|{{{id}}}}}}{{#if: {{{3|{{{time|}}}}}} | &t={{{3|{{{time}}}}}} }} {{#if: {{{4|{{{bracket|}}}}}} | [ | }}{{{2|{{{text}}}}}}{{#if: {{{4|{{{bracket|}}}}}} | ]}}]</includeonly> | </noinclude><includeonly>[https://www.youtube.com/watch?v={{{1|{{{id}}}}}}{{#if: {{{3|{{{time|}}}}}} | &t={{{3|{{{time}}}}}} }} {{#if: {{{4|{{{bracket|}}}}}} | [ | }}{{{2|{{{text}}}}}}{{#if: {{{4|{{{bracket|}}}}}} | <nowiki>]</nowiki> }}]</includeonly> | ||
Latest revision as of 10:40, 6 May 2026
Usage
- id: The string after "v=" in the URL.
- text: The clickable text.
- time (optional): The timecode (e.g., 1m30s or 90).
- bracket (optional): Set to 1 to wrap the text in square brackets.