Template:YouTube/doc: Difference between revisions
Content added Content deleted
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
<pre> |
<pre> |
||
{{YouTube|Link (after ?v=, defaults to Shiny Smily Story)|Link Name (optional, defaults to "YouTube")}} |
{{YouTube|Link (after ?v=, defaults to "Shiny Smily Story")|Link Name (optional, defaults to "YouTube")|Mode=Icon, removed by default|Size (optional, defaults to "16x16px")}} |
||
</pre> |
</pre> |
||
Line 22: | Line 22: | ||
{{YouTube|RrsGNMMghKM|Shiny Smily Story}} |
{{YouTube|RrsGNMMghKM|Shiny Smily Story}} |
||
<pre> |
|||
{{YouTube|RrsGNMMghKM|Shiny Smily Story|Mode=Icon}} |
|||
</pre> |
|||
'''Produces:''' |
|||
{{YouTube|RrsGNMMghKM|Shiny Smily Story|Mode=Icon}} |
|||
<pre> |
|||
{{YouTube|RrsGNMMghKM|Shiny Smily Story|Mode=Icon|Size=40x40px}} |
|||
</pre> |
|||
'''Produces:''' |
|||
{{YouTube|RrsGNMMghKM|Shiny Smily Story|Mode=Icon|Size=40x40px}} |
|||
== Notes == |
== Notes == |
Revision as of 00:04, 4 June 2020
Documentation
Removing the optional parameters will cause those sections to not appear in the page.
{{YouTube|Link (after ?v=, defaults to "Shiny Smily Story")|Link Name (optional, defaults to "YouTube")|Mode=Icon, removed by default|Size (optional, defaults to "16x16px")}}
Examples
{{YouTube|RrsGNMMghKM}}
Produces:
{{YouTube|RrsGNMMghKM|Shiny Smily Story}}
Produces:
{{YouTube|RrsGNMMghKM|Shiny Smily Story|Mode=Icon}}
Produces:
{{YouTube|RrsGNMMghKM|Shiny Smily Story|Mode=Icon|Size=40x40px}}
Produces:
Notes
- Does not work for timeskip links.