Template:External media/doc

{{external media}}は日本語版ウィキペディアやウィキメディア・コモンズで参照できないネット上の映像や画像といったマルチメディアファイルを外部リンクとしてリンクするために使うテンプレートです。フェアユースなど著作権関係で他言語版のウィキペディアでしか参照できないマルチメディアファイルをリンクするのに便利です。

使用法[編集]

{{ external media

| align  = 
| width  = 
| topic  =
| image1 = 
| image2 = ...
| image3 = ...
| audio1 = ...
| audio2 = ...
| audio3 = ...
| video1 = ...
| video2 = ...
| video3 = ...
}}

引数[編集]

align
"left"か"right"もしくは"center"を指定できます。デフォルトは右寄せ("right")です。
width
ボックスの横幅を指定します。例: 300px, 22em, 30%. デフォルトの幅は258pxです。
topic
各メディアファイルに共通するトピックを指定できます(例:国際宇宙ステーション内部の画像)。
media links
リンクをするファイルの種類と数によって引数が異なります。画像は"image1"以降引数、映像は"video1"以降の引数、音楽・音声は"audio1"の引数を指定します。同じ種類のファイルをリンクする時は"image2"、"image3"と末尾の数を増やします。ファイルは[https://example.com/image.jpg 画像の説明]( 画像の説明となります)と通常の方法でリンクします。その後に更なる詳しい説明を加えることができます。

使用例[編集]


War against Nabisにある脚注が付いた説明文のある画像のリンク

画像外部リンク
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
| align  = right
| image1 = [http://www.ancientmesopotamia.net/sitebuildercontent/sitebuilderpictures/macedonianphalanx.jpg Fighting style of Greek phalangites with long lances during the Roman-Spartan War]{{リンク切れ|date=November 2014}} (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 [[:en:Battle of Marathon|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 [[:en:phalangite|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 |format= |work=Ancient Mesopotamia}}{{リンク切れ|date=November 2014}}</ref>
}}

補足の脚注がある説明文がある場合:

画像外部リンク
はやぶさが最後に撮影した写真
ISAS/JAXA 2010年6月18日公開[3]
{{ external media
| align=right
| width  = 310px
| image1 = [http://www.isas.jaxa.jp/j/topics/topics/2010/image/0614/img01.jpg はやぶさが最後に撮影した写真]<br />ISAS/JAXA 2010年6月18日公開<ref>[http://www.isas.jaxa.jp/j/topics/topics/2010/0618_3.shtml "ラスト・チャンスの地球撮像 / トピックス"]. ISAS/JAXA. 2010年6月18日公開(2010年6月18日閲覧)</ref>
}}

2枚の画像を脚注付きで左寄せにリンクさせる場合:

画像外部リンク
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
| align  = left
| topic  = The Siege of Leningrad
| image1 = [http://www.ido.edu.ru/ffec/hist/images/H_4.jpg Russian map of the operations around Leningrad in 1943]{{リンク切れ|date=November 2014}}. 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}}{{リンク切れ|date=November 2014}}</ref>
| image2 = [http://victory.tass-online.ru/data/Photos/Photo/175.JPEG map of the advance on Leningrad and relief]{{リンク切れ|date=November 2014}}. 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 |title=ИТАР-ТАСС :: 60 ЛЕТ ВЕЛИКОЙ ПОБЕДЕ :: |language={{ru icon}} |publisher=Victory.tass-online.ru |date= |accessdate=2008-10-26}}</ref>
}}

音声ファイルを参照元のホームページと共にリンクさせる場合:

音楽・音声外部リンク
Dog Bark
the sound of a dog barking, from here
{{ external media
| topic  = Dog Bark
| 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]
}}

映像のリンクを左寄せで表示させる場合:

映像外部リンク
宇宙の大きさ - 2009年時点の科学的知識に基づき、事象の地平までの宇宙全体を描いた動画 (2009年12月、アメリカ自然史博物館
{{ external media
| width  = 300px
| align  = left
| video1 = [http://www.youtube.com/watch?v=17jymDn0W6U 宇宙の大きさ] - 2009年時点の科学的知識に基づき、[[事象の地平]]までの宇宙全体を描いた動画 (2009年12月、[[アメリカ自然史博物館]])
}}

複数の種類のファイルをリンクさせる時:

メディア外部リンク
画像
Russian map of the operations around Leningrad in 1943[リンク切れ]. Blue are the German and allied Finnish troops. The Soviets are red.[6]
音楽・音声
the sound of a dog barking, from here
映像
Movie clip of siphon feeding[リンク切れ], QuickTime format[7]
{{ external media
| align  = right
| width  = 300px
| image1 = [http://www.ido.edu.ru/ffec/hist/images/H_4.jpg Russian map of the operations around Leningrad in 1943]{{リンク切れ|date=November 2014}}. 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}}{{リンク切れ|date=November 2014}}</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]
| 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]{{リンク切れ|date=November 2014}}, QuickTime format<ref>[http://www.arkive.org/species/ARK/invertebrates_marine/Scrobicularia_plana/Scrobicularia_plana_00.html?movietype=qtSmall Peppery furrow shell]</ref>
}}
  1. ^ Warfare in the Classical World,p. 34f (Greek Hoplite (c.480BC)) p. 67 (Iphicrates reforms)
  2. ^ Battle of Marathon”. Ancient Mesopotamia. 2006年12月26日閲覧。[リンク切れ]
  3. ^ "ラスト・チャンスの地球撮像 / トピックス". ISAS/JAXA. 2010年6月18日公開(2010年6月18日閲覧)
  4. ^ ОТЕЧЕСТВЕННАЯ ИСТОРИЯ. Тема 8”. Ido.edu.ru. 2008年10月26日閲覧。[リンク切れ]
  5. ^ ИТАР-ТАСС :: 60 ЛЕТ ВЕЛИКОЙ ПОБЕДЕ ::” ((ロシア語)). Victory.tass-online.ru. 2008年10月26日閲覧。
  6. ^ ОТЕЧЕСТВЕННАЯ ИСТОРИЯ. Тема 8”. Ido.edu.ru. 2008年10月26日閲覧。[リンク切れ]
  7. ^ Peppery furrow shell