Jump to content

Template:Sequence/doc

From Wikipedia, the free encyclopedia

This template is used to navigate through a sequence of articles, allowing an article of a series to link to the article before it and the one after it.

Usage

[edit]

Use as follows

{{Sequence
| prev = 
| list = 
| curr = 
| next = 
}}

Parameters

[edit]
  • |prev= - The previous page in the series. Can be wiki-linked. Optional.
  • |list= - The name of the series. Can be wiki-linked. Required.
  • |curr= - The current page in the series. Optional.
  • |next= - The next page in the series. Can be wiki-linked. Optional.

Examples

[edit]
Example 1
{{Sequence
| prev = [[Timeline of United States history (1860–1899)|1860–1899]]
| list = [[History of the United States]]
| curr = 1900–1929
| next = [[Timeline of United States history (1930–1949)|1930–1949]]
}}

produces

Preceded by
1860–1899
History of the United States
1900–1929
Succeeded by
1930–1949
Example 2
{{Sequence
| prev = [[List of Kosmos satellites (2251–2500)|2251–2500]]
| list = [[List of Kosmos satellites]]
| curr = 2501–2750
}}

produces

Preceded by
2251–2500
List of Kosmos satellites
2501–2750
Succeeded by

Not for depicting succession

[edit]

DO NOT use this template for the purpose of depicting succession, for example in biographies of officeholders. Instead of

{{Sequence
| list = [[Minister of Defence]]
| curr = 1940–1945
| next = [[Clement Attlee]]
}}

{{Sequence
| prev = [[Neville Chamberlain]]
| list = [[Conservative Party (UK)|Leader of the British Conservative Party]]
| curr = 1940–1955
| next = [[Anthony Eden|Sir Anthony Eden]]
}}

use

{{Start box}}

{{S-new}}
{{S-ttl|title=[[Secretary of State for Defence|Minister of Defence]]|years=1940–1945}}
{{S-aft|after=[[Clement Attlee]]}}

{{S-bef|before=[[Neville Chamberlain]]}}
{{S-ttl|title=[[Leader of the Conservative Party (UK)|Leader of the Conservative Party]]|years=1940–1955}}
{{S-aft|after=[[Anthony Eden]]}}

{{End box}}

This template may still be useful for other sequences, especially simple ordered lists of articles without associated spans of times.

Template Data

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Sequence in articles based on its TemplateData.

TemplateData for Sequence

Template is used to navigate through a sequence of articles.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Previousprev

The previous page in the series, can be wiki-linked.

Default
Example
[[Timeline of United States history (1860–1899)|1860–1899]]
Stringsuggested
Listlist

The title of the series, can be wiki-linked.

Example
[[History of the United States]]
Stringrequired
Currentcurr

The range for the current article.

Example
1970–1989
Stringsuggested
Nextnext

The following page in the series, can be wiki-linked.

Default
Example
[[Timeline of United States history (1930–1949)|1930–1949]]
Stringsuggested

See also

[edit]