Template:Sequence

Revision as of 20:19, 8 January 2012 by Cogniac (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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=
}}

Display

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.