සැකිල්ල:YouTube
Appearance
Video on
Do not use this template to link to material that violates copyright law. Links to such material must either be replaced with a non-copyvio link or removed immediately. |
මෙම සැකිල්ල පිටු 25,000+ භාවිතා වන නිසා සිදුකරන වෙනස් කිරීම් බොහෝ ස්ථානවලට බලපානු ඇත. ඔබ සිදුකිරීමට අදහස් කරන වෙනස්කම් මෙම සැකිල්ලට අදාළ /sandbox හෝ /testcases උපපිටුවල, හෝ ඔබගේ පරිශීලක උපපිටුවේ පළමුව සිදුකොට පරීක්ෂාකර බලන්න. එම වෙනස්කම් සිදුකිරීමට ප්රථම අදාළ සාකච්ඡා පිටුවේ ඒ පිළිබඳව සංවාදයක් ගොඩනැගීමට කාරුණික වන්න.
Transclusion count updated automatically (ප්රලේඛනය වෙතට යොමුවන්න). |
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):
Examples (2 parameters):
{{YouTube| 9wuGq4haOs0 | "Nessun dorma" }}
{{YouTube| id= 9wuGq4haOs0 | title= "Nessun dorma" }}
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):
Example (2 parameters):
{{YouTube| s= startrek | ''Star Trek: The Original Series'' }}
- Star Trek: The Original Series show on
{{YouTube| show= startrek | ''Star Trek: The Original Series'' }}
- Star Trek: The Original Series show on
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):
Example (2 parameters):
{{YouTube| sid = K162qI1LPF8 | ''Sherlock Hound'' }}
- Sherlock Hound show on
{{YouTube| showid = K162qI1LPF8 | ''Sherlock Hound'' }}
- Sherlock Hound show on
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):
{{YouTube| u = ABCNews }}
{{YouTube| user = ABCNews }}
{{YouTube| channel = ABCNews }}
Example (2 parameters):
{{YouTube| u = ABCNews | ABC News }}
{{YouTube| user = ABCNews | ABC News }}
{{YouTube| channel = ABCNews | ABC News }}
Suppress wikilink
[සංස්කරණය]The link to YouTube can be suppressed with the parameter |link=no
. Example:
{{YouTube| 9wuGq4haOs0 | "Nessun dorma" | link= no }}
- "Nessun dorma" on YouTube
See also
[සංස්කරණය]- {{Cite AV media}} – when citing audio and visual media sources this template should be used instead
- All Wikibooks pages linked to http://*.youtube.com and to https://*.youtube.com