आकृति:External music video

मैथिली विकिपिडियासँ, एक मुक्त विश्वकोश
Jump to navigation Jump to search
Template documentation[view] [edit] [history] [purge]

Most music videos cannot be uploaded to Wikipedia because of copyright restrictions. However, it is permissible to link to videos if they are hosted on a site that has licensed them for online viewing. Use this template to add a music video link to an infobox created by {{Infobox song}}.

Usage[सम्पादन करी]

This template is used with the |misc= parameter of the infobox template. It should not be used on its own. If this template is substituted, it will return a cleaned-up copy of itself with unnecessary parameters removed and deprecated parameters replaced. Parameter indentation will also automatically be fixed.

Code[सम्पादन करी]

Music video
{{Infobox song
...
| misc         = {{subst:External music video
 | type        = 
 | header      = 
 | 1           = 
}}
type 
Enter the same type specified in the {{Infobox song}} parameter |type=. If not used or set to |type=single, a header with a khaki background color is created. Set to |type=song to generate a light blue background.
header 
Enter the text for the header. If not used, the default is Music video. For no header, enter |header=no. For multiple music video links, set the first to |header=Music videos and the succeeding links to |header=no, so only one header for all will be created (see Example 2).
Enter the video link, plus the song title in quote marks, followed by the name of the video site (see Example 1). For YouTube links, use {{YouTube}}, instead of [http: ...] (see Example 2).

Examples[सम्पादन करी]

{{Infobox song
...
| misc         = {{subst:External music video
 | type        = song
 | header      = Music video
 | 1           = [http://www.cmt.com/videos/johnny-cash/26385/hurt.jhtml "Hurt"] at CMT.com
}}
{{Infobox song
...
| misc         = {{subst:External music video
 | type        = single
 | header      = Music videos
 | 1           = {{YouTube|qzU9OrZlKb8|"Till the World Ends"}}
}}{{subst:External music video
 | type = single
 | header = no
 | 1 = {{YouTube|M3Lqg-46mDo|"Till the World Ends" (dance version)}}
 }}

TemplateData[सम्पादन करी]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for External music video

JSON में सिंटेक्स त्रुटि।