ढाँचा:YouTube/doc

विकिपिडिया बठेइ

When to use[स्रोत सम्पादन]

Use this to create an external link to YouTube in the ==External links== section. It may also be used for other YouTube links such as those in {{External media}}.

This is not a citation template. Use {{cite AV media}} to provide bibliographic citations in footnotes. Alternatively, use {{cite news}} if the video is a newscast, or {{cite episode}} if the video is in an episodic format.

How to use[स्रोत सम्पादन]

Video[स्रोत सम्पादन]

Usage (one parameter):

  • {{YouTube|VIDEOID}}
  • {{YouTube|id=VIDEOID}}

Usage (two parameters):

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

Parameter descriptions:

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

Examples (1 parameter):

  1. {{YouTube|9bZkp7q19f0}}
    भिडियो युट्युब मी
  2. {{YouTube|id=9bZkp7q19f0}}
    भिडियो युट्युब मी

Examples (2 parameters):

  1. {{YouTube|9bZkp7q19f0|"Gangnam Style"}}
    "Gangnam Style" युट्युब मी
  2. {{YouTube|id=9bZkp7q19f0|title="Gangnam Style"}}
    "Gangnam Style" युट्युब मी

User's channel[स्रोत सम्पादन]

Usage (one parameter):

  • {{YouTube|u=''USERNAME''}}
  • {{YouTube|user=''USERNAME''}}

Usage (two parameters):

  • {{YouTube|u=''USERNAME''|''TITLE''}}
  • {{YouTube|u=''USERNAME''|title=''TITLE''}}
  • {{YouTube|user=''USERNAME''|''TITLE''}}
  • {{YouTube|user=''USERNAME''|title=''TITLE''}}

Parameter descriptions:

  • u or user is the "YouTube user's (channel) name" which appears as https://www.youtube.com/user/USERNAME
  • title gives an optional description that may replace the default title (PAGENAME)
  • suffix replaces the default " 's " after the channel name. It is only to be used in the rare occasion that the channel name is a compound noun ending in S, and making it possessive does not repeat the S sound. Do not use it for a brand name ending in S, for example Smosh Games, which is a singular entity. See MOS:POSS for more information.

Examples (1 parameter):

  1. {{YouTube|u=pewdiepie}}
    pewdiepie's channel युट्युब मी
  2. {{YouTube|user=pewdiepie}}
    pewdiepie's channel युट्युब मी

Example (2 parameters):

  1. {{YouTube|u=pewdiepie|PewDiePie}}
    PewDiePie's channel युट्युब मी
  2. {{YouTube|user=pewdiepie|PewDiePie}}
    PewDiePie's channel युट्युब मी

Example (3 parameters):

  1. {{YouTube|user=officialBEG|title=Brown Eyed Girls|suffix='}}
    Brown Eyed Girls' channel युट्युब मी

Channel[स्रोत सम्पादन]

Usage (one parameter):

  • {{YouTube|c=''CHANNELID''}}
  • {{YouTube|channel=''CHANNELID''}}

Usage (two parameters):

  • {{YouTube|c=''CHANNELID''|''TITLE''}}
  • {{YouTube|c=''CHANNELID''|title=''TITLE''}}
  • {{YouTube|channel=''CHANNELID''|''TITLE''}}
  • {{YouTube|channel=''CHANNELID''|title=''TITLE''}}

Parameter descriptions:

  • c or channel is the "YouTube channel id" which appears as https://www.youtube.com/channel/CHANNELID
  • title gives an optional description that may replace the default title (PAGENAME)

Examples (1 parameter):

  1. {{YouTube|c=UC-9-kyTW8ZkZNDHQJ6FgpwQ}}
    PAGENAME's channel युट्युब मी
  2. {{YouTube|channel=UC-9-kyTW8ZkZNDHQJ6FgpwQ}}
    PAGENAME's channel युट्युब मी

Example (2 parameters):

  1. {{YouTube|c=UC-9-kyTW8ZkZNDHQJ6FgpwQ|#Music}}
    #Music's channel युट्युब मी
  2. {{YouTube|channel=UC-9-kyTW8ZkZNDHQJ6FgpwQ|#Music}}
    #Music's channel युट्युब मी

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 https://www.youtube.com/show/SHOWNAME
  • title gives an optional description that may replace the default title (PAGENAME)

Examples (1 parameter):

  1. {{YouTube|s=startrek}}
    PAGENAME show युट्युब मी
  2. {{YouTube|show=startrek}}
    PAGENAME show युट्युब मी

Example (2 parameters):

  1. {{YouTube|s=startrek|''Star Trek: The Original Series''}}
    Star Trek: The Original Series show युट्युब मी
  2. {{YouTube|show=startrek|''Star Trek: The Original Series''}}
    Star Trek: The Original Series show युट्युब मी

Playlist[स्रोत सम्पादन]

Usage (one parameter):

  • {{YouTube|p=''PLAYLISTID''}}
  • {{YouTube|playlist=''PLAYLISTID''}}

Usage (two parameters):

  • {{YouTube|p=''PLAYLISTID''|''TITLE''}}
  • {{YouTube|p=''PLAYLISTID''|title=''TITLE''}}
  • {{YouTube|playlist=''PLAYLISTID''|''TITLE''}}
  • {{YouTube|playlist=''PLAYLISTID''|title=''TITLE''}}

Parameter descriptions:

  • p or playlist is the "YouTube playlist id" which appears as https://www.youtube.com/playlist?list=PLAYLISTID
  • title gives an optional description that may replace the default title (PAGENAME)

Examples (1 parameter):

  1. {{YouTube|p=PLrEnWoR732-DZV1Jc8bUpVTF_HTPbywpE}}
    PAGENAME playlist युट्युब मी
  2. {{YouTube|playlist=PLrEnWoR732-DZV1Jc8bUpVTF_HTPbywpE}}
    PAGENAME playlist युट्युब मी

Example (2 parameters):

  1. {{YouTube|p=PLrEnWoR732-DZV1Jc8bUpVTF_HTPbywpE|Learn Something New}}
    Learn Something New playlist युट्युब मी
  2. {{YouTube|playlist=PLrEnWoR732-DZV1Jc8bUpVTF_HTPbywpE|Learn Something New}}
    Learn Something New playlist युट्युब मी

Suppress wikilink[स्रोत सम्पादन]

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

TemplateData[स्रोत सम्पादन]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for YouTube

Use this to create an external link to YouTube in the External links section. This is not a citation template.

ढाँचा प्यारामिटरहरू

मापदण्डविवरणप्रकारस्थिति
YouTube video idid 1

The video id which appears after https://www.youtube.com/watch?v= in the URL

उदाहरण
9bZkp7q19f0
Stringवैकल्पिक
YouTube user's (channel) nameuser u

The user name which appears after https://www.youtube.com/user/ in the URL

उदाहरण
pewdiepie
Stringवैकल्पिक
YouTube channel idchannel c

The channel id which appears after https://www.youtube.com/channel/ in the URL

उदाहरण
UC-9-kyTW8ZkZNDHQJ6FgpwQ
Stringवैकल्पिक
YouTube show nameshow s

The show name which appears after https://www.youtube.com/show/ in the URL

उदाहरण
startrek
Stringवैकल्पिक
YouTube playlist idplaylist p

The playlist id which appears after https://www.youtube.com/playlist?list= in the URL

उदाहरण
PLrEnWoR732-DZV1Jc8bUpVTF_HTPbywpE
Stringवैकल्पिक
Titletitle 1 2

The name of the page being linked to

पूर्वनिर्धारित
If it is a video, Video, if it is a show, the article's page name in italics, otherwise, the article's page name unformatted
उदाहरण
Gangnam Style
Stringसुझावित
Channel title suffixsuffix

Text immediately after the channel title. It is only to be used in the rare occasion that the channel title is a compound noun ending in S, and making it possessive does not repeat the S sound.

पूर्वनिर्धारित
's
उदाहरण
'
Stringवैकल्पिक
Link onlink

Set this parameter to no to suppress the link to the YouTube article

उदाहरण
no
Stringवैकल्पिक

See also[स्रोत सम्पादन]