Template:S-par/doc
This is a documentation subpage for Template:S-par. It may contain usage information, categories and other content that is not part of the original template page. |
This template creates a header to be used with succession boxes.
Usage
changeWithout parameter
changeThe template defaults to Assembly seats if no parameter is given. In the following table, the first column contains the header and the second column shows the template call used to create it.
Assembly seats | {{s-par}}
|
---|
With parameter
changeThe format is {{s-par|parameter}}
, where parameter is replaced by one of the parameter names shown in the following table. The first column displays the header and the second column contains the parameter name. Comments (if any) are shown in the third column.
Example
changeFrom the Winston Churchill article:
{{s-start}} {{s-par|uk}} {{s-bef|before=[[Walter Runciman, 1st Viscount Runciman of Doxford|Walter Runciman]]}} {{s-ttl|title=[[Member of Parliament]] for [[Oldham (UK Parliament constituency)|Oldham]] |years=[[United Kingdom general election, 1900|1900]]–[[United Kingdom general election, 1906|1906]]}} {{s-aft|after=[[John Albert Bright|John Bright]]}} {{s-end}}
Parliament of the United Kingdom (1801–present) | ||
---|---|---|
Preceded by Walter Runciman |
Member of Parliament for Oldham 1900–1906 |
Succeeded by John Bright |
Related pages
changeDocumentation for creating succession boxes can be found at Template:S-start/doc.