user-upload
43,739
回編集
細 (Softyu がページ「テンプレート:YouTube channe」を「テンプレート:YouTube channel」に移動しました: 误字) |
編集の要約なし |
||
1行目: | 1行目: | ||
<includeonly>{{#invoke:YouTube | <includeonly>{{#invoke:YouTube channel|main}}</includeonly><noinclude> | ||
YouTubeのユーザーページ(公式チャンネル)にリンクするテンプレートです、基本的に外部リンク節で使用します。 | YouTubeのユーザーページ(公式チャンネル)にリンクするテンプレートです、基本的に外部リンク節で使用します。 | ||
* [[Property:YouTubeチャンネル]] | * [[Property:YouTubeチャンネル]] | ||
* [[Property:YouTubeユーザー]] | * [[Property:YouTubeユーザー]] | ||
* [[モジュール:YouTube | * [[モジュール:YouTube channel]] | ||
== 使い方 == | == 使い方 == | ||
17行目: | 17行目: | ||
}} | }} | ||
{{YouTube | {{YouTube channel|UCR0V48DJyWbwEAdxLL5FjxA|日向坂46 OFFICIAL YouTube CHANNEL}} | ||
{{YouTube | {{YouTube channel|UCR0V48DJyWbwEAdxLL5FjxA}} | ||
</pre> | </pre> | ||
25行目: | 25行目: | ||
* <code>https://www.youtube.com/user/AKB48 </code> → <code>AKB48 </code> | * <code>https://www.youtube.com/user/AKB48 </code> → <code>AKB48 </code> | ||
<pre> | <pre> | ||
{{YouTube | {{YouTube channel | ||
| user = AKB48 | | user = AKB48 | ||
| name = AKB48 | | name = AKB48 | ||
}} | }} | ||
{{YouTube | {{YouTube channel|user=AKB48|name=AKB48 }} | ||
{{YouTube | {{YouTube channel|user=AKB48}} | ||
</pre> | </pre> | ||
== 引数 == | == 引数 == | ||
39行目: | 39行目: | ||
|- | |- | ||
! id | ! id | ||
| テキスト (id)|| (なし) || YouTube | | テキスト (id)|| (なし) || YouTube channel ID。 | ||
|- | |- | ||
! user | ! user | ||
| テキスト (user)|| (なし) || YouTube | | テキスト (user)|| (なし) || YouTube User ID。youtube.com/user/AKB48 などはこちら | ||
|- | |- | ||
! name | ! name | ||
| テキスト (name)|| YouTube | | テキスト (name)|| YouTube channel名 || 記事本文に表示するリンクの文字列 (省略可能) | ||
|} | |} | ||
55行目: | 55行目: | ||
| | | | ||
<pre> | <pre> | ||
{{YouTube | {{YouTube channel | ||
| id = UCR0V48DJyWbwEAdxLL5FjxA | | id = UCR0V48DJyWbwEAdxLL5FjxA | ||
| name = 日向坂46 OFFICIAL YouTube CHANNEL | | name = 日向坂46 OFFICIAL YouTube CHANNEL | ||
}} | }} | ||
{{YouTube | {{YouTube channel|UCR0V48DJyWbwEAdxLL5FjxA|日向坂46 OFFICIAL YouTube CHANNEL}} | ||
{{YouTube | {{YouTube channel|UCR0V48DJyWbwEAdxLL5FjxA}} | ||
{{YouTube | {{YouTube channel|user=AKB48}} | ||
</pre> | </pre> | ||
|| | || | ||
{{YouTube | {{YouTube channel | ||
| id = UCR0V48DJyWbwEAdxLL5FjxA | | id = UCR0V48DJyWbwEAdxLL5FjxA | ||
| name = 日向坂46 OFFICIAL YouTube CHANNEL | | name = 日向坂46 OFFICIAL YouTube CHANNEL | ||
}} | }} | ||
{{YouTube | {{YouTube channel|UCR0V48DJyWbwEAdxLL5FjxA|日向坂46 OFFICIAL YouTube CHANNEL}} | ||
{{YouTube | {{YouTube channel|UCR0V48DJyWbwEAdxLL5FjxA}} | ||
{{YouTube | {{YouTube channel|user=AKB48}} | ||
|} | |} | ||
[[Category:Luaを利用するテンプレート]] | [[Category:Luaを利用するテンプレート]] | ||
90行目: | 90行目: | ||
], | ], | ||
"label": "チャンネル名", | "label": "チャンネル名", | ||
"description": "YouTube | "description": "YouTube channel id。", | ||
"example": "UCR0V48DJyWbwEAdxLL5FjxA", | "example": "UCR0V48DJyWbwEAdxLL5FjxA", | ||
"required": true, | "required": true, | ||
119行目: | 119行目: | ||
} | } | ||
}, | }, | ||
"description": "YouTube | "description": "YouTube channel へのリンクを生成するテンプレートです。", | ||
"paramOrder": [ | "paramOrder": [ | ||
"id", | "id", |