Template:YouTube/doc: Difference between revisions
Content added Content deleted
Therealtahu (talk | contribs) (Added instructions on how to use additional parameters with youtube links.) |
Therealtahu (talk | contribs) m (Fix a small error involving custom link names.) |
||
Line 50: | Line 50: | ||
These are not officially supported by the template at the moment, but you can add additional parameters such as playlist and timeskip. |
These are not officially supported by the template at the moment, but you can add additional parameters such as playlist and timeskip. |
||
Instead of putting the video link as the second parameter, add 1= before the video id to force everything after it into the URL. This is because the parameters cannot normally accept the '=' sign without a workaround. |
Instead of putting the video link as the second parameter, add "1=" before the video id to force everything after it into the URL. This is because the parameters cannot normally accept the '=' sign without a workaround. |
||
If you use this method with a custom link name, you also need to add "2=" before the name. |
|||
<pre> |
<pre> |
||
{{YouTube|1=RrsGNMMghKM&t=60|Shiny Smily Story}} |
{{YouTube|1=RrsGNMMghKM&t=60|2=Shiny Smily Story}} |
||
</pre> |
</pre> |
||
'''Produces:''' |
'''Produces:''' |
||
{{YouTube|1=RrsGNMMghKM& |
{{YouTube|1=RrsGNMMghKM&t=60|2=Shiny Smily Story}} |
||
== Notes == |
== Notes == |
||
* Does not work for timeskip links. |
* Does not work for timeskip links. |