Jump to content

Template:YouTube Preview

From SchoolIdolWiki
Revision as of 04:12, 29 May 2025 by Cherrykano (talk | contribs) (Created page with "<div class="cat-{{#switch:{{{Series|}}}|sunshine=llss|nijigasaki=lln|superstar=llst|hasunosora=llll|sim=llsim|gny=gny|bluebird=llbb|ll}}" style="margin: 8px 8px 0 8px; padding:8px; border-radius:5px; width:320px; text-align:center;">{{{Title|}}}</div> <div style="margin: 4px 16px 0 16px;"><youtube width="320">{{{URL}}}</youtube></div>{{#if:{{{Channel|}}}|<div><span class="cat-{{#switch:{{{Series|}}}|sunshine=llss|nijigasaki=lln|superstar=llst|hasunosora=llll|sim=llsim|gn...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Provided ID could not be validated.
Template documentation (for the above template, sometimes hidden or invisible)
Description
Creates a YouTube video thumbnail with upload information.
Syntax
Type {{YouTube Preview|<...>}} somewhere, with parameters as shown below.
Parameters
{{YouTube Preview
|Series = Changes header color (sunshine, nijigasaki, superstar, hasunosora, sim, gny, bluebird, or leave blank)
|Title = 
|URL = Portion of the video URL '''after''' youtube.com/watch?v=
|Channel = 
|Release = 
}}
Sample output
{{YouTube Preview
|Series = hasunosora
|Title = DOLLCHESTRA "Ampere" Lyric Video
|URL = M_KiFNfYBf0
|Channel = @lovelive_hasu
|Release = May 28, 2025
}}

Results in...

DOLLCHESTRA "Ampere" Lyric Video
Channel@lovelive_hasu
Release DateMay 28, 2025