Difference between revisions of "Template:YoutubeLink"

From Moegirlpedia
Jump to: navigation, search
(Created page with "<includeonly>File:Logo youtube.png|{{{2|32px}}}|link={{#if:{{{1|}}}|https://www.youtube.com/channel/{{{1|}}}|}}{{#if:{{{user|}}}|https://www.youtube.com/user/{{{user|}}}|}}{...")
 
 
Line 1: Line 1:
<includeonly>[[File:Logo youtube.png|{{{2|32px}}}|link={{#if:{{{1|}}}|https://www.youtube.com/channel/{{{1|}}}|}}{{#if:{{{user|}}}|https://www.youtube.com/user/{{{user|}}}|}}{{{3|}}}]]</includeonly><noinclude>[[CAT:External link templates]]{{doc}}<?noinclude>
+
<includeonly>[[File:Logo youtube.png|{{{2|32px}}}|link={{#if:{{{1|}}}|https://www.youtube.com/channel/{{{1|}}}|}}{{#if:{{{user|}}}|https://www.youtube.com/user/{{{user|}}}|}}{{{3|}}}]]</includeonly><noinclude>[[CAT:External link templates]]{{doc}}</noinclude>

Latest revision as of 01:02, 19 September 2023

Template-info.svg Template Documentation  [View] [Edit] [History] [Refresh]

Introduction

This template is used to quickly generate a logo that links to a specific YouTube account. It is mostly applied on character infoboxes, mostly VTubers.

Parameters

{{YoutubeLink
|24-character ID
|Logo size, default is 32px
|Parameter for manually filling in other image, use {{!}} instead of the pipe character
}}

Usage

  • channel/24-character ID

{{YoutubeLink}}Logo youtube.png (blank, only generates the default-sized logo)

{{YouTubeLink|UC4YaOt1yT-ZeyB0OmxHgo1A}}Logo youtube.png (has Kizuna Ai's 24-character ID)

{{YoutubeLink|UCLhUvJ_wO9hOvv_yYENu4fQ|60px|{{!}}left{{!}}thumb{{!}}Dennou Shojo Siro}}
Dennou Shojo Siro
(Has Dennou Shojo Siro's 24-character ID, logo size is changed to 60px, other image parameters are added. For emergency use, it is generally not recommended to fill in the template parameters in position 3 unless specifically required)