Template:YouTube/doc: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 3:
<pre>
{{YouTube|Link (after ?v=, defaults to "Shiny Smily Story")|Link Name (optional, defaults to "YouTube")|Mode=Channel, Icon, or Channel Icon, removed by default|Size (optional, defaults to "16x16px")}}
</pre>
|
Revision as of 00:05, 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=Channel, Icon, or Channel 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.