Help:YouTube: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 5: Line 5:
|}
|}


To include videos, you must take the ID of the video and put it in between <nowiki><youtube></nowiki> tags. So for [http://www.youtube.com/watch?v=qA0vLrwuQHE this E3 2007 demo of ''Super Mario Galaxy''], the ID is <tt>G2Rpurw8WG0&annotation_id=annotation_600949&feature=iv</tt>. Thus the code is
To include videos, you must take the ID of the video; which can be found in the URL, and put it in between <nowiki><youtube></nowiki> tags. So for [http://www.youtube.com/watch?v=qA0vLrwuQHE this E3 2007 demo of ''Super Mario Galaxy''], the ID is <tt>G2Rpurw8WG0&annotation_id=annotation_600949&feature=iv</tt>. Thus the code is


<pre><youtube>G2Rpurw8WG0</youtube></pre>
<pre><youtube>G2Rpurw8WG0</youtube></pre>

Revision as of 02:09, January 5, 2012

Here on this wiki, we have the Youtube extension installed. You may take any video from Youtube and put it on the wiki to play. However, there is one rule:

YOUTUBE VIDEOS SHOULD ONLY BE EMBEDDED IN YOUR USER PAGE, NOT ON ANY ARTICLE, TEMPLATE, OR ANY OTHER MAINSPACE. Certain YouTube videos can be used as reference links in the reference section of articles, but do not embed the video in the article itself.

To include videos, you must take the ID of the video; which can be found in the URL, and put it in between <youtube> tags. So for this E3 2007 demo of Super Mario Galaxy, the ID is G2Rpurw8WG0&annotation_id=annotation_600949&feature=iv. Thus the code is

<youtube>G2Rpurw8WG0</youtube>

and produces

<youtube>qA0vLrwuQHE</youtube>

This case uses <center> before <youtube>.