Allows audio and video files to be embedded in articles.
模板參數
此模板有自訂格式。
參數
描述
類型
狀態
Header
header
Text or other content to go above all the files in the template (but within the template boundary). Allows markup.
內容
非必填
Music or speech icon
type
Enter "music" or "speech" here to change the template icon to a speaker with music notes or a microphone.
建議值
soundmusicspeech
預設
sound
範例
music
行
非必填
Custom icon
image
Custom image to replace the speaker icon in the template. Alternatively, enter "none" here to hide the icon entirely.
範例
[[File:Example.jpg|50px]], none
檔案
非必填
Filename
filename
The filename of the file. Filename2, filename3, etc. can be used for subsequent files.
檔案
必填
Title
title
The title to display for the file. Title2, title3, etc. can be used for subsequent files.
字串
必填
Description
description
A description of the file. Description2, description3, etc. can be used for subsequent files.
字串
建議
Start time
start
Timestamp at which the first file should start playing (start2, start3, etc. can be used for subsequent files)
範例
0:20
行
非必填
Hide duration?
length
Enter "hide" here to hide the duration of the first file (length2, length3, etc. can be used for subsequent files).
範例
hide
行
非必填
Hide player?
play
Enter "no" here to hide the file player for the first file (play2, play3, etc. can be used for subsequent files). To be used for some media files that cannot be displayed inline, to prevent a broken inline link from showing.
範例
no
行
非必填
Hide help text?
help
Enter "no" here to hide the "Problems playing this file? See media help." text at the bottom of the template. Must not be done on the first instance of the template; optional on subsequent instances of the template.
範例
no
行
非必填
Position
pos
Enter "left" or "center" here to change the default position of the template from on the right.
建議值
leftcenterright
預設
right
範例
left
行
非必填
Plain style?
plain
Enter "yes" here to remove most of the ornamentation (border, background, icon and help text) and the float/positioning of the template to give a minimalist version, allowing the user to use the custom CSS ("style") parameter to style and position the template.
範例
yes
行
非必填
Optimise for embedding?
embed
Enter any text here to remove the left, right and bottom border, the background, the icon, the help text and the padding of the template for use in an infobox.