Help:Youtube
From Edge of Darkness Wiki
Youtube
m |
m |
||
| (2 intermediate revisions not shown) | |||
| Line 2: | Line 2: | ||
The basic code is "Youtube", with the inclusion of the video's ID. | The basic code is "Youtube", with the inclusion of the video's ID. | ||
| - | * You can find the ID of the video by going into the YouTube page of it. An example URL for a YouTube video might be <code><nowiki>http://www.youtube.com/watch?v=YozC8yFrZKI</nowiki></code> - the part after <code>v=</code> is the ID. | + | * You can find the ID of the video by going into the YouTube page of it. An example URL for a YouTube video might be<br /> <code><nowiki>http://www.youtube.com/watch?v=YozC8yFrZKI</nowiki></code> - the part after <code>v=</code> is the ID. |
* Example: <code><nowiki><youtube>lS6zZcY1RB0</youtube></nowiki></code> | * Example: <code><nowiki><youtube>lS6zZcY1RB0</youtube></nowiki></code> | ||
Which produces: | Which produces: | ||
| - | <youtube>lS6zZcY1RB0</youtube> | + | <div style="float: left;"><youtube>lS6zZcY1RB0</youtube></div> |
| - | {{clear | + | {{clear left}} |
More advanced usage is available through the usage of [[Template:Userbox]]. | More advanced usage is available through the usage of [[Template:Userbox]]. | ||
* Example: <code><nowiki>{{userbox|id=[[File:Music.jpg|75px]]|info=<youtube>lS6zZcY1RB0</youtube>}}</nowiki></code> | * Example: <code><nowiki>{{userbox|id=[[File:Music.jpg|75px]]|info=<youtube>lS6zZcY1RB0</youtube>}}</nowiki></code> | ||
Which produces: | Which produces: | ||
| - | {{userbox|id=[[File:Music.jpg|75px]]|info=<youtube>lS6zZcY1RB0</youtube>}} | + | <div style="float: left;">{{userbox|id=[[File:Music.jpg|75px]]|info=<youtube>lS6zZcY1RB0</youtube>}}</div>{{clear left}} |
| - | {{Help}} | + | {{Help}}[[Category:Help|{{PAGENAME}}]] |
Latest revision as of 15:12, 17 March 2016
This template is for embedding Youtube videos.
The basic code is "Youtube", with the inclusion of the video's ID.
- You can find the ID of the video by going into the YouTube page of it. An example URL for a YouTube video might be
http://www.youtube.com/watch?v=YozC8yFrZKI- the part afterv=is the ID. - Example:
<youtube>lS6zZcY1RB0</youtube>
Which produces:
More advanced usage is available through the usage of Template:Userbox.
- Example:
{{userbox|id=[[File:Music.jpg|75px]]|info=<youtube>lS6zZcY1RB0</youtube>}}
Which produces:
| ||||||||||||||||||||