Şablon:YouTube

Vikipediya, açıq ensiklopediya
Jump to navigation Jump to search

VideoYouTube

Sənədləşmə

Video

Usage (one parameter):

  • {{YouTube | ID }}
  • {{YouTube | id= ID }}

Usage (two parameters):

  • {{YouTube | ID | TITLE }}
  • {{YouTube | id= ID | title= TITLE }}

Parameter descriptions:

  • id (or unnamed parameter 1) is the "YouTube id" which appears as http://www.youtube.com/watch?v=ID
  • title (or unnamed parameter 2) gives an optional description that may replace the default title "Video"

Examples (1 parameter):

  1. {{YouTube| 9wuGq4haOs0 }}
    VideoYouTube
  2. {{YouTube| id= 9wuGq4haOs0 }}
    VideoYouTube

Examples (2 parameters):

  1. {{YouTube| 9wuGq4haOs0 | "Nessun dorma" }}
    "Nessun dorma" YouTube
  2. {{YouTube| id= 9wuGq4haOs0 | title= "Nessun dorma" }}
    "Nessun dorma"YouTube

Show

Usage (one parameter):

  • {{YouTube | s = SHOWNAME }}
  • {{YouTube | show = SHOWNAME }}

Usage (two parameters):

  • {{YouTube | s= SHOWNAME | TITLE }}
  • {{YouTube | s= SHOWNAME | title= TITLE }}
  • {{YouTube | show= SHOWNAME | TITLE }}
  • {{YouTube | show= SHOWNAME | title= TITLE }}

Parameter descriptions:

  • s or show is the "YouTube show name" which appears as http://www.youtube.com/show/SHOWNAME
  • title gives an optional description that may replace the default title (PAGENAME)

Examples (1 parameter):

  1. {{YouTube| s= startrek }}
    YouTube şousu — YouTube
  2. {{YouTube| show= startrek }}
    YouTube şousu — YouTube

Example (2 parameters):

  1. {{YouTube| s= startrek | ''Star Trek: The Original Series'' }}
    Star Trek: The Original Series şousu — YouTube
  2. {{YouTube| show= startrek | ''Star Trek: The Original Series'' }}
    Star Trek: The Original Series şousu — YouTube

Show id

Usage (one parameter):

  • {{YouTube | sid = SHOWIDCODE }}
  • {{YouTube | showid = SHOWIDCODE }}

Usage (two parameters):

  • {{YouTube | sid= SHOWIDCODE | TITLE }}
  • {{YouTube | sid= SHOWIDCODE | title= TITLE }}
  • {{YouTube | showid= SHOWIDCODE | TITLE }}
  • {{YouTube | showid= SHOWIDCODE | title= TITLE }}

Parameter descriptions:

  • sid or showid is the "YouTube show ID code" which appears as http://www.youtube.com/show?p=SHOWIDCODE
  • title gives an optional description that may replace the default title (PAGENAME)

Examples (1 parameter):

  1. {{YouTube| sid = K162qI1LPF8 }}
    Error:No page id specifiedYouTube
  2. {{YouTube| showid = K162qI1LPF8 }}
    Error:No page id specifiedYouTube

Example (2 parameters):

  1. {{YouTube| sid = K162qI1LPF8 | ''Sherlock Hound'' }}
    Sherlock Hound VideoYouTube
  2. {{YouTube| showid = K162qI1LPF8 | ''Sherlock Hound'' }}
    Sherlock Hound VideoYouTube

User channel

Usage (one parameter):

  • {{YouTube | u = USERCHANNELNAME }}
  • {{YouTube | user = USERCHANNELNAME }}
  • {{YouTube | channel = USERCHANNELNAME }}

Usage (two parameters):

  • {{YouTube | u = USERCHANNELNAME | TITLE }}
  • {{YouTube | u = USERCHANNELNAME | title= TITLE }}
  • {{YouTube | user = USERCHANNELNAME | TITLE }}
  • {{YouTube | user = USERCHANNELNAME | title= TITLE }}
  • {{YouTube | channel = USERCHANNELNAME | TITLE }}
  • {{YouTube | channel = USERCHANNELNAME | title= TITLE }}

Parameter descriptions:

  • u, user, or channel is the "YouTube user channel name" which appears as http://www.youtube.com/user/USERCHANNELNAME
  • title gives an optional description that may replace the default title (PAGENAME)

Examples (1 parameter):

  1. {{YouTube| u = ABCNews }}
    YouTube kanalı — YouTube
  2. {{YouTube| user = ABCNews }}
    YouTube kanalı — YouTube
  3. {{YouTube| channel = ABCNews }}
    YouTube kanalı — YouTube

Example (2 parameters):

  1. {{YouTube| u = ABCNews | ABC News }}
    ABC News kanalı — YouTube
  2. {{YouTube| user = ABCNews | ABC News }}
    ABC News kanalı — YouTube
  3. {{YouTube| channel = ABCNews | ABC News }}
    ABC News kanalı — YouTube

Suppress wikilink

The link to YouTube can be suppressed with the parameter |link=no. Example:

  • {{YouTube| 9wuGq4haOs0 | "Nessun dorma" | link= no }}
    "Nessun dorma" — YouTube