Template:Multi-listen item
[[:File:{{{filename}}}|{{{title}}}]]
[[File:{{{filename}}}|220px|noicon|alt=]]
模板介紹
编辑Template:Multi-listen系列嗰模板好用來連結多個音頻文件。好用來勒文章當中插進一組音頻文件,可以是音樂嗰片段或者錄音。
參數搭使用方法
编辑如果要勒文章當中用箇系列嗰模板,請參考下頭嗰形式:
{{multi-listen start}} {{multi-listen item|filename=name_of_file_1_on_commons.ogg|title=Title of this file|description=The description of this file|format=[[Ogg]]}} {{multi-listen item|filename=name_of_file_2_on_commons.ogg|title=Title of this file|description=The description of this file|format=[[Ogg]]}} {{multi-listen item|filename=name_of_file_3_on_commons.ogg|title=Title of this file|description=The description of this file|format=[[Ogg]]}} {{multi-listen end}}
例子
编辑{{multi-listen start}} {{multi-listen item |filename = Kimi ga Yo 1930.ogg |title = '''1880''' – Kimi ga Yo |description = 1930 recording of the Japanese national anthem, [[Kimi ga Yo]]. Includes both the vocal and instrumental parts. |format = [[Ogg]] }} {{multi-listen item |filename = Skye Boat Song.ogg |title = '''1884''' – The Skye Boat Song |description = An adaptation of the [[Skye Boat Song]] for [[bagpipes]] played by the Clan Stewart [[Pipe Band]]. |format = [[Ogg]] }} {{multi-listen item |filename=Enrico Caruso - Geraldine Farrar - Jules Massenet - Manon - On L'appelle Manon.ogg |title='''1884''' – ''Manon'': "Manon! avez-vous peur...On l'appelle Manon" |description=1912 recording by [[Enrico Caruso]] and [[Geraldine Farrar]] of a scene from Act II of [[Jules Massenet]]'s ''[[Manon]]'' (1884). |format=[[Ogg]] }} {{multi-listen end}}
上頭CODE嗰顯示效果:
- 如果碰着問題,請看 媒體幫助.
1930 recording of the Japanese national anthem, Kimi ga Yo. Includes both the vocal and instrumental parts.
1912 recording by Enrico Caruso and Geraldine Farrar of a scene from Act II of Jules Massenet's Manon (1884).
{{Multi-listen item}} 畀了一個可選嗰寬度參數,好用來迴避標準嗰AUDIO BOX太長嗰情況。
{{multi-listen item |filename = Skye Boat Song.ogg |title = The Skye Boat Song |description = |format = [[Ogg]] |width=80px }}
輸出效果是:
參看
编辑所有語種維基百科音頻模板嗰概覽(audio templates),請看:commons:List of the different audio-templates for the Wikipedias
以上模板文檔嵌自Template:Multi-listen item/doc。 (編纂 | 歷史) 編者可於箇模板個/sandbox (創建 | 鏡像)搭/testcases (創建)頁面進行試驗。 請到/doc子頁裡向添加分類。 箇模板個子頁。 |