テンプレート:YouTube/doc
< テンプレート:YouTube
ナビゲーションに移動
検索に移動
2023年1月8日 (日) 04:08時点におけるja>Bcxfu75kによる版 (ハンドルサポート)
Lua エラー package.lua 内、80 行目: module 'strict' not found Lua エラー package.lua 内、80 行目: module 'strict' not found
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チャンネル
- 補足:
- 引数
user
はu
でも有効 {{YouTube|u = username|タイトル}}
チャンネル(https://www.youtube.com/channel/)へのリンク
{{YouTube|channel = channelid|タイトル}}
- channelidには、https://www.youtube.com/channel/channelidの斜線部分を記入。
- タイトルには、チャンネル名ないし説明を記入。指定しない場合、記事名を表示。
- 補足:
- 引数
channel
はc
でも有効 {{YouTube|c = channelid|タイトル}}
ハンドル(https://www.youtube.com/@)へのリンク
{{YouTube|handle = handleid|タイトル}}
- handleidには、https://www.youtube.com/@handleidの斜線部分を記入。
- タイトルには、チャンネル名ないし説明を記入。指定しない場合、記事名を表示。
- 補足:
- 引数
handle
はh
でも有効 {{YouTube|h = handleid|タイトル}}
YouTube showのリンク
公式に配信されているテレビ番組や映画の紹介ページにリンク
Lua エラー package.lua 内、80 行目: module 'strict' not found
{{YouTube|show = showname|タイトル}}
- shownameはhttps://www.youtube.com/show/shownameの斜線部分
- タイトルは説明を記入。指定しない場合、記事名を表示。
- 補足:
- 引数
show
はs
でも有効 {{YouTube|s = showname|タイトル}}
YouTube show idのリンク
公式に配信されているテレビ番組や映画の動画に直接リンク
Lua エラー package.lua 内、80 行目: module 'strict' not found
{{YouTube|showid = showidcode|タイトル}}
- showidcodeはhttps://www.youtube.com/show?p=showidcodeの斜線部分
- タイトルは説明を記入。指定しない場合、記事名を表示。
- 補足:
- 引数
showid
はsid
でも有効 {{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プレイリスト
- 補足:
- 引数
playlist
はp
でも有効 {{YouTube|p= PLAYLISTID|タイトル}}
関連項目
- Template:External music video - {{Infobox}}内にミュージックビデオをリンクするためのテンプレート。
- Template:YouTube channel - YouTubeのユーザーチャンネルにリンクするためのテンプレート。
- Template:YouTube time - YouTubeの動画に、時間指定してリンクするためのテンプレート。
- Template:cite video - 動画を出典として明記するためのテンプレート
- Template:Nicovideo - ニコニコ動画の映像にリンクするためのテンプレート。
- Template:YouTube Music - YouTube Musicの曲ページ、チャンネル(アーティスト)ページ、プレイリスト(アルバム/シングル)ページにリンクするためのテンプレート。
- Category:YouTube
- ウィキペディアの記事で貼られているYouTubeのリンク一覧