Template:External media/sandbox: Difference between revisions
Fryed-peach (talk | contribs) No edit summary |
This may be better. "{{#ifexpr:{{Str find|" is less verbose than "{{#ifeq:{{#invoke:String|find|". |
||
(20 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ |
{{Infobox |
||
| decat = yes <!-- track empty rows through a separate process --> |
|||
| navbar = off |
|||
| bodystyle = {{#if:{{{width|}}}|width:{{{width}}};}} |
| bodystyle = {{#if:{{{width|}}}|width: {{{width}}};}} <!-- |
||
Check if either align or float are specified: |
|||
|none = clear:both; |
|||
-->{{#if:{{{align|}}}{{{float|}}}|<!-- |
|||
⚫ | |||
If either align or float is "left": |
|||
|right|#default = |
|||
-->{{#ifexpr:{{Str find|{{{align|}}}{{{float|}}}|left}} > 0| |
|||
}} |
|||
⚫ | |||
⚫ | |||
|}}<!-- |
|||
If either align or float is "center": |
|||
⚫ | |||
-->{{#ifexpr:{{Str find|{{{align|}}}{{{float|}}}|center}} > 0| |
|||
⚫ | |||
float:none; clear:none; margin:auto; |
|||
|}}<!-- |
|||
If float is "none": |
|||
-->{{#ifeq:{{{float|}}}|none| |
|||
float:none; clear:none; |
|||
|}}<!-- |
|||
If either align or float is "right": |
|||
-->{{#ifexpr:{{Str find|{{{align|}}}{{{float|}}}|right}} > 0| |
|||
float:right; clear:right; margin:0 0 1.5em 1.5em; |
|||
|}}<!-- |
|||
If both align and float are not specified: |
|||
--> | |
|||
float:right; clear:right; margin:0 0 1.5em 1.5em; |
|||
}} |
|||
⚫ | | above = {{{title|{{#if:{{{image1|}}}{{{images|}}}|{{#if:{{{audio1|}}}{{{video1|}}}{{{model1|}}}|External media|External {{#if:{{{image2|}}}{{{images|}}}|images|image}} }}|{{#if:{{{audio1|}}}|{{#if:{{{video1|}}}{{{model1|}}}|External media|External audio}}|{{#if:{{{video1|}}}|{{#if:{{{model1|}}}|External media|External {{#if:{{{video1|}}}|videos|video}}}}|{{#if:{{{model1|}}}|External 3D {{#if:{{{model2|}}}|models|model}} }} }} }} }} }}} |
||
⚫ | |||
| subheader = {{{topic|}}} |
|||
| subheaderstyle = font-style: italic |
|||
⚫ | |||
| image = {{{headerimage|}}} |
| image = {{{headerimage|}}} |
||
| caption = {{{caption|}}} |
| caption = {{{caption|}}} |
||
| |
| header1 = {{#if:{{{image1|}}}{{{images|}}}|{{#if:{{{audio1|}}}{{{video1|}}}{{{model1|}}}|Images}} }} |
||
| |
| data2 = {{#if:{{{image1|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image1}}} }} |
||
| |
| data3 = {{#if:{{{image2|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image2}}} }} |
||
| |
| data4 = {{#if:{{{image3|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image3}}} }} |
||
| |
| data5 = {{#if:{{{image4|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image4}}} }} |
||
| |
| data6 = {{#if:{{{image5|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image5}}} }} |
||
| |
| data7 = {{#if:{{{image6|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image6}}} }} |
||
| |
| data8 = {{#if:{{{image7|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image7}}} }} |
||
| |
| data9 = {{#if:{{{image8|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image8}}} }} |
||
| |
| data10 = {{#if:{{{image9|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image9}}} }} |
||
| |
| data11 = {{#if:{{{image10|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image10}}} }} |
||
| |
| data12 = {{#if:{{{image11|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image11}}} }} |
||
| |
| data13 = {{#if:{{{image12|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image12}}} }} |
||
| |
| data14 = {{#if:{{{image13|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image13}}} }} |
||
| |
| data15 = {{#if:{{{image14|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image14}}} }} |
||
| |
| data16 = {{#if:{{{image15|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image15}}} }} |
||
| |
| data17 = {{#if:{{{image16|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image16}}} }} |
||
| |
| data18 = {{#if:{{{image17|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image17}}} }} |
||
| |
| data19 = {{#if:{{{image18|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image18}}} }} |
||
| |
| data20 = {{#if:{{{image19|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image19}}} }} |
||
| |
| data21 = {{#if:{{{image20|}}}|[[file:Searchtool.svg|16px|alt=image icon|link=]] {{{image20}}} }} |
||
| |
| data22 = {{{images|}}} |
||
| |
| header31 = {{#if:{{{audio1|}}}|{{#if:{{{image1|}}}{{{images|}}}{{{video1|}}}{{{model1|}}}|Audio}} }} |
||
| |
| data32 = {{#if:{{{audio1|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio1}}} }} |
||
| |
| data33 = {{#if:{{{audio2|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio2}}} }} |
||
| |
| data34 = {{#if:{{{audio3|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio3}}} }} |
||
| |
| data35 = {{#if:{{{audio4|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio4}}} }} |
||
| |
| data36 = {{#if:{{{audio5|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio5}}} }} |
||
| |
| data37 = {{#if:{{{audio6|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio6}}} }} |
||
| |
| data38 = {{#if:{{{audio7|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio7}}} }} |
||
| |
| data39 = {{#if:{{{audio8|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio8}}} }} |
||
| |
| data40 = {{#if:{{{audio9|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio9}}} }} |
||
| |
| data41 = {{#if:{{{audio10|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio10}}} }} |
||
| |
| data42 = {{#if:{{{audio11|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio11}}} }} |
||
| |
| data43 = {{#if:{{{audio12|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio12}}} }} |
||
| |
| data44 = {{#if:{{{audio13|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio13}}} }} |
||
| |
| data45 = {{#if:{{{audio14|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio14}}} }} |
||
| |
| data46 = {{#if:{{{audio15|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio15}}} }} |
||
| |
| data47 = {{#if:{{{audio16|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio16}}} }} |
||
| |
| data48 = {{#if:{{{audio17|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio17}}} }} |
||
| |
| data49 = {{#if:{{{audio18|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio18}}} }} |
||
| |
| data50 = {{#if:{{{audio19|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio19}}} }} |
||
| |
| data51 = {{#if:{{{audio20|}}}|[[file:Nuvola apps arts.svg|16px|alt=audio icon|link=]] {{{audio20}}} }} |
||
| |
| header61 = {{#if:{{{video1|}}}|{{#if:{{{audio1|}}}{{{model1|}}}{{{image1|}}}{{{images|}}}|Video}} }} |
||
| |
| data62 = {{#if:{{{video1|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video1}}} }} |
||
| |
| data63 = {{#if:{{{video2|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video2}}} }} |
||
| |
| data64 = {{#if:{{{video3|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video3}}} }} |
||
| |
| data65 = {{#if:{{{video4|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video4}}} }} |
||
| |
| data66 = {{#if:{{{video5|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video5}}} }} |
||
| |
| data67 = {{#if:{{{video6|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video6}}} }} |
||
| |
| data68 = {{#if:{{{video7|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video7}}} }} |
||
| |
| data69 = {{#if:{{{video8|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video8}}} }} |
||
| |
| data70 = {{#if:{{{video9|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video9}}} }} |
||
| |
| data71 = {{#if:{{{video10|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video10}}} }} |
||
| |
| data72 = {{#if:{{{video11|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video11}}} }} |
||
| |
| data73 = {{#if:{{{video12|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video12}}} }} |
||
| |
| data74 = {{#if:{{{video13|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video13}}} }} |
||
| |
| data75 = {{#if:{{{video14|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video14}}} }} |
||
| |
| data76 = {{#if:{{{video15|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video15}}} }} |
||
| |
| data77 = {{#if:{{{video16|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video16}}} }} |
||
| |
| data78 = {{#if:{{{video17|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video17}}} }} |
||
| |
| data79 = {{#if:{{{video18|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video18}}} }} |
||
| |
| data80 = {{#if:{{{video19|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video19}}} }} |
||
| |
| data81 = {{#if:{{{video20|}}}|[[file:Nuvola apps kaboodle.svg|16px|alt=video icon|link=]] {{{video20}}} }} |
||
| header91 = {{#if:{{{model1|}}}|{{#if:{{{audio1|}}}{{{video1|}}}{{{image1|}}}{{{images|}}}|3D Models}} }} |
|||
}}<noinclude>{{documentation}}</noinclude> |
|||
| data92 = {{#if:{{{model1|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model1}}} }} |
|||
| data93 = {{#if:{{{model2|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model2}}} }} |
|||
| data94 = {{#if:{{{model3|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model3}}} }} |
|||
| data95 = {{#if:{{{model4|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model4}}} }} |
|||
| data96 = {{#if:{{{model5|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model5}}} }} |
|||
| data97 = {{#if:{{{model6|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model6}}} }} |
|||
| data98 = {{#if:{{{model7|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model7}}} }} |
|||
| data99 = {{#if:{{{model8|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model8}}} }} |
|||
| data100 = {{#if:{{{model9|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model9}}} }} |
|||
| data101 = {{#if:{{{model10|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model10}}} }} |
|||
| data102 = {{#if:{{{model11|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model11}}} }} |
|||
| data103 = {{#if:{{{model12|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model12}}} }} |
|||
| data104 = {{#if:{{{model13|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model13}}} }} |
|||
| data105 = {{#if:{{{model14|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model14}}} }} |
|||
| data106 = {{#if:{{{model15|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model15}}} }} |
|||
| data107 = {{#if:{{{model16|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model16}}} }} |
|||
| data108 = {{#if:{{{model17|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model17}}} }} |
|||
| data109 = {{#if:{{{model18|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model18}}} }} |
|||
| data110 = {{#if:{{{model19|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model19}}} }} |
|||
| data111 = {{#if:{{{model20|}}}|[[file:Cube NoEdges RGBfaces 64px.png|16px|alt=3D model icon|link=]] {{{model20}}} }} |
|||
}}{{main other|{{#if:{{{image1|}}}{{{images|}}}{{{audio1|}}}{{{video1|}}}{{{model1|}}}||[[Category:Pages using the external media template with no first item]]}}}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using external media with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:External media]] with unknown parameter "_VALUE_"|ignoreblank=y| audio1 | audio2 | audio3 | audio4 | audio5 | audio6 | audio7 | audio8 | audio9 | audio10 | audio11 | audio12 | audio13 | audio14 | audio15 | audio16 | audio17 | audio18 | audio19 | audio20 | caption | float | headerimage | image1 | image2 | image3 | image4 | image5 | image6 | image7 | image8 | image9 | image10 | image11 | image12 | image13 | image14 | image15 | image16 | image17 | image18 | image19 | image20 | images | model1 | model2 | model3 | model4 | model5 | model6 | model7 | model8 | model9 | model10 | model11 | model12 | model13 | model14 | model15 | model16 | model17 | model18 | model19 | model20 | title | topic | video1 | video2 | video3 | video4 | video5 | video6 | video7 | video8 | video9 | video10 | video11 | video12 | video13 | video14 | video15 | video16 | video17 | video18 | video19 | video20 | width }}<noinclude>{{documentation}}</noinclude> |
Latest revision as of 18:59, 5 January 2024
This is the template sandbox page for Template:External media (diff). See also the companion subpage for test cases. |
This template is used on approximately 11,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
When to use
[edit]If an image, 3D model, audio or video clip:
- is currently available online,
- cannot be uploaded to Wikipedia, even under non-free use rules, and
- readers will expect this type of media in the article,
then it may be appropriate to use {{external media}} to provide a direct link to the media file along with a description of the media.
The {{external media}} template should be removed as soon as a replacement of adequate quality and accuracy is available in WP:COMMONS. At that time, the link included in this template may be considered for inclusion as a regular WP:External link in the ==External links== section.
Copyright
[edit]According to WP:ELNEVER and WP:COPYLINK, editors must never link to content that violates copyright or is otherwise illegal. If you are uncertain of the copyright status (for example, with links to YouTube), ask for help at Wikipedia:Media copyright questions. If you're certain that the copyright status is acceptable, but others might wonder later, make it clear in the template or in the reference that you link to material from a rightful distributor (examples can be found at grindcore).
Where to use
[edit]This template is normally placed in the main body of the article, in the same place that you would normally have placed the image, 3D model, audio, or video clip if it had been available on Wikimedia Commons.
When placing links in the ==External links== section, please use the normal formatting for external links, as explained at WP:External links#Rich media and WP:External links#How to link, rather than this template.
Usage
[edit]Paste this into your article, removing the parameters that are left blank:
{{external media
| float =
| width =
| topic = <!--centered italic text--->
| caption = <!-- text placed left or right of headerimage --->
| headerimage= <!--search commons please include "|alt= text" and x-height in px "|x20px" example [[File:YouTube 2024.svg|alt=YouTube logo|x20px|left]] or ...|right]] --->
| title =
| image1 =
| image2 =
| image3 =
| audio1 =
| audio2 =
| audio3 =
| video1 =
| video2 =
| video3 =
| model1 =
| model2 =
| model3 =
}}
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.
Parameters
[edit]- float
- Valid options are "left" or "right". The template defaults to displaying on the right-hand-side. (Note: This template's documentation previously, and erroneously, listed
|align=
as a valid parameter, but it was not valid. Instances of|align=
, if found, should usually be replaced with|float=
.) - width
- This should be a complete width measurement including units. Examples:
300px
,22em
,30%
. The template defaults to 258px wide. - topic
- Optional text field that will appear above the media links.
- title
- Optional text to replace the automatically calculated title.
- headerimage
- Optional image to display at the top of the template. Use full image syntax, for example [[File:example.png|200px]].
- caption
- Optional caption text to put underneath the header image.
- 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
andvideo1
. 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.[http://example.com/image.jpg Image description]
for Image description. After that, any additional detail can be given on the same line. See the examples for details. - 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.
TemplateData
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Provides a box with a direct link to media hosted off of Wikipedia
|
Examples
[edit]Just an image
[edit]Image taken from the War against Nabis Featured Article. This example gives full contextual information along with references.
External image | |
---|---|
Fighting style of Greek phalangites with long lances during the Roman-Spartan War (Note the late Greek hoplite helmets with open visors made of several parts and not from one like in earlier times. The leg protection was often leather to allow for faster movement. This fighting style was not in use during the Battle of Marathon; at that time the lances were shorter and held with one hand. Longer lances, held with both hands, were adopted with the introduction of lighter hoplites and later phalangites. As a result of their long and heavy lance which was handled with both arms they needed a lighter shield than the old hoplites.[1][2]) |
{{external media
| float = right
| width = 258px
| image1 = [https://web.archive.org/web/20120211124946id_/http://www.ancientmesopotamia.net/sitebuildercontent/sitebuilderpictures/macedonianphalanx.jpg Fighting style of Greek phalangites with long lances during the Roman-Spartan War] (Note the late Greek hoplite helmets with open visors made of several parts and not from one like in earlier times. The leg protection was often leather to allow for faster movement. This fighting style was not in use during the [[Battle of Marathon]]; at that time the lances were shorter and held with one hand. Longer lances, held with both hands, were adopted with the introduction of lighter hoplites and later [[phalangite]]s. As a result of their long and heavy lance which was handled with both arms they needed a lighter shield than the old hoplites.<ref>''Warfare in the Classical World'',p. 34f (Greek Hoplite (c.480BC)) p. 67 (Iphicrates reforms)</ref><ref>{{cite web |url=http://www.ancientmesopotamia.net/id27.html |title=Battle of Marathon |accessdate=2006-12-26 |work=Ancient Mesopotamia|archiveurl = https://web.archive.org/web/20060224052909/http://www.ancientmesopotamia.net/id27.html |archivedate = February 24, 2006|url-status=dead}}</ref>)
}}
Image, using descriptive text with accompanying reference:
[edit]External image | |
---|---|
Metal vambrace with integrated elbow and upper arm protection (reenactment)[3] |
{{external media
| float = right
| width = 300px
| image1 = [http://fcit.usf.edu/florida/photos/historic/dsmem/dsarmor/dsarmo2/photos/dsarmo232.jpg Metal vambrace with integrated elbow and upper arm protection] (reenactment)<ref>http://fcit.usf.edu/florida/photos/historic/dsmem/dsarmor/dsarmo2/dsarmo232.htm</ref>
}}
Two images with rich accompanying text, floated left:
[edit]External images | |
---|---|
The Siege of Leningrad | |
Russian map of the operations around Leningrad in 1943. Blue are the German and allied Finnish troops. The Soviets are red.[4] | |
map of the advance on Leningrad and relief. Blue are the German and allied Finnish troops. The Soviets are red.[5] |
{{external media
| float = left
| headerimage= [[File:Internet Archive logo and wordmark.svg|85px|right]]
| caption = via [https://archive.org The Internet Archive]
| topic = The Siege of Leningrad
| image1 = [https://web.archive.org/web/20090226113208/http://www.ido.edu.ru/ffec/hist/images/H_4.jpg Russian map of the operations around Leningrad in 1943]. Blue are the German and allied Finnish troops. The Soviets are red.<ref>{{cite web|url=http://www.ido.edu.ru/ffec/hist/h8.html |title=ОТЕЧЕСТВЕННАЯ ИСТОРИЯ. Тема 8 |publisher=Ido.edu.ru |date= |accessdate=2008-10-26 |archiveurl=https://web.archive.org/web/20041223033320/http://ido.edu.ru/ffec/hist/h8.html |archivedate=December 23, 2004}}</ref>
| image2 = [https://web.archive.org/web/20090226113208/http://victory.tass-online.ru/data/Photos/Photo/175.JPEG map of the advance on Leningrad and relief]. Blue are the German and allied Finnish troops. The Soviets are red.<ref>{{cite web|url=http://victory.tass-online.ru/?page=gallery&gcid=9 |script-title=ru:ИТАР-ТАСС :: 60 ЛЕТ ВЕЛИКОЙ ПОБЕДЕ :: |publisher=Victory.tass-online.ru |date= |accessdate=2008-10-26|language=ru}} {{dead link}}</ref>
}}
Audio with topic text and accompanying link to the home page:
[edit]External audio | |
---|---|
Dog Bark | |
the sound of a dog barking, from Wav-Sounds.com, retrieved 13.09.2009 |
{{external media
| topic = Dog Bark
| audio1 = [https://web.archive.org/web/20101130033309/http://www.wav-sounds.com/various/bark.wav the sound of a dog barking], from [https://web.archive.org/web/20100723141525/http://www.wav-sounds.com/various_wav_sounds.htm Wav-Sounds.com], ''retrieved 13.09.2009''
}}
Single video, floated left:
[edit]External videos | |
---|---|
Movie clip of siphon feeding, QuickTime format[6] |
{{external media
| width = 210px
| float = left
| video1 = [http://www.arkive.org/scripts/php/force-download.php?file=BEE7098E-088F-4BB4-B6F0-D2E190E5623C/Presentation.Streams/Presentation_QT_DOWNLOAD.mov&saveas=/data/root/Live/www.arkive.org/htdocs/species/peppery-furrow-shell/scrobicularia-plana/video-00.xml&type=mov Movie clip of siphon feeding], QuickTime format<ref>[http://www.arkive.org/species/ARK/invertebrates_marine/Scrobicularia_plana/Scrobicularia_plana_00.html?movietype=qtSmall Peppery furrow shell]</ref>
}}
Two CNN videos from YouTube, floated right:
[edit]External videos | |
---|---|
CNN's exclusive Obama interview | |
Pres. Obama makes first visit to Kenya as president |
{{external media
| float = right
| caption = Two YouTube videos <!-- text placed left or right of headerimage --->
| headerimage= [[File:YouTube 2024.svg|alt=YouTube logo|x20px|left]]
| video1 = [https://www.youtube.com/watch?v=WBgwuFM92i4 CNN's exclusive Obama interview]
| video2 = [https://www.youtube.com/watch?v=-EGLzcQj9RY Pres. Obama makes first visit to Kenya as president]
}}
Mixed content:
[edit]External media | |
---|---|
Images | |
Russian map of the operations around Leningrad in 1943. Blue are the German and allied Finnish troops. The Soviets are red.[7] | |
Audio | |
the sound of a dog barking, from Wav-Sounds.com, retrieved 13.09.2009 | |
Video | |
Movie clip of siphon feeding, QuickTime format.[8] | |
3D Models | |
3D model of Hoa Hakananai'a moai statue, linked from Sketchfab.[9] |
{{external media
| float = right
| width = 300px
| image1 = [http://www.ido.edu.ru/ffec/hist/images/H_4.jpg Russian map of the operations around Leningrad in 1943]. Blue are the German and allied Finnish troops. The Soviets are red.<ref>{{cite web|url=http://www.ido.edu.ru/ffec/hist/h8.html |title=ОТЕЧЕСТВЕННАЯ ИСТОРИЯ. Тема 8 |publisher=Ido.edu.ru |date= |accessdate=2008-10-26}}</ref>
| audio1 = [http://www.wav-sounds.com/various/bark.wav the sound of a dog barking], from [http://www.wav-sounds.com/various_wav_sounds.htm here], ''retrieved 13.09.2009''
| video1 = [http://www.arkive.org/scripts/php/force-download.php?file=BEE7098E-088F-4BB4-B6F0-D2E190E5623C/Presentation.Streams/Presentation_QT_DOWNLOAD.mov&saveas=/data/root/Live/www.arkive.org/htdocs/species/peppery-furrow-shell/scrobicularia-plana/video-00.xml&type=mov Movie clip of siphon feeding], QuickTime format.<ref>[http://www.arkive.org/species/ARK/invertebrates_marine/Scrobicularia_plana/Scrobicularia_plana_00.html?movietype=qtSmall Peppery furrow shell]</ref>
| model1 = [https://sketchfab.com/models/bb0b6ee82c7b477db4b01a14bd793409 3D model of Hoa Hakananai'a moai statue], linked from Sketchfab.<ref>https://sketchfab.com/models/bb0b6ee82c7b477db4b01a14bd793409</ref>
}}