テンプレート:YouTube

提供:KAZE.WIKI

映像 - YouTube

テンプレートの解説[表示] [編集] [履歴] [キャッシュを破棄]

YouTubeの動画、チャンネル、YouTube show(公式配信の映画やテレビ番組)、プレイリストにリンクするテンプレートです。基本的に外部リンク節で使用します。{{Infobox}}内でのリンクは#関連項目のテンプレートを参照。

使用方法

YouTube動画のリンク

{{YouTube|videoid|タイトル}}
  • videoidには、https://www.youtube.com/watch?v=videoidの斜体部分を記入。
  • タイトルには、動画のタイトルないし説明を記入。指定しない場合、「映像」と表示。
* https://www.youtube.com/watch?v=j9-CovbP-7U
* {{YouTube|j9-CovbP-7U|Inside Wikimedia}}
* Inside Wikimedia - YouTube

ユーザーチャンネル(https://www.youtube.com/user/)へのリンク

{{YouTube|user = username|タイトル}}
  • usernameには、https://www.youtube.com/user/usernameの斜線部分を記入。
  • タイトルには、チャンネル名ないし説明を記入。指定しない場合、記事名を表示。
* https://www.youtube.com/user/WikimediaFoundation
* {{YouTube|user = WikimediaFoundation|Wikimedia Foundation}}
* Wikimedia Foundation - YouTubeチャンネル
補足:
引数useruでも有効
{{YouTube|u = username|タイトル}}

チャンネル(https://www.youtube.com/channel/)へのリンク

{{YouTube|channel = channelid|タイトル}}
  • channelidには、https://www.youtube.com/channel/channelidの斜線部分を記入。
  • タイトルには、チャンネル名ないし説明を記入。指定しない場合、記事名を表示。
補足:
引数channelcでも有効
{{YouTube|c = channelid|タイトル}}

YouTube showのリンク

公式に配信されているテレビ番組や映画の紹介ページにリンク

{{YouTube|show = showname|タイトル}}
  • shownameはhttps://www.youtube.com/show/shownameの斜線部分
  • タイトルは説明を記入。指定しない場合、記事名を表示。
補足:
引数showsでも有効
{{YouTube|s = showname|タイトル}}

YouTube show idのリンク

公式に配信されているテレビ番組や映画の動画に直接リンク

{{YouTube|showid = showidcode|タイトル}}
  • showidcodeはhttps://www.youtube.com/show?p=showidcodeの斜線部分
  • タイトルは説明を記入。指定しない場合、記事名を表示。
補足:
引数showidsidでも有効
{{YouTube|sid = showidcode|タイトル}}

プレイリストへのリンク

{{YouTube|playlist = PLAYLISTID|タイトル}}
  • PLAYLISTIDには、https://www.youtube.com/playlist?list=PLAYLISTIDの斜線部分を記入。
  • タイトルには、プレイリスト名ないし説明を記入。指定しない場合、記事名を表示。
* https://www.youtube.com/playlist?list=PLrEnWoR732-DZV1Jc8bUpVTF_HTPbywpE
* {{YouTube|playlist=PLrEnWoR732-DZV1Jc8bUpVTF_HTPbywpE|Learn Something New}}
* Learn Something New - YouTubeプレイリスト
補足:
引数playlistpでも有効
{{YouTube|p= PLAYLISTID|タイトル}}

関連項目