Template:Sequence/doc

From Hack Forums Wiki
Revision as of 19:20, 18 June 2015 by Roger Waters (talk | contribs) (Created page with "{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> __TOC__ == Usage...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

Use as follows:

{{sequence|
prev=[[previous entry]]|
next=[[next entry]]|
list=[[list]]
}}

Deprecated for depicting succession

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

{{Sequence
| prev=&mdash;
| list=[[Minister of Defence]]<br>1940&ndash;1945
| next=[[Clement Attlee]]
}}

{{Sequence
| prev=[[Neville Chamberlain]]
| list=[[Conservative Party (UK)|Leader of the British Conservative Party]]<br>1940&ndash;1955
| next=[[Anthony Eden|Sir Anthony Eden]]
}}

...

use

{{Start box}}

{{Succession box
| before=&mdash;
| title=[[Minister of Defence]]
| years=1940&ndash;1945
| after=[[Clement Attlee]]
}}

{{Succession box
| before=[[Neville Chamberlain]]
| title=[[Conservative Party (UK)|Leader of the British Conservative Party]]
| years=1940&ndash;1955
| after=[[Anthony Eden|Sir Anthony Eden]]
}}

...

{{End box}}

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

See also