Template:Singles

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search
Singles from Singles
Template documentation[view] [edit] [history] [purge]

This infobox is to be used as an additional miscellaneous listing at the bottom of Template:Infobox album (talk · links · edit).

Usage[change source]

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           =
{{subst:Singles
| name         = 
| type         = 
| 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.
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[change source]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly error report for this template.

TemplateData for Singles

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.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename Name

Name of the album or EP

Example
1989
Stringrequired
Typetype Type

To specify the type of recording (should be the same as in {{Infobox album}}). Valid values are: single, studio, demo, ep, live, greatest, remix, box, compilation, mixtape, soundtrack, film, cast, video, other

Example
studio
Stringrequired
Single 1single1 single 1 Single 1

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

Example
[[Shake It Off]]
Stringrequired
Single 1 datesingle1date single 1 date Single 1 date

Release date of the first single

Example
August 18, 2014
Datesuggested
Single 2single2 single 2 Single 2

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

Example
[[Blank Space]]
Stringsuggested
Single 2 datesingle2date single 2 date Single 2 date

Release date of the second single

Example
November 10, 2014
Datesuggested
Single 3single3 single 3 Single 3

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

Example
[[Style (Taylor Swift song)|Style]]
Stringsuggested
Single 3 datesingle3date single 3 date Single 3 date

Release date of the third single

Example
February 9, 2015
Datesuggested
Single 4single4 single 4 Single 4

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

Example
[[Bad Blood (Taylor Swift song)|Bad Blood]]
Stringsuggested
Single 4 datesingle4date single 4 date Single 4 date

Release date of the fourth single

Example
May 17, 2015
Datesuggested
Single 5single5 single 5 Single 5

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

Example
[[Wildest Dreams (Taylor Swift song)|Wildest Dreams]]
Stringoptional
Single 5 datesingle5date single 5 date Single 5 date

Release date of the fifth single

Example
August 31, 2015
Dateoptional
Single 6single6 single 6 Single 6

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

Example
[[Out of the Woods (song)|Out of the Woods]]
Stringoptional
Single 6 datesingle6date single 6 date Single 6 date

Release date of the sixth single

Example
February 5, 2016
Dateoptional
Single 7single7 single 7 Single 7

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

Example
[[New Romantics (song)|New Romantics]]
Stringoptional
Single 7 datesingle7date single 7 date Single 7 date

Release date of the seventh single

Example
February 23, 2016
Dateoptional
Single 8single8 single 8 Single 8

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

Stringoptional
Single 8 datesingle8date single 8 date Single 8 date

Release date of the eighth single

Dateoptional
Single 9single9 single 9 Single 9

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

Stringoptional
Single 9 datesingle9date single 9 date Single 9 date

Release date of the ninth single

Dateoptional
Single 10single10 single 10 Single 10

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

Stringoptional
Single 10 datesingle10date single 10 date Single 10 date

Release date of the tenth single

Dateoptional
Single 11single11 single 11 Single 11

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

Stringoptional
Single 11 datesingle11date single 11 date Single 11 date

Release date of the eleventh single

Dateoptional
Single 12single12 single 12 Single 12

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

Stringoptional
Single 12 datesingle12date single 12 date Single 12 date

Release date of the twelfth single

Dateoptional
Single 13single13 single 13 Single 13

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

Stringoptional
Single 13 datesingle13date single 13 date Single 13 date

Release date of the thirteenth single

Dateoptional
Single 14single14 single 14 Single 14

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

Stringoptional
Single 14 datesingle14date single 14 date Single 14 date

Release date of the fourteenth single

Dateoptional
Single 15single15 single 15 Single 15

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

Stringoptional
Single 15 datesingle15date single 15 date Single 15 date

Release date of the fifteenth single

Dateoptional