This is the template sandbox page for Template:Extra chronology (diff). See also the companion subpage for test cases. |
This template is used on approximately 16,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: |
Extra chronologies may be added to {{Infobox album}} and {{Infobox song}}, depending on which version of this template is used. Both add the proper header, color, and formatting (depending on the |type=
designation) and are added to the infoboxes in the |misc=
field.
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.
{{{artist}}} chronology | ||||
---|---|---|---|---|
|
The album version provides the previous, current, and next albums and the years of their release. The titles appear in italics, with the current title also in bold. Extra formatting does not usually need to be added.
{{Infobox album
...
| misc = {{subst:Extra chronology
| artist =
| type =
| prev_title =
| prev_year =
| title =
| year =
| next_title =
| next_year =
}}
}}
live album
, EP
, etc., appended to produce either "Artist live album chronology", "Artist EP chronology", etc. If just the artist's name is used, the header will display "Artist chronology".studio
, live
, compilation
, etc., as detailed in {{Infobox album/doc/type}} – this triggers the header color and formatting.|title=
and |type=
. Horizontal lines replace the header row if you omit |artist=
.{{{artist}}} singles chronology | ||||
---|---|---|---|---|
|
In addition to providing the previous, current, and next singles and the years of their release, the single version allows two song titles to be entered. This is useful for double A-side singles, such as "Ruby Tuesday"/"Let's Spend the Night Together". The titles appear in quotes, with the current title also in bold. Extra formatting does not usually need to be added.
{{Infobox song
...
| misc = {{subst:Extra chronology
| artist =
| type = single
| prev_title =
| prev_title2 =
| prev_year =
| title =
| title2 =
| year =
| next_title =
| next_title2 =
| next_year =
}}
}}
American
, UK
, etc. after "Artist" will display "Artist American singles chronology", "Artist UK singles chronology", etc.single
. (In the event that another |type=
is used in Infobox song, specify song
so that a light blue color will be produced).|title=
and |type=
. Horizontal lines replace the header row if you omit |artist=
.TemplateData for Extra chronology
For use with {{Infobox album}} or {{Infobox single}} – adds an extra chronology range. If there are deprecated parameters, substitute the template and it will clean itself up.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Type | type | To specify single or a type of album. Valid values are: single, studio, demo, ep, live, greatest, remix, box, compilation, mixtape, soundtrack, film, cast, video, other | String | required |
Artist | artist | The name of the recording artist | String | suggested |
Previous title | prev_title | The title of the artist's previous release. Add a link if an article exists
| String | suggested |
Previous title (2) | prev_title2 | The second title of the artist's previous release, for double A-sides only. Add a link if an article exists
| String | optional |
Previous year | prev_year | The year that the previous work was released
| Date | suggested |
Title | title | The title of the current release. No formatting required. For double A-sides only, if this is the other side add a wikilink if an article exists
| String | required |
Title (2) | title2 | The second title of the current release, for double A-sides only. If this is the other side then add a link if an article exists
| String | optional |
Year | year | The year that the current work was released
| Date | required |
Next title | next_title | The title of the artist's following release. Add a link if an article exists
| String | suggested |
Next title (2) | next_title2 | The second title of the artist's following release, for double A-sides only. Add a link if an article exists
| String | optional |
Next year | next_year | The year the following work was released
| Date | suggested |