Template:Sequence
Revision as of 12:58, 22 August 2011 by Cogniac (Talk | contribs) (Protected "Template:Sequence" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
Template:Sequence is designed for use on all applicable pages to clearly indicate that the page's subject is part of a chronological sequence.
Template
{{Sequence |title= |current= |date= |previous= |next= }}
Parameters
title
- Usage: Mandatory
- Description: The title parameter takes any string or strings denoting the category of pages under which the sequence falls. This is used to generate the header of the sequence box.
- Valid Value(s): Any string or strings.
current
- Usage: Mandatory
- Description: The current parameter takes any string or strings denoting the current article's subject. This is used to generate the bolded text on the upper line in the center of the sequence box, or to the left or right of the sequence box, depending on the length of the overall sequence.
- Valid Value(s): Any string or strings.
date
- Usage: Mandatory
- Description: The date parameter takes a string denoting the date of the current article's subject. This is used to generate the date beneath the current article's subject in the sequence box.
- Valid Value(s): Any string representing a date.
previous
- Usage: Optional
- Description: The previous parameter takes a string denoting the article that comes before the current article in the sequence. This is used to generate the link under the "Previous" heading in the leftmost section of the sequence box that links to the previous article in the sequence. If there is no "Next" article in the sequence, this parameter becomes mandatory, as otherwise you would be left with a one-article sequence.
- Valid Value(s): Any string or strings.
next
- Usage: Optional
- Description: The next parameter takes a string denoting the article that comes after the current article in the sequence. This is used to generate the link under the "Next" heading in the rightmost section of the sequence box that links to the next article in the sequence. If there is no "Previous" article in the sequence, this parameter becomes mandatory, as otherwise you would be left with a one-article sequence.
- Valid Value(s): Any string or strings.