Template:S-ttl/doc

From A Wiki of Ice and Fire
Jump to: navigation, search

This page uses content from the English Wikipedia. The original content was at Template:S-ttl.
The list of authors can be seen in the page history of Template:S-ttl.
As with A Wiki of Ice and Fire, the content of Wikipedia is available under the GNU Free Documentation License.

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

Usage

[edit]

The format is {{s-ttl|title=enter title here|years=enter years title was held here|parameter=}}, where parameter= can be any of the optional parameters listed below.

Usage note: Any parameter displayed in italics or bold in the example below must not contain line breaks in the wikitext; for values with multiple lines, use Template:Tag instead of a manual line break.

Parameter names

  • title (required) — Text to be displayed for title.
  • order (optional) — Indicates the nth person to hold a given office. For use with offices that have a recognized sequence. E.g. 28th
  • district (optional) — For use with parliamentary offices. Insert as a wikilink the district represented during the tenure in office.
  • dynasty (optional) — Adds a sub-line beneath the title that allows for a "dynasty" number for certain royal dynastic lines (such as the Pharaohs of Egypt).
  • creation (optional) — Adds a sub-line beneath the title that allows for a "creation" number for certain noble titles (such as the Dukes of Cornwall).
  • years (optional) — Years served in office, typically a range of dates.
  • regent1regent8 AND years1years8 (optional) — 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 (optional) — This parameter is reserved for political positions where two people share power, such as US senators.
  • under (optional) — This parameter is reserved for political positions that are subordinate to others, such as Lieutenant Governors serving under Governors.
  • withwith25 (optional) — Alternative parameter for use when an office is shared with one or more others
  • lords (optional) — Designates that the person was a member of the House of Lords. The parameter is asking for the dates they served in the house.
  • rows (optional) — Number of table rows this entry should span.

Usage

{{S-ttl | title= | order= | district= | dynasty= | creation= | years= | regent1= | years1= | regent2= | years2= | regent3= | years3= | regent4= | years4= | regent5= | years5= | regent6= | years6= | regent7= | years7= | regent8= | years8= | alongside= | under= | with= | with2= | with3= | with4= | with5= | with6= | with7= | with8= | with9= | with10= | with11= | with12= | with13= | with14= | with15= | with16= | with17= | with18= | with19= | with20= | with21= | with22= | with23= | with24= | with25= | lords= | rows= }}

Output (raw)

Output (as table cell)

Output (in succession box, rows=2)

Preceded by
{{{before}}}

Template:Parameter names example

Succeeded by
{{{after}}}
Preceded by
{{{before}}}
Succeeded by
{{{after}}}

See also

[edit]

Documentation for creating succession boxes can be found at Template:S-start/doc.