வார்ப்புரு:Extra chronology/doc
{{Documentation subpage}}
 &lt;!-- Categories go at the bottom of this page and interwikis go in Wikidata. --&gt;
 {{Lua|Module:Check for unknown parameters}}
 
 ==Usage==
 {{Main|Template:Infobox album#Template:Extra chronology}}
 
 Extra chronologies may be added to {{tl|Infobox album}} and {{tl|Infobox single}}, depending on which version of this template is used.  Both add the proper header, color, and formatting (depending on the {{para|type}} designation) and are added to the infoboxes in the {{para|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.
 
 ===Infobox album version===
 {{infobox|title=Albums and EPs|data1={{parameter names example|artist|type=studio|prev_title|prev_year|title|year|next_title|next_year}}}}
 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.
 
 ;Code :
 &lt;pre&gt;{{Infobox album
 ...
 | misc        = {{subst:Extra chronology
  | artist     = 
  | type       = 
  | prev_title = 
  | prev_year  = 
  | title      = 
  | year       = 
  | next_title = 
  | next_year  = 
  }}
 }}&lt;/pre&gt;
 
 ;artist : The name of the artist, with &lt;code&gt;live album&lt;/code&gt;, &lt;code&gt;EP&lt;/code&gt;, etc., appended to produce either &quot;Artist live album chronology&quot;, &quot;Artist EP chronology&quot;, etc.  If just the artist's name is used, the header will display &quot;Artist chronology&quot;.
 ;type : Specify &lt;code&gt;studio&lt;/code&gt;, &lt;code&gt;live&lt;/code&gt;, &lt;code&gt;compilation&lt;/code&gt;, etc., as detailed in {{tl|Infobox album/doc/type}} – this triggers the header color and formatting.
 ;prev_title : Enter the name of the previous album. If it has a WP article, add a link.
 ;prev_year : The year the previous album was released.
 ;title : Enter the name of the current or article title. This should not be wikilinked, since it should be the subject of the article.
 ;year : The year the current album was released. 
 ;next_title : Enter the name of the next album and link as appropriate.
 ;next_year : The year the next album was released.
 ;Notes : All parameters are optional except {{para|title}} and {{para|type}}. Horizontal lines replace the header row if you omit {{para|artist}}.
 
 ===Infobox song version===
 {{infobox|title=Singles|data1={{parameter names example|artist|type=single|prev_title|prev_year|title|year|next_title|next_year}}}}
 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 &quot;[[Ruby Tuesday (song)|Ruby Tuesday]]&quot;/&quot;[[Let's Spend the Night Together]]&quot;. The titles appear in quotes, with the current title also in bold. Extra formatting does not usually need to be added.
 
 ;Code :
 &lt;pre&gt;{{Infobox song
 ...
 | misc         = {{subst:Extra chronology
  | artist      = 
  | type        = single
  | prev_title  = 
  | prev_title2 = 
  | prev_year   = 
  | title       = 
  | title2      = 
  | year        = 
  | next_title  = 
  | next_title2 = 
  | next_year   = 
  }}
 }}
 &lt;/pre&gt;
 
 ;artist : Enter the name of the artist to produce &quot;Artist singles chronology&quot;. (The word &quot;singles&quot; is automatically added for singles chronologies.) Adding &lt;code&gt;American&lt;/code&gt;, &lt;code&gt;UK&lt;/code&gt;, etc. after &quot;Artist&quot; will display &quot;Artist American singles chronology&quot;, &quot;Artist UK singles chronology&quot;, etc.
 ;type : Specify &lt;code&gt;single&lt;/code&gt;. (In the event that another {{para|type}} is used in Infobox song, specify &lt;code&gt;song&lt;/code&gt; so that a light blue color will be produced).
 ;prev_title : Enter the name of the previous single. If it has a WP article, add a link.
 ;prev_title2 : Leave blank, unless the previous is a double A-side single. Then enter the name of the previous single second or flip side and link as appropriate.
 ;prev_year : The year the previous single was released.
 ;title : Enter the name of the current or article title. This should not be wikilinked, since it should be the subject of the article.
 ;title2 : Leave blank, unless it is a double A-side single. Then enter the name of the second or flip side of current or article title.
 ;year : The year the current single was released.
 ;next_title : Enter the name of the next single. If it has a article, add a link.
 ;next_title2 : Enter the name of the second or flip side of next single, if it is a double-A. Link as appropriate.
 ;next_year : The year the next single was released.
 ;Notes : All parameters are optional except {{para|title}} and {{para|type}}. Horizontal lines replace the header row if you omit {{para|artist}}.
 
 == Tracking categories ==
 * {{clc|Music infoboxes with malformed table placement}}
 * {{clc|Pages using extra chronology with unknown parameters}}
 
 {{clear}}
 
 ==TemplateData==
 {{TemplateDataHeader}}
 
 &lt;templatedata&gt;
 {
 	&quot;description&quot;: &quot;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.&quot;,
 	&quot;params&quot;: {
 		&quot;type&quot;: {
 			&quot;label&quot;: &quot;Type&quot;,
 			&quot;description&quot;: &quot;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&quot;,
 			&quot;type&quot;: &quot;string&quot;,
 			&quot;required&quot;: true,
 			&quot;suggested&quot;: true
 		},
 		&quot;artist&quot;: {
 			&quot;label&quot;: &quot;Artist&quot;,
 			&quot;description&quot;: &quot;The name of the recording artist&quot;,
 			&quot;type&quot;: &quot;string&quot;,
 			&quot;required&quot;: false,
 			&quot;suggested&quot;: true
 		},
 		&quot;prev_title&quot;: {
 			&quot;label&quot;: &quot;Previous title&quot;,
 			&quot;description&quot;: &quot;The title of the artist's previous release. Add a link if an article exists&quot;,
 			&quot;type&quot;: &quot;string&quot;,
 			&quot;required&quot;: false,
 			&quot;example&quot;: &quot;[[Help! (song)|Help!]]&quot;,
 			&quot;suggested&quot;: true
 		},
 		&quot;prev_title2&quot;: {
 			&quot;label&quot;: &quot;Previous title (2)&quot;,
 			&quot;description&quot;: &quot;The second title of the artist's previous release, for double A-sides only. Add a link if an article exists&quot;,
 			&quot;type&quot;: &quot;string&quot;,
 			&quot;required&quot;: false,
 			&quot;example&quot;: &quot;[[Day Tripper]]&quot;
 		},
 		&quot;prev_year&quot;: {
 			&quot;label&quot;: &quot;Previous year&quot;,
 			&quot;description&quot;: &quot;The year that the previous work was released&quot;,
 			&quot;type&quot;: &quot;date&quot;,
 			&quot;required&quot;: false,
 			&quot;example&quot;: &quot;1965&quot;,
 			&quot;suggested&quot;: true
 		},
 		&quot;title&quot;: {
 			&quot;label&quot;: &quot;Title&quot;,
 			&quot;description&quot;: &quot;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&quot;,
 			&quot;type&quot;: &quot;string&quot;,
 			&quot;required&quot;: true,
 			&quot;example&quot;: &quot;All Star&quot;,
 			&quot;suggested&quot;: true
 		},
 		&quot;title2&quot;: {
 			&quot;label&quot;: &quot;Title (2)&quot;,
 			&quot;description&quot;: &quot;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&quot;,
 			&quot;type&quot;: &quot;string&quot;,
 			&quot;required&quot;: false,
 			&quot;example&quot;: &quot;[[Strawberry Fields Forever]]&quot;
 		},
 		&quot;year&quot;: {
 			&quot;label&quot;: &quot;Year&quot;,
 			&quot;description&quot;: &quot;The year that the current work was released&quot;,
 			&quot;type&quot;: &quot;date&quot;,
 			&quot;required&quot;: true,
 			&quot;example&quot;: &quot;2001&quot;,
 			&quot;suggested&quot;: true
 		},
 		&quot;next_title&quot;: {
 			&quot;label&quot;: &quot;Next title&quot;,
 			&quot;description&quot;: &quot;The title of the artist's following release. Add a link if an article exists&quot;,
 			&quot;type&quot;: &quot;string&quot;,
 			&quot;required&quot;: false,
 			&quot;example&quot;: &quot;[[My Neck, My Back (Lick It)]]&quot;,
 			&quot;suggested&quot;: true
 		},
 		&quot;next_title2&quot;: {
 			&quot;label&quot;: &quot;Next title (2)&quot;,
 			&quot;description&quot;: &quot;The second title of the artist's following release, for double A-sides only. Add a link if an article exists&quot;,
 			&quot;type&quot;: &quot;string&quot;,
 			&quot;required&quot;: false,
 			&quot;example&quot;: &quot;[[Kids with Guns]]&quot;
 		},
 		&quot;next_year&quot;: {
 			&quot;label&quot;: &quot;Next year&quot;,
 			&quot;description&quot;: &quot;The year the following work was released&quot;,
 			&quot;type&quot;: &quot;date&quot;,
 			&quot;required&quot;: false,
 			&quot;example&quot;: &quot;2002&quot;
 		}
 	}
 }
 &lt;/templatedata&gt;
 
 
 &lt;includeonly&gt;{{Sandbox other||
 &lt;!-- Categories below this line, please; interwikis at Wikidata --&gt;
 [[Category:Music infobox templates]]
 [[Category:Embeddable templates]]
 [[Category:Templates that add a tracking category]]