Template:External media/doc


 * Note: this template has recently been copied from Wikipedia . The documentation below may reference aspects of Wikipedia policy that don't apply to usage here on Wikiversity.

Overview
This template organizes a set of external URL links to media in a small box labelled "External links", with an icon by each one to indicate the type of media. It is definitely not required when writing from scratch, and can be functionally replaced by an ordinary link in square brackets. But it's cute, and maintaining compatibility with it makes it easier to bring over content from Wikipedia.

How to use
Paste this into your article:

The external media template can be used multiple times in an article, and each instance can be used to link to more than one file.

Legend
Note: when adding a link to an external media source like this, it is essential that the source page be linked too with the date of retrieval, both to satisfy Wikipedia's sourcing criteria for the statement about the presented media and to ensure that the link can quickly be corrected should the source URL be changed. Reference tags can be used for this purpose. It's polite if you inform the administrator of the page you link to that you are deep linking to the content of his page, marking it as an external source, also providing a link to his complete page and that if he doesn't like it he can use a script to disable deep linking.
 * align: Valid options are "left", "right" and "center". The template defaults to displaying on the right-hand-side.
 * width: This should be a complete width measurement including units. Examples: 300px, 22em , 30% . The template defaults to 258px wide.
 * media links: Each file to be linked should specify its type and have a different number, starting from 1. For example, a template containing four images and one video would label them as image1, image2 , image3 , image4 and video1 . The attribute has a free format, so any amount of detail may be added. The first part of the entry should be formatted as a normal external link, i.e. Image description for Image description. After that, any additional detail can be given on the same line. See the examples for details.

Examples
Just an image, taken from the War against Nabis Featured Article. This example gives full contextual information along with references.



Image, using descriptive text with accompanying reference:



Two images with rich accompanying text, floated left:



audio with topic text and accompanying link to the home page:



Single video, floated left:



Mixed content:



ar:قالب:ملف خارجي bg:Шаблон:Външна медия fr:Modèle:Média externe ko:틀:외부 매체 mk:Шаблон:Надворешни снимки nn:mal:Eksterne media no:mal:Eksterne media ja:Template:External media ro:Format:Legături media externe ru:Шаблон:External media zh:Template:External media