Singles from Singles/sandbox |
---|
![]() | This is the template sandbox page for Template:Singles (diff). See also the companion subpage for test cases. |
![]() | This template is used on approximately 44,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Preview message: Transclusion count updated automatically (see documentation). |
![]() | This template uses Lua: |
This infobox is to be used as an additional miscellaneous listing at the bottom of Template:Infobox album (talk · links · edit).
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 =
| single1 =
| single1date =
| single2 =
| single2date =
| single3 =
| single3date =
| single4 =
| single4date =
| single5 =
| single5date =
| single6 =
| single6date =
| single7 =
| single7date =
| single8 =
| single8date =
| single9 =
| single9date =
| single10 =
| single10date =
| single11 =
| single11date =
| single12 =
| single12date =
}}
}}
Note that all fields are already properly formatted, so italics or quotation marks need not be entered in fields.
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Name | name | Name of the album or EP
| String | suggested |
Type | 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
| String | required |
Single 1 | single1 | Name of the first single. Add a link if an article exists
| String | required |
Single 1 date | single1date | Release date of the first single
| Date | suggested |
Single 2 | single2 | Name of the second single. Add a link if an article exists
| String | suggested |
Single 2 date | single2date | Release date of the second single
| Date | suggested |
Single 3 | single3 | Name of the third single. Add a link if an article exists
| String | suggested |
Single 3 date | single3date | Release date of the third single
| Date | suggested |
Single 4 | single4 | Name of the fourth single. Add a link if an article exists
| String | suggested |
Single 4 date | single4date | Release date of the fourth single
| Date | suggested |
Single 5 | single5 | Name of the fifth single. Add a link if an article exists
| String | optional |
Single 5 date | single5date | Release date of the fifth single
| Date | optional |
Single 6 | single6 | Name of the sixth single. Add a link if an article exists
| String | optional |
Single 6 date | single6date | Release date of the sixth single
| Date | optional |
Single 7 | single7 | Name of the seventh single. Add a link if an article exists
| String | optional |
Single 7 date | single7date | Release date of the seventh single
| Date | optional |
Single 8 | single8 | Name of the eighth single. Add a link if an article exists | String | optional |
Single 8 date | single8date | Release date of the eighth single | Date | optional |
Single 9 | single9 | Name of the ninth single. Add a link if an article exists | String | optional |
Single 9 date | single9date | Release date of the ninth single | Date | optional |
Single 10 | single10 | Name of the tenth single. Add a link if an article exists | String | optional |
Single 10 date | single10date | Release date of the tenth single | Date | optional |
Single 11 | single11 | Name of the eleventh single. Add a link if an article exists | String | optional |
Single 11 date | single11date | Release date of the eleventh single | Date | optional |
Single 12 | single12 | Name of the twelfth single. Add a link if an article exists | String | optional |
Single 12 date | single12date | Release date of the twelfth single | Date | optional |
Single 13 | single13 | Name of the thirteenth single. Add a link if an article exists | String | optional |
Single 13 date | single13date | Release date of the thirteenth single | Date | optional |
Single 14 | single14 | Name of the fourteenth single. Add a link if an article exists | String | optional |
Single 14 date | single14date | Release date of the fourteenth single | Date | optional |
Single 15 | single15 | Name of the fifteenth single. Add a link if an article exists | String | optional |
Single 15 date | single15date | Release date of the fifteenth single | Date | optional |