Mal:Eksterne medier

Fra Wikipedia, den frie encyklopedi
Eksterne medier
Maldokumentasjon

Når bruke[rediger kilde]

Hvis et bilde, 3D-modell, lyd eller video-klipp:

  1. er tilgjengelig online,
  2. kan ikke opplastes til Wikipedia, og
  3. lesere forventer denne type medier i artikkelen,

da kan det være passende å benytte {{eksterne medier}} for å gi en direktelenke til medie-filen sammen med beskrivelse av mediet.

Den {{eksterne medier}}-malen skal fjernes så snart en erstatning med passende kvalitet og nøyaktighet er tilgjengelig på WP:COMMONS. Da kan linken inkluderes som en vanlig ekstern lenke WP:Eksterne lenker i ==Eksterne lenker==-seksjonen.

Copyright[rediger kilde]

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[rediger kilde]

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[rediger kilde]

Paste this into your article, removing the parameters that are left blank:

{{eksterne medier
| 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 Logo 2017.svg|alt=YouTube logo|x20px|left]] or ...|right]] --->
| title  = 
| image1 =
| image2 =
| image3 =
| audio1 =
| audio2 =
| audio3 =
| video1 =
| video2 =
| video3 =
| model1 =
| model2 =
| model3 =
}}

The {{eksterne medier}} template can be used multiple times in an article, and each instance can be used to link to more than one file.

Parameters[rediger kilde]

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 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. [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.
TemplateData0Skjult innhold

Provides a box with a direct link to media hosted off of Wikipedia

Malparametre[Rediger maldata]

ParameterBeskrivelseTypeStatus
titletitle

Optional text to replace the automatically calculated title

Ukjentvalgfri
topictopic

Optional text field that will appear above the media links

Ukjentvalgfri
captioncaption

Optional caption text to put underneath the header image

Ukjentvalgfri
image1image1

ingen beskrivelse

Ukjentvalgfri
audio1audio1

ingen beskrivelse

Ukjentvalgfri
video1video1

ingen beskrivelse

Ukjentvalgfri
model1model1

ingen beskrivelse

Ukjentvalgfri
widthwidth

Width of the box

Standard
258px
Eksempel
300px, 22em, 30%
Ukjentvalgfri
floatfloat

Alignment of the box on the page

Foreslåtte verdier
left right
Standard
right
Strenganbefalt
headerimageheaderimage

Optional image to display at the top of the template. Use full image syntax, for example [[File:example.png|200px]].

ubalansert wikitekstvalgfri
image2image2

ingen beskrivelse

Ukjentvalgfri
model2model2

ingen beskrivelse

Ukjentvalgfri
image3image3

ingen beskrivelse

Ukjentvalgfri
image4image4

ingen beskrivelse

Ukjentvalgfri
image5image5

ingen beskrivelse

Ukjentvalgfri
image6image6

ingen beskrivelse

Ukjentvalgfri
image7image7

ingen beskrivelse

Ukjentvalgfri
image8image8

ingen beskrivelse

Ukjentvalgfri
image9image9

ingen beskrivelse

Ukjentvalgfri
image10image10

ingen beskrivelse

Ukjentvalgfri
image11image11

ingen beskrivelse

Ukjentvalgfri
image12image12

ingen beskrivelse

Ukjentvalgfri
image13image13

ingen beskrivelse

Ukjentvalgfri
image14image14

ingen beskrivelse

Ukjentvalgfri
image15image15

ingen beskrivelse

Ukjentvalgfri
image16image16

ingen beskrivelse

Ukjentvalgfri
image17image17

ingen beskrivelse

Ukjentvalgfri
image18image18

ingen beskrivelse

Ukjentvalgfri
image19image19

ingen beskrivelse

Ukjentvalgfri
image20image20

ingen beskrivelse

Ukjentvalgfri
audio2audio2

ingen beskrivelse

Ukjentvalgfri
audio3audio3

ingen beskrivelse

Ukjentvalgfri
audio4audio4

ingen beskrivelse

Ukjentvalgfri
audio5audio5

ingen beskrivelse

Ukjentvalgfri
audio6audio6

ingen beskrivelse

Ukjentvalgfri
audio7audio7

ingen beskrivelse

Ukjentvalgfri
audio8audio8

ingen beskrivelse

Ukjentvalgfri
audio9audio9

ingen beskrivelse

Ukjentvalgfri
audio10audio10

ingen beskrivelse

Ukjentvalgfri
audio11audio11

ingen beskrivelse

Ukjentvalgfri
audio12audio12

ingen beskrivelse

Ukjentvalgfri
audio13audio13

ingen beskrivelse

Ukjentvalgfri
audio14audio14

ingen beskrivelse

Ukjentvalgfri
audio15audio15

ingen beskrivelse

Ukjentvalgfri
audio16audio16

ingen beskrivelse

Ukjentvalgfri
audio17audio17

ingen beskrivelse

Ukjentvalgfri
audio18audio18

ingen beskrivelse

Ukjentvalgfri
audio19audio19

ingen beskrivelse

Ukjentvalgfri
audio20audio20

ingen beskrivelse

Ukjentvalgfri
video2video2

ingen beskrivelse

Ukjentvalgfri
video3video3

ingen beskrivelse

Ukjentvalgfri
video4video4

ingen beskrivelse

Ukjentvalgfri
video5video5

ingen beskrivelse

Ukjentvalgfri
video6video6

ingen beskrivelse

Ukjentvalgfri
video7video7

ingen beskrivelse

Ukjentvalgfri
video8video8

ingen beskrivelse

Ukjentvalgfri
video9video9

ingen beskrivelse

Ukjentvalgfri
video10video10

ingen beskrivelse

Ukjentvalgfri
video11video11

ingen beskrivelse

Ukjentvalgfri
video12video12

ingen beskrivelse

Ukjentvalgfri
video13video13

ingen beskrivelse

Ukjentvalgfri
video14video14

ingen beskrivelse

Ukjentvalgfri
video15video15

ingen beskrivelse

Ukjentvalgfri
video16video16

ingen beskrivelse

Ukjentvalgfri
video17video17

ingen beskrivelse

Ukjentvalgfri
video18video18

ingen beskrivelse

Ukjentvalgfri
video19video19

ingen beskrivelse

Ukjentvalgfri
video20video20

ingen beskrivelse

Ukjentvalgfri
model3model3

ingen beskrivelse

Ukjentvalgfri
model4model4

ingen beskrivelse

Ukjentvalgfri
model5model5

ingen beskrivelse

Ukjentvalgfri
model6model6

ingen beskrivelse

Ukjentvalgfri
model7model7

ingen beskrivelse

Ukjentvalgfri
model8model8

ingen beskrivelse

Ukjentvalgfri
model9model9

ingen beskrivelse

Ukjentvalgfri
model10model10

ingen beskrivelse

Ukjentvalgfri
model11model11

ingen beskrivelse

Ukjentvalgfri
model12model12

ingen beskrivelse

Ukjentvalgfri
model13model13

ingen beskrivelse

Ukjentvalgfri
model14model14

ingen beskrivelse

Ukjentvalgfri
model15model15

ingen beskrivelse

Ukjentvalgfri
model16model16

ingen beskrivelse

Ukjentvalgfri
model17model17

ingen beskrivelse

Ukjentvalgfri
model18model18

ingen beskrivelse

Ukjentvalgfri
model19model19

ingen beskrivelse

Ukjentvalgfri
model20model20

ingen beskrivelse

Ukjentvalgfri

Examples[rediger kilde]

Just an image[rediger kilde]

Image taken from the War against Nabis Featured Article. This example gives full contextual information along with references.

Eksternt bilde
image icon 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])
{{eksterne medier
| 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:[rediger kilde]

Eksternt bilde
image icon Metal vambrace with integrated elbow and upper arm protection (reenactment)[3]
{{eksterne medier
| 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:[rediger kilde]

Eksterne bilder
image icon Russian map of the operations around Leningrad in 1943. Blue are the German and allied Finnish troops. The Soviets are red.[4]
image icon 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:[rediger kilde]

Ekstern lyd
audio icon the sound of a dog barking, from Wav-Sounds.com, retrieved 13.09.2009
{{eksterne medier
| 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:[rediger kilde]

Eksterne videoer
{{eksterne medier
| 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:[rediger kilde]

Eksterne videoer
YouTube logo
Two YouTube videos
{{eksterne medier
| float  = right
| caption = Two YouTube videos <!-- text placed left or right of headerimage --->
| headerimage= [[File:YouTube Logo 2017.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:[rediger kilde]

Eksterne medier
Images
image icon Russian map of the operations around Leningrad in 1943. Blue are the German and allied Finnish troops. The Soviets are red.[7]
Audio
audio icon the sound of a dog barking, from Wav-Sounds.com, retrieved 13.09.2009
{{eksterne medier
| 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>
}}
  1. ^ Warfare in the Classical World,p. 34f (Greek Hoplite (c.480BC)) p. 67 (Iphicrates reforms)
  2. ^ «Battle of Marathon». Ancient Mesopotamia. Arkivert fra originalen February 24, 2006. Besøkt 26. desember 2006.  Sjekk datoverdier i |arkivdato= (hjelp)
  3. ^ http://fcit.usf.edu/florida/photos/historic/dsmem/dsarmor/dsarmo2/dsarmo232.htm
  4. ^ «ОТЕЧЕСТВЕННАЯ ИСТОРИЯ. Тема 8». Ido.edu.ru. Arkivert fra originalen December 23, 2004. Besøkt 26. oktober 2008.  Sjekk datoverdier i |arkivdato= (hjelp)
  5. ^ (russisk). Victory.tass-online.ru http://victory.tass-online.ru/?page=gallery&gcid=9. Besøkt 26. oktober 2008.  [død lenke]
  6. ^ Peppery furrow shell
  7. ^ «ОТЕЧЕСТВЕННАЯ ИСТОРИЯ. Тема 8». Ido.edu.ru. Besøkt 26. oktober 2008. 
  8. ^ Peppery furrow shell
  9. ^ https://sketchfab.com/models/bb0b6ee82c7b477db4b01a14bd793409

Tracking categories[rediger kilde]