Difference between revisions of "Template:Yt.be/doc"
From Roll20 Wiki
Andreas J. (Talk | contribs) (Created page with "{{documentation subpage|override=yt.be/doc|Yt.be}} Template for linking to youtube pages/videos/profiles, shows the YT logo next to the link so it's clear it goes outside the...") |
Andreas J. (Talk | contribs) m |
||
Line 1: | Line 1: | ||
{{documentation subpage|override=yt.be/doc|Yt.be}} | {{documentation subpage|override=yt.be/doc|Yt.be}} | ||
− | Template for linking to youtube pages/videos/profiles, shows the YT logo next to the link so it's clear it goes outside the wiki, and to YT | + | Template for linking to youtube pages/videos/profiles, shows the YT logo next to the link so it's clear it goes outside the wiki, and to YT specifically. The template provides the <code>youtu.be/</code> part of the url, so you need to copy the rest of the url after it. Leave a space after the url and then write the title(or similar), before closing the template. If you give it no name, the link will say <code>[1]</code> instead. |
This template is for easy use with any <code>youtu.be/</code> links,where you just copy-paste the string of characters after the template. | This template is for easy use with any <code>youtu.be/</code> links,where you just copy-paste the string of characters after the template. | ||
Line 7: | Line 7: | ||
{{Ex}} | {{Ex}} | ||
− | <code><nowiki>https://youtu.be/xKXpKIiB5WM</nowiki></code> will become {{yt.be|xKXpKIiB5WM}} | + | <code><nowiki>https://youtu.be/xKXpKIiB5WM</nowiki></code> will become {{yt.be|xKXpKIiB5WM Roll20 Crash Course - Rolling Dice}} |
<pre {{pre}}> | <pre {{pre}}> | ||
− | <code><nowiki>https://youtu.be/xKXpKIiB5WM</nowiki></code> will become {{yt.be|xKXpKIiB5WM}} | + | <code><nowiki>https://youtu.be/xKXpKIiB5WM</nowiki></code> will become {{yt.be|xKXpKIiB5WM Roll20 Crash Course - Rolling Dice}} |
</pre> | </pre> | ||
For youtube links using the full <code>youtube.com/</code> format, use the other yt template, {{tlx|yt}} instead. playlists and and some other yt pages dont generate a shortlink, so {{tlx|yt.be}} won't work for all links. | For youtube links using the full <code>youtube.com/</code> format, use the other yt template, {{tlx|yt}} instead. playlists and and some other yt pages dont generate a shortlink, so {{tlx|yt.be}} won't work for all links. |
Revision as of 12:05, 2 February 2021
This is a documentation subpage for Yt.be. It contains usage information, categories and other content that is not part of the original template page. |
Template for linking to youtube pages/videos/profiles, shows the YT logo next to the link so it's clear it goes outside the wiki, and to YT specifically. The template provides the youtu.be/
part of the url, so you need to copy the rest of the url after it. Leave a space after the url and then write the title(or similar), before closing the template. If you give it no name, the link will say [1]
instead.
This template is for easy use with any youtu.be/
links,where you just copy-paste the string of characters after the template.
Example:
https://youtu.be/xKXpKIiB5WM
will become Roll20 Crash Course - Rolling Dice
<code>https://youtu.be/xKXpKIiB5WM</code> will become {{yt.be|xKXpKIiB5WM Roll20 Crash Course - Rolling Dice}}
For youtube links using the full youtube.com/
format, use the other yt template, {{yt}}
instead. playlists and and some other yt pages dont generate a shortlink, so {{yt.be}}
won't work for all links.