Template:Ytv: Difference between revisions

From Custom Pinball Index
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


Usage:
Usage:
<nowiki>{{ytv|code|(none,top,middle,bottom,left,right)|caption)}}</nowiki>
<nowiki>{{ytv|code|(none,top,middle,bottom,left,'''right''')|caption)}}</nowiki>


When you see a YouTube URL like this:
When you see a YouTube URL like this:

Revision as of 16:24, 4 December 2022


This template is used for linking YouTube videos

Usage: {{ytv|code|(none,top,middle,bottom,left,'''right''')|caption)}}

When you see a YouTube URL like this:

https://www.youtube.com/watch?v=-tPePpMxJaA

The bold part is the "code" (parameter one), the second (optional) parameter is how to align the video.