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.