资讯框须用于Template:Infobox album下的|misc=栏位。

Usage

This infobox should be placed in the |misc= field as shown below, using the field cases also shown below. Any unused fields may be left out.

If this template is substituted, it will return a cleaned-up copy of itself (see Wikipedia:Substitution trick) with unnecessary parameters removed and deprecated parameters replaced. Parameter indentation will also automatically be fixed.

{{Infobox album <!-- See Wikipedia:WikiProject_Albums -->
...
| misc           =
{{Singles
| name         = 
| type         = 
| cover        =
| single1      = 
| single1date  =
| single2      = 
| single2date  =
| single3      = 
| single3date  =
| single4      = 
| single4date  =
| single5      = 
| single5date  =
| single6      = 
| single6date  =
| single7      = 
| single7date  =
| single8      = 
| single8date  =
| single9      = 
| single9date  =
| single10     = 
| single10date =
| single11     = 
| single11date =
| single12     = 
| single12date =
}}
}}
Name
The name of the album (the formatting will add italics).
Type
The album type, e.g., studio, live, compilation, etc., specified in Template:Infobox album#Type.
Cover
The poster of the single.
Single #
The name of the single (the formatting will add "quote" marks). If it has a WP article, add a link.
Single # date
The date the single was released. If full date is unknown, use month and year or just year. Do not use the {{Start date}} template in this field.

Note that all fields are already properly formatted, so italics or quotation marks need not be entered in fields.

TemplateData

以下是该模板的模板数据,适用于可视化编辑器等工具。

单曲模板数据

For use with {{Infobox album}} – adds a list of singles from a recording. If there are deprecated parameters, substitute the template and it will clean itself up.

模板参数

此模板首选参数换行的代码块格式。

参数描述类型状态
Namename

专辑的名称

示例值
1989
字符串必需
Typetype

专辑的总体类型,应与{{Infobox album}}相同。可用值有:single, studio, demo, ep, live, greatest, remix, box, compilation, mixtape, soundtrack, film, cast, video, other

示例值
studio
字符串必需
Single 1single1

Name of the first single. Add a link if an article exists

示例值
[[Shake It Off]]
字符串必需
Single 1 datesingle1date

Release date of the first single

示例值
August 18, 2014
日期推荐
Single 2single2

Name of the second single. Add a link if an article exists

示例值
[[Blank Space]]
字符串推荐
Single 2 datesingle2date

Release date of the second single

示例值
November 10, 2014
日期推荐
Single 3single3

Name of the third single. Add a link if an article exists

示例值
[[Style (Taylor Swift song)|Style]]
字符串推荐
Single 3 datesingle3date

Release date of the third single

示例值
February 9, 2015
日期推荐
Single 4single4

Name of the fourth single. Add a link if an article exists

示例值
[[Bad Blood (Taylor Swift song)|Bad Blood]]
字符串推荐
Single 4 datesingle4date

Release date of the fourth single

示例值
May 17, 2015
日期推荐
Single 5single5

Name of the fifth single. Add a link if an article exists

示例值
[[Wildest Dreams (Taylor Swift song)|Wildest Dreams]]
字符串可选
Single 5 datesingle5date

Release date of the fifth single

示例值
August 31, 2015
日期可选
Single 6single6

Name of the sixth single. Add a link if an article exists

示例值
[[Out of the Woods (song)|Out of the Woods]]
字符串可选
Single 6 datesingle6date

Release date of the sixth single

示例值
February 5, 2016
日期可选
Single 7single7

Name of the seventh single. Add a link if an article exists

示例值
[[New Romantics (song)|New Romantics]]
字符串可选
Single 7 datesingle7date

Release date of the seventh single

示例值
February 23, 2016
日期可选
Single 8single8

Name of the eighth single. Add a link if an article exists

字符串可选
Single 8 datesingle8date

Release date of the eighth single

日期可选
Single 9single9

Name of the ninth single. Add a link if an article exists

字符串可选
Single 9 datesingle9date

Release date of the ninth single

日期可选
Single 10single10

Name of the tenth single. Add a link if an article exists

字符串可选
Single 10 datesingle10date

Release date of the tenth single

日期可选
Single 11single11

Name of the eleventh single. Add a link if an article exists

字符串可选
Single 11 datesingle11date

Release date of the eleventh single

日期可选
Single 12single12

Name of the twelfth single. Add a link if an article exists

字符串可选
Single 12 datesingle12date

Release date of the twelfth single

日期可选
Single 13single13

Name of the thirteenth single. Add a link if an article exists

字符串可选
Single 13 datesingle13date

Release date of the thirteenth single

日期可选
Single 14single14

Name of the fourteenth single. Add a link if an article exists

字符串可选
Single 14 datesingle14date

Release date of the fourteenth single

日期可选
Single 15single15

Name of the fifteenth single. Add a link if an article exists

字符串可选
Single 15 datesingle15date

Release date of the fifteenth single

日期可选

参见