Template:YouTube/doc: Difference between revisions

From Hololive Fan Wiki
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")|Mode=Channel, Icon, or Channel Icon, removed by default|Size (optional, defaults to "16x16px")}}
{{YouTube|Link (after ?v= or /channel/, defaults to "Shiny Smily Story" or Hololive Channel)|Link Name (optional, defaults to "YouTube")|Mode=Channel, Icon, or Channel Icon, removed by default|Size (optional, defaults to "16x16px")}}
</pre>
</pre>


Line 38: Line 38:


{{YouTube|RrsGNMMghKM|Shiny Smily Story|Mode=Icon|Size=40x40px}}
{{YouTube|RrsGNMMghKM|Shiny Smily Story|Mode=Icon|Size=40x40px}}

<pre>
{{YouTube|UCJFZiqLMntJufDCHc6bQixg|hololive ホロライブ - VTuber Group|Mode=Channel}}
</pre>

'''Produces:'''

{{YouTube|UCJFZiqLMntJufDCHc6bQixg|hololive ホロライブ - VTuber Group|Mode=Channel}}


== Notes ==
== Notes ==

Revision as of 00:10, 4 June 2020

Documentation

Removing the optional parameters will cause those sections to not appear in the page.

{{YouTube|Link (after ?v= or /channel/, defaults to "Shiny Smily Story" or Hololive Channel)|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 YouTube

{{YouTube|RrsGNMMghKM|Shiny Smily Story}}

Produces:

Shiny Smily Story Shiny Smily Story

{{YouTube|RrsGNMMghKM|Shiny Smily Story|Mode=Icon}}

Produces:

Shiny Smily Story

{{YouTube|RrsGNMMghKM|Shiny Smily Story|Mode=Icon|Size=40x40px}}

Produces:

Shiny Smily Story

{{YouTube|UCJFZiqLMntJufDCHc6bQixg|hololive ホロライブ - VTuber Group|Mode=Channel}}

Produces:

hololive ホロライブ - VTuber Group hololive ホロライブ - VTuber Group

Notes

  • Does not work for timeskip links.