本页使用了标题或全文手工转换

Template:Multi-listen item

维基百科,自由的百科全书
跳转至: 导航搜索
[[:File:{{{filename}}}|{{{title}}}]]
[[File:{{{filename}}}|220px|noicon|alt=]]
Documentation icon 模板文档[查看] [编辑] [页面历史] [清除]

模板介紹[编辑]

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}}

以上原始碼的顯示效果如下:


{{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