Template:YoutubeVideo:修订间差异
跳到导航
跳到搜索
imported>=海豚= ([InPageEdit] 没有编辑摘要) |
imported>=海豚= ([InPageEdit] 没有编辑摘要) |
||
第1行: | 第1行: | ||
<includeonly><center>{{#if:{{{id|{{{1|}}}}}}|{{#widget:YouTube|id={{{id|{{{1|}}}}}}|width={{{width|625}}}|height={{{height| | <includeonly><center>{{#if:{{{id|{{{1|}}}}}}|{{#widget:YouTube|id={{{id|{{{1|}}}}}}|width={{{width|625}}}|height={{{height|355}}}}}|{{#if:{{{playlist|}}}|{{#widget:YouTube|playlist={{{playlist|}}}|width={{{width|625}}}|height={{{height|355}}}}}|}}}}</center></includeonly><noinclude>{{doc|content= | ||
此模板使用了<nowiki>{{</nowiki>[[Widget:YouTube|#widget:YouTube]]<nowiki>}}</nowiki>。 | 此模板使用了<nowiki>{{</nowiki>[[Widget:YouTube|#widget:YouTube]]<nowiki>}}</nowiki>。 | ||
第9行: | 第9行: | ||
|playlist= 视频列表ID(不能与视频ID同时出现,否则会出错) | |playlist= 视频列表ID(不能与视频ID同时出现,否则会出错) | ||
|width= 视频显示宽度,默认为625像素 | |width= 视频显示宽度,默认为625像素 | ||
|height= 视频显示高度,默认 | |height= 视频显示高度,默认 为355 像素 | ||
}} | }} | ||
</pre> | </pre> |