コンテンツにスキップ

英文维基 | 中文维基 | 日文维基 | 草榴社区

利用者:Omotecho/sandbox/Template:S-ttl/doc

Copied to translate from 英語版en:Template:S-ttl/docの直近の 1087504940 番すなわち2022-05-12T21:42 (UTC) 時点の Jonesey95 による版を転記。テンプレートに「tl:」をつけて無効化。赤リンク回避のため内部リンクに「:en:」を付与。 {{tl:Documentation subpage}} This template creates a single succession box center column to be used with succession boxes for the function of listing titles.

{{tl:High-risk|200,000+}}

Usage

[編集]

The format is {{tl: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 {{tl:tag|br|s}} 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

{{tl: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)

{{tl:Parameter names example | title | order | district | dynasty | creation | years | regent1 | years1 | regent2 | years2 | regent3=... | years3=... | regent8 | years8 | alongside | under | with | with2 | with3=... | with25 | lords | rows }}

Output (as table cell)

{{tl:S-start}} {{tl:Parameter names example | title | order | district | dynasty | creation | years | regent1 | years1 | regent2 | years2 | regent3=... | years3=... | regent8 | years8 | alongside | under | with | with2 | with3=... | with25 | lords }} {{tl:S-end}}

Output (in succession box, rows=2)

{{tl:S-start}} {{tl:S-bef}} {{tl:Parameter names example | rows=2 | title | order | district | dynasty | creation | years | regent1 | years1 | regent2 | years2 | regent3=... | years3=... | regent8 | years8 | alongside | under | with | with2 | with3=... | with25 | lords }} {{tl:S-aft}} {{tl:S-bef}} {{tl:S-aft}} {{tl:S-end}}

Examples

[編集]

From the en:Richard, 1st Earl of Cornwall article:

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

{{tl:s-start}} {{tl:s-reg | en}} {{tl:s-new | creation}} {{tl:s-ttl | title=en:Earl of Cornwall | creation=7th creation | years=4 March 1857 – 21 January 1861}} {{tl:s-aft | after=Edmund}} {{tl:s-end}}

From the en:Jefferson Davis article:

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

{{tl:s-start}} {{tl:s-par | us-sen}} {{tl:s-bef | before=Stephen Adams}} {{tl:s-ttl | title=Senator from Mississippi (Class 1) | years=March 4, 1857 – January 21, 1861 | alongside=en:Albert G. Brown}} {{tl:s-aft|after=en:Adalbert Ames}} {{tl:s-end}}

From the en:Woodrow Wilson article:

{{tl:s-start}}
{{tl:s-off}}
{{tl:s-bef|before=[[:en:William Howard Taft]]}}
{{tl:s-ttl|title=[[:en:President of the United States]]|order=28th|years=1913–1921}}
{{tl:s-aft|After=[[:en:Warren G. Harding]]}}
{{tl:s-end}}

{{tl:s-start}} {{tl:s-off}} {{tl:s-bef|before=en:William Howard Taft}} {{tl:s-ttl|title=en:President of the United States|order=28th|years=1913–1921}} {{tl:s-aft|after=en:Warren G. Harding}} {{tl:s-end}}

TemplateData

[編集]

{{tl:TemplateData header}}

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

テンプレートパラメーター

このテンプレートは、パラメーターを複数行に分けて記述することが推奨されています。

パラメーター説明状態
titletitle

Text to be displayed for title.

文字列必須
orderorder

Indicates the nth person to hold a given office. Should always be used in numerical, not written form. For use with offices that have a recognized sequence.

28th
文字列省略可能
districtdistrict

For use with parliamentary offices. Insert as a wikilink the district represented during the tenure in office.

文字列省略可能
dynastydynasty

Adds a sub-line beneath the title that allows for a 'dynasty' number for certain royal dynastic lines (such as the Pharaohs of Egypt).

文字列省略可能
creationcreation

Adds a sub-line beneath the title that allows for a 'creation' number for certain noble titles (such as the Dukes of Cornwall).

文字列省略可能
yearsyears

Years served in office, typically a range of dates.

文字列推奨
regent1regent1

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.

文字列省略可能
years1years1

Time regent1 served. Should only contain years, not days or months.

文字列省略可能
regent2regent2

説明なし

文字列省略可能
years2years2

説明なし

文字列省略可能
regent3regent3

説明なし

文字列省略可能
years3years3

説明なし

文字列省略可能
regent4regent4

説明なし

文字列省略可能
years4years4

説明なし

文字列省略可能
regent5regent5

説明なし

文字列省略可能
years5years5

説明なし

文字列省略可能
regent6regent6

説明なし

文字列省略可能
years6years6

説明なし

文字列省略可能
regent7regent7

説明なし

文字列省略可能
years7years7

説明なし

文字列省略可能
regent8regent8

説明なし

文字列省略可能
years8years8

説明なし

文字列省略可能
alongsidealongside

This parameter is reserved for political positions where two people share power, such as US senators.

文字列省略可能
underunder

This parameter is reserved for political positions that are subordinate to others.

文字列省略可能
withwith

For use when an office is shared with one or more others.

文字列省略可能
with2with2

説明なし

文字列省略可能
with3with3

説明なし

文字列省略可能
with4with4

説明なし

文字列省略可能
with5with5

説明なし

文字列省略可能
with6with6

説明なし

文字列省略可能
with7with7

説明なし

文字列省略可能
with8with8

説明なし

文字列省略可能
with9with9

説明なし

文字列省略可能
with10with10

説明なし

文字列省略可能
with11with11

説明なし

文字列省略可能
with12with12

説明なし

文字列省略可能
with13with13

説明なし

文字列省略可能
with14with14

説明なし

文字列省略可能
with15with15

説明なし

文字列省略可能
with16with16

説明なし

文字列省略可能
with17with17

説明なし

文字列省略可能
with18with18

説明なし

文字列省略可能
with19with19

説明なし

文字列省略可能
with20with20

説明なし

文字列省略可能
with21with21

説明なし

文字列省略可能
with22with22

説明なし

文字列省略可能
with23with23

説明なし

文字列省略可能
with24with24

説明なし

文字列省略可能
with25with25

説明なし

文字列省略可能
lordslords

Designates that the person was a member of the House of Lords. The dates they served in the house should be specified.

文字列省略可能
rowsrows

Number of table rows this entry should span.

文字列省略可能

See also

[編集]

Documentation for creating succession boxes can be found at en:Template:S-start/doc. <includeonly>{{tl:Sandbox other|| [[:en:Category:Succession templates]] }}</includeonly>