Character Vault
Any Concept / Any System
Compendium
Your System Come To Life
Roll20 for Android
Streamlined for your Tablet
Roll20 for iPad
Streamlined for your Tablet

Personal tools

Difference between revisions of "Template:Yt.be"

From Roll20 Wiki

Jump to: navigation, search
(Created page with "<includeonly><div class="plainlinks" style="display:inline-block;">[https://youtu.be/{{{1}}}]</div> <sup>link=https://www.youtube.com</su...")
 
m
 
Line 1: Line 1:
<includeonly><div class="plainlinks" style="display:inline-block;">[https://youtu.be/{{{1}}}]</div> <sup>[[File:Youtube-logo.png|middle|13px|link=https://www.youtube.com]]</sup></includeonly><noinclude>[[Category:Navigation Templates]]{{documentation}}</noinclude>
+
<includeonly><div class="plainlinks" style="display:inline-block;">[https://youtu.be/{{{1}}}]</div> <sup>[[File:Youtube-logo.png|middle|13px|link=https://www.youtube.com]]</sup></includeonly><noinclude>[[Category:External Link Templates]]{{documentation}}</noinclude>

Latest revision as of 11:55, 26 September 2021

[view] [edit] [history] [purge] Documentation icon Template documentation

Related templates: {{yt}}, {{yt.playlist}}

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 Youtube-logo.png
<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.