Difference between revisions of "Template:S-ttl"

From Chevy Wiki
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision)
 
Line 1: Line 1:
<includeonly>|- style="text-align: center;"
<includeonly>|width="40%" style="text-align: center;" rowspan="{{{rows|1}}}"|'''{{{title}}}'''{{#if:{{{district|}}}|<br/><small>'''''Representative for {{{district}}}'''''</small>|}}{{#if:{{{dynasty|}}}|<br/>''{{{dynasty}}}''|}}{{#if:{{{creation|}}}|<br/>''{{{creation}}}''|}}{{#if:{{{years|}}}|<br />{{{years}}}|}}{{#if:{{{regent1|}}}|<br/>''with {{{regent1}}}''|}} {{#if:{{{years1|}}}| <small>'' ({{{years1}}})''</small>|}}{{#if:{{{regent2|}}}|<br/>''{{{regent2}}}''|}} {{#if:{{{years2|}}}| <small>'' ({{{years2}}})''</small>|}}{{#if:{{{regent3|}}}|<br/>''{{{regent3}}}''|}} {{#if:{{{years3|}}}| <small>'' ({{{years3}}})''</small>|}}{{#if:{{{regent4|}}}|<br/>''{{{regent4}}}''|}} {{#if:{{{years4|}}}| <small>'' ({{{years4}}})''</small>|}}{{#if:{{{regent5|}}}|<br/>''{{{regent5}}}''|}} {{#if:{{{years5|}}}| <small>'' ({{{years5}}})''</small>|}}{{#if:{{{regent6|}}}|<br/>''{{{regent6}}}''|}} {{#if:{{{years6|}}}| <small>'' ({{{years6}}})''</small>|}}{{#if:{{{regent7|}}}|<br/>''{{{regent7}}}''|}} {{#if:{{{years7|}}}| <small>'' ({{{years7}}})''</small>|}}{{#if:{{{regent8|}}}|<br/>''{{{regent8}}}''|}} {{#if:{{{years8|}}}| <small>'' ({{{years8}}})''</small>|}}{{#if:{{{alongside|}}}|<br/><small>Served alongside: '''{{{alongside}}}'''</small>|}}{{#if:{{{lords|}}}|<br/><small>''Member of the [[House of Lords]]''<br/>''({{{lords}}})''</small>|}}</includeonly><noinclude>
{{s-bef|rows={{{rows|1}}}|before={{{before}}}}}
{{pp-template|small=yes}}
{{s-ttl|rows={{{rows|1}}}|title={{{title}}}|years={{{years}}}}}
{{s-aft|rows={{{rows|1}}}|after={{{after}}}}}</includeonly><noinclude>
{{Pp-template|small=yes}}
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 15:05, 3 February 2009

[edit] Template-info.svg Template documentation

This template creates a single succession box center column to be used with succession boxes for the function of listing titles.

Usage

The format is {{s-ttl|title=enter title here|years=enter years title was held here|parameter=}}, where parameter= can be used optionally for any of the additional parameters listed in the following table.

district — For use with parliamentary offices. Insert as a wikilink the district represented during the tenure in office.
regent1 (or regent 2, or regent 3) AND years1 (or years2, or years3) — These parameters can be used when an office is held in tandem with another person. Examples of this include co-rulers of a country or region and regencies. It does not include consorts or sub-positions such as vice presidencies. The "years" parameter should only contain years, not days or months, but all other guidelines rules apply.
alongside — This parameter is reserved for political positions where two people share power, such as US senators.
lords — Designates that the person was a member of the House of Lords. The parameter is asking for the dates they served in the house.
creation — Adds a sub-line beneath the title that allows for a "creation" number for certain noble titles (such as the Dukes of Cornwall).
dynasty — Adds a sub-line beneath the title that allows for a "dynasty" number for certain royal dynastic lines (such as the Pharaohs of Egypt).

This template allows for multiple row-spans using the parameter |rows=| between the template name and the first parameter.

Example

From the Richard, 1st Earl of Cornwall article:

{{s-start}}
{{s-reg | en}}
{{s-new | creation}}
{{s-ttl | title=[[Earl of Cornwall]]
| creation=7th creation
| years=4 March 1857 – 21 January 1861}}
{{s-aft | after=[[Edmund, 2nd Earl of Cornwall|Edmund]]}}
{{end}}
Peerage of England
New creation Earl of Cornwall
7th creation
4 March 1857 – 21 January 1861
Succeeded by
Edmund

From the Jefferson Davis article:

{{s-start}}
{{s-par | us-sen}}
{{s-bef | before=[[Stephen Adams]]}}
{{s-ttl | title=[[List of United States Senators from Mississippi|Senator from Mississippi (Class 1)]]
| years=March 4, 1857 – January 21, 1861
| alongside=[[Albert G. Brown]]}}
{{s-aft|after=[[Adalbert Ames]]}}
{{end}}
United States Senate
Preceded by
Stephen Adams
Senator from Mississippi (Class 1)
March 4, 1857 – January 21, 1861
Served alongside: Albert G. Brown
Succeeded by
Adalbert Ames

See also

Documentation for creating succession boxes can be found at Template:S-start/doc. id:Templat:S-ttl ja:Template:S-ttl tr:Şablon:S-ttl