Template:YT: Difference between revisions
From Inkipedia, the Splatoon wiki
Trig Jegman (talk | contribs) m (% these should all use pre and not link to a user's personal youtube. perhaps NoA instead?) |
Trig Jegman (talk | contribs) mNo edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude>[[File:Youtube icon.svg|{{{size|16px}}}|width={{{width|16px}}}|link={{{1|}}}|YouTube]]</onlyinclude> | <onlyinclude>[[File:Youtube icon.svg|{{{size|16px}}}|width={{{width|16px}}}|link={{{1|}}}|YouTube]]</onlyinclude><noinclude> | ||
== Syntax == | == Syntax == | ||
{{t|YT|link|size{{=}}|width{{=}}}} | {{t|YT|link|size{{=}}|width{{=}}}} | ||
{{clr}} | {{clr}} | ||
Displays a YouTube favicon. | Displays a YouTube favicon. The default size is 16px. | ||
== Examples == | == Examples == | ||
* | *<code>{<nowiki/>{YT}}</code> gives {{YT}} <br clear=all> | ||
[[Category:Favicon templates]] | *<code>{<nowiki/>{YT|https://<nowiki/>www.youtube.com/watch?v=YVNXf-DvO78|size=24px}}</code> gives {{YT|https://www.youtube.com/watch?v=YVNXf-DvO78|size=24px}}<br clear=all> | ||
*<code>{<nowiki/>{YT|https://<nowiki/>www.youtube.com/@NintendoAmerica}}</code> gives {{YT|https://www.youtube.com/@NintendoAmerica}}<br clear=all> | |||
*<code>{<nowiki/>{YT|Inkipedia:Social Media|size=50px}}</code> gives {{YT|Inkipedia:Social Media|size=50px}} | |||
[[Category:Favicon templates]]</noinclude> |
Revision as of 03:18, 25 June 2024
Syntax
{{YT|<link>|<size=>|<width=>}}
Displays a YouTube favicon. The default size is 16px.
Examples
{{YT}}
gives
{{YT|https://www.youtube.com/watch?v=YVNXf-DvO78|size=24px}}
gives