「テンプレート:試聴」の版間の差分
提供: wikipokpok
(内容を「{{#invoke:Listen|main}}<noinclude> {{Documentation}} <!-- カテゴリはここではなく、/doc サブページに追加してください --> </noinclude>」で置換) |
|||
1行目: | 1行目: | ||
− | {{# | + | {{side box |
− | {{Documentation}} | + | |position = {{{pos|}}} |
− | <!-- | + | |style = {{#ifeq:{{{plain|}}}|yes|border:none; background:transparent; float:none;}}{{#ifeq:{{{pos|}}}|left|float:left;}}{{{style|}}} |
+ | |textstyle = line-height:1.1em; | ||
+ | |image = {{#ifeq:{{{plain|}}}|yes||{{#if:{{{image|}}}|{{{image}}}|[[File:{{#switch:{{lc:{{{type|}}}}} | ||
+ | | sound = Gnome-mime-sound-openclipart.svg | ||
+ | | speech = Audio-input-microphone.svg | ||
+ | | music | ||
+ | | #default = Gnome-mime-audio-openclipart.svg | ||
+ | }}|65x50px|center|link=|alt=]]}}}} | ||
+ | |text = {{#if:{{{header|}}}|<div style="background:transparent; text-align:left; padding:2px;">{{{header}}}</div>}} | ||
+ | {{試聴/core | ||
+ | |filename = {{{ファイル名|{{{filename|}}}}}} | ||
+ | |title = {{{タイトル|{{{title|}}}}}} | ||
+ | |description = {{{説明文|{{{description|}}}}}} | ||
+ | |alt = {{{alt|}}} | ||
+ | |play = {{{play|}}} | ||
+ | }} {{#if:{{{filename2|}}}| | ||
+ | {{試聴/core | ||
+ | |filename = {{{filename2|}}} | ||
+ | |title = {{{title2|}}} | ||
+ | |description = {{{description2|}}} | ||
+ | |alt = {{{alt2|}}} | ||
+ | |play = {{{play2|}}} | ||
+ | }}}}{{#if:{{{filename3|}}}| | ||
+ | {{試聴/core | ||
+ | |filename = {{{filename3|}}} | ||
+ | |title = {{{title3|}}} | ||
+ | |description = {{{description3|}}} | ||
+ | |alt = {{{alt3|}}} | ||
+ | |play = {{{play3|}}} | ||
+ | }}}}{{#if:{{{filename4|}}}| | ||
+ | {{試聴/core | ||
+ | |filename = {{{filename4|}}} | ||
+ | |title = {{{title4|}}} | ||
+ | |description = {{{description4|}}} | ||
+ | |alt = {{{alt4|}}} | ||
+ | |play = {{{play4|}}} | ||
+ | }}}}{{#if:{{{filename5|}}}| | ||
+ | {{試聴/core | ||
+ | |filename = {{{filename5|}}} | ||
+ | |title = {{{title5|}}} | ||
+ | |description = {{{description5|}}} | ||
+ | |alt = {{{alt5|}}} | ||
+ | |play = {{{play5|}}} | ||
+ | }}}}{{#if:{{{filename6|}}}| | ||
+ | {{試聴/core | ||
+ | |filename = {{{filename6|}}} | ||
+ | |title = {{{title6|}}} | ||
+ | |description = {{{description6|}}} | ||
+ | |alt = {{{alt6|}}} | ||
+ | |play = {{{play6|}}} | ||
+ | }}}}{{#if:{{{filename7|}}}| | ||
+ | {{試聴/core | ||
+ | |filename = {{{filename7|}}} | ||
+ | |title = {{{title7|}}} | ||
+ | |description = {{{description7|}}} | ||
+ | |alt = {{{alt7|}}} | ||
+ | |play = {{{play7|}}} | ||
+ | }}}}{{#if:{{{filename8|}}}| | ||
+ | {{試聴/core | ||
+ | |filename = {{{filename8|}}} | ||
+ | |title = {{{title8|}}} | ||
+ | |description = {{{description8|}}} | ||
+ | |alt = {{{alt8|}}} | ||
+ | |play = {{{play8|}}} | ||
+ | }}}}{{#if:{{{filename9|}}}| | ||
+ | {{試聴/core | ||
+ | |filename = {{{filename9|}}} | ||
+ | |title = {{{title9|}}} | ||
+ | |description = {{{description9|}}} | ||
+ | |alt = {{{alt9|}}} | ||
+ | |play = {{{play9|}}} | ||
+ | }}}}{{#if:{{{filename10|}}}| | ||
+ | {{試聴/core | ||
+ | |filename = {{{filename10|}}} | ||
+ | |title = {{{title10|}}} | ||
+ | |description = {{{description10|}}} | ||
+ | |alt = {{{alt10|}}} | ||
+ | |play = {{{play10|}}} | ||
+ | }}}} | ||
+ | |below = {{#ifeq:{{{plain|}}}|yes||{{#ifeq:{{{help|}}}|no||<span style="font-size:90%;">''{{#if:{{{filename2|}}}{{{filename3|}}}{{{filename4|}}}{{{filename5|}}}{{{filename6|}}}{{{filename7|}}}{{{filename8|}}}{{{filename9|}}}{{{filename10|}}}|これらの音声や映像|この音声や映像}}がうまく視聴できない場合は、[[Help:音声・動画の再生|<span title="音声ファイルを鳴らすには">サウンド再生のヒント</span>]]をご覧ください。''</span>}}}} | ||
+ | }}<noinclude> | ||
+ | {{nobots}}{{Documentation}} | ||
+ | <!-- カテゴリと言語間リンクはここではなく、/doc サブページに追加してください --> | ||
</noinclude> | </noinclude> |