Шаблон:External music video/doc

Мавод аз Википедиа — донишномаи озод

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. You can use this template to add a music video link to an infobox created by {{Infobox single}} and {{Infobox song}}.

Usage[вироиши манбаъ]

This template is used with the |Misc= parameter of an infobox template. It should not be used on its own. The first unnamed parameter should be the link to the video on the external site. You may include additional text after the link if desired.

To insert this template into the infobox, add it into the "Misc" section like this:

{{Infobox single
...
| Misc = {{External music video|1=<!-- link to external video with description -->}}
}}

You may use one or both of the following optional parameters.

Type
This parameter controls the color of the section header. If not specified, the template creates a section header with the same background color as used by the {{Infobox single}} template. To use this template with {{Infobox song}}, add |Type=song as shown in the second example.
Upper caption
This parameter controls the text used in the section header. If not specified, the template creates a section header with the text "Music video".

Examples[вироиши манбаъ]

{{Infobox single
...
| Misc = {{External music video|1="[http://www.cmt.com/videos/johnny-cash/26385/hurt.jhtml Hurt]" at CMT.com}}
}}

{{Infobox single
...
| Misc = {{External music video|1="[http://www.cmt.com/videos/johnny-cash/26385/hurt.jhtml Hurt]" at CMT.com |Upper caption=Video}}
}}

{{Infobox song
...
| Misc = {{External music video|1="[http://www.cmt.com/videos/johnny-cash/26385/hurt.jhtml Hurt]" at CMT.com |Type=song}}
}}