Predloga:Zunanji glasbeni video

Iz Wikipedije, proste enciklopedije
Jump to navigation Jump to search
Dokumentacija za predlogo[poglej] [uredi] [zgodovina] [osveži]

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 {{Infopolje Glasbeni singl}} and {{Infobox song}}.

Uporaba[uredi kodo]

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:

{{Infopolje Glasbeni singl
...
| Misc = {{Zunanji glasbeni 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 {{Infopolje Glasbeni singl}} 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".

Zgledi[uredi kodo]

{{Infopolje Glasbeni singl
...
| Misc = {{Zunanji glasbeni video|1="[http://www.cmt.com/videos/johnny-cash/26385/hurt.jhtml Hurt]" na CMT.com}}
}}

{{Infopolje Glasbeni singl
...
| Misc = {{Zunanji glasbeni video|1="[http://www.cmt.com/videos/johnny-cash/26385/hurt.jhtml Hurt]" na CMT.com |Upper caption=Video}}
}}

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