Jump to content

සැකිල්ල:YouTube/උපදෙස්

Wikibooks වෙතින්


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 }}
    Video on
  2. {{YouTube| id= 9wuGq4haOs0 }}
    Video on

Examples (2 parameters):

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

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/උපදෙස් show on
  2. {{YouTube| show= startrek }}
    YouTube/උපදෙස් show on

Example (2 parameters):

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

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 }}
    YouTube/උපදෙස් show on
  2. {{YouTube| showid = K162qI1LPF8 }}
    YouTube/උපදෙස් show on

Example (2 parameters):

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

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/උපදෙස්'s channel on
  2. {{YouTube| user = ABCNews }}
    YouTube/උපදෙස්'s channel on
  3. {{YouTube| channel = ABCNews }}
    YouTube/උපදෙස්'s channel on

Example (2 parameters):

  1. {{YouTube| u = ABCNews | ABC News }}
    ABC News's channel on
  2. {{YouTube| user = ABCNews | ABC News }}
    ABC News's channel on
  3. {{YouTube| channel = ABCNews | ABC News }}
    ABC News's channel on
[සංස්කරණය]

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

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


"https://si.wikibooks.org/w/index.php?title=සැකිල්ල:YouTube/උපදෙස්&oldid=28708" වෙතින් සම්ප්‍රවේශනය කෙරිණි