ढाँचा:S-ttl/doc

विकिपिडिया बठेइ

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 any of the optional parameters listed below.

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.
  • 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= | 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)

| style="width: 40%; text-align: center;" rowspan="{{{rows}}}"|{{{order}}} {{{title}}}
Representative for {{{district}}}
{{{dynasty}}}
{{{creation}}}
{{{years}}}
with {{{regent1}}} ({{{years1}}})
{{{regent2}}} ({{{years2}}})
... (...)
{{{regent8}}} ({{{years8}}})
Served alongside: {{{alongside}}}
With: {{{with}}}
{{{with2}}}
...
{{{with25}}}

Member of the House of Lords
({{{lords}}})

Output (as table cell)
{{{order}}} {{{title}}}
Representative for {{{district}}}
{{{dynasty}}}
{{{creation}}}
{{{years}}}
with {{{regent1}}} ({{{years1}}})
{{{regent2}}} ({{{years2}}})
... (...)
{{{regent8}}} ({{{years8}}})
Served alongside: {{{alongside}}}
With: {{{with}}}
{{{with2}}}
...
{{{with25}}}

Member of the House of Lords
({{{lords}}})
Output (in succession box, rows=2)
पूर्वाधिकारि
{{{before}}}
{{{order}}} {{{title}}}
Representative for {{{district}}}
{{{dynasty}}}
{{{creation}}}
{{{years}}}
with {{{regent1}}} ({{{years1}}})
{{{regent2}}} ({{{years2}}})
... (...)
{{{regent8}}} ({{{years8}}})
Served alongside: {{{alongside}}}
With: {{{with}}}
{{{with2}}}
...
{{{with25}}}

Member of the House of Lords
({{{lords}}})
उत्तराधिकारि
{{{after}}}
पूर्वाधिकारि
{{{before}}}
उत्तराधिकारि
{{{after}}}

Examples[स्रोत सम्पादन]

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]]}}
{{s-end}}
Peerage of England
New creation Earl of Cornwall
7th creation
4 March 1857 – 21 January 1861
उत्तराधिकारि
Edmund

From the Jefferson Davis article:

{{s-start}}
{{s-par | us-sen}}
{{s-bef | before=[[Stephen Adams (politician)|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]]}}
{{s-end}}
U.S. Senate
पूर्वाधिकारि
Stephen Adams
Senator from Mississippi (Class 1)
March 4, 1857 – January 21, 1861
Served alongside: Albert G. Brown
उत्तराधिकारि
Adalbert Ames

From the Woodrow Wilson article:

{{s-start}}
{{s-off}}
{{s-bef|before=[[William Howard Taft]]}}
{{s-ttl|title=[[President of the United States]]|order=28th|years=1913–1921}}
{{s-aft|After=[[Warren G. Harding]]}}
{{s-end}}
राजनीतिक कार्यालयअन
पूर्वाधिकारि
William Howard Taft
28th President of the United States
1913–1921
उत्तराधिकारि
Warren G. Harding

TemplateData[स्रोत सम्पादन]

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for S-ttl

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

ढाँचा प्यारामिटरहरू

This template prefers block formatting of parameters.

मापदण्डविवरणप्रकारस्थिति
titletitle

Text to be displayed for title.

Stringआवश्यक
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
Stringवैकल्पिक
districtdistrict

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

Stringवैकल्पिक
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).

Stringवैकल्पिक
creationcreation

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

Stringवैकल्पिक
yearsyears

Years served in office, typically a range of dates.

Stringसुझावित
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.

Stringवैकल्पिक
years1years1

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

Stringवैकल्पिक
regent2regent2

कुनैपनि विवरण छैन

Stringवैकल्पिक
years2years2

कुनैपनि विवरण छैन

Stringवैकल्पिक
regent3regent3

कुनैपनि विवरण छैन

Stringवैकल्पिक
years3years3

कुनैपनि विवरण छैन

Stringवैकल्पिक
regent4regent4

कुनैपनि विवरण छैन

Stringवैकल्पिक
years4years4

कुनैपनि विवरण छैन

Stringवैकल्पिक
regent5regent5

कुनैपनि विवरण छैन

Stringवैकल्पिक
years5years5

कुनैपनि विवरण छैन

Stringवैकल्पिक
regent6regent6

कुनैपनि विवरण छैन

Stringवैकल्पिक
years6years6

कुनैपनि विवरण छैन

Stringवैकल्पिक
regent7regent7

कुनैपनि विवरण छैन

Stringवैकल्पिक
years7years7

कुनैपनि विवरण छैन

Stringवैकल्पिक
regent8regent8

कुनैपनि विवरण छैन

Stringवैकल्पिक
years8years8

कुनैपनि विवरण छैन

Stringवैकल्पिक
alongsidealongside

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

Stringवैकल्पिक
withwith

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

Stringवैकल्पिक
with2with2

कुनैपनि विवरण छैन

Stringवैकल्पिक
with3with3

कुनैपनि विवरण छैन

Stringवैकल्पिक
with4with4

कुनैपनि विवरण छैन

Stringवैकल्पिक
with5with5

कुनैपनि विवरण छैन

Stringवैकल्पिक
with6with6

कुनैपनि विवरण छैन

Stringवैकल्पिक
with7with7

कुनैपनि विवरण छैन

Stringवैकल्पिक
with8with8

कुनैपनि विवरण छैन

Stringवैकल्पिक
with9with9

कुनैपनि विवरण छैन

Stringवैकल्पिक
with10with10

कुनैपनि विवरण छैन

Stringवैकल्पिक
with11with11

कुनैपनि विवरण छैन

Stringवैकल्पिक
with12with12

कुनैपनि विवरण छैन

Stringवैकल्पिक
with13with13

कुनैपनि विवरण छैन

Stringवैकल्पिक
with14with14

कुनैपनि विवरण छैन

Stringवैकल्पिक
with15with15

कुनैपनि विवरण छैन

Stringवैकल्पिक
with16with16

कुनैपनि विवरण छैन

Stringवैकल्पिक
with17with17

कुनैपनि विवरण छैन

Stringवैकल्पिक
with18with18

कुनैपनि विवरण छैन

Stringवैकल्पिक
with19with19

कुनैपनि विवरण छैन

Stringवैकल्पिक
with20with20

कुनैपनि विवरण छैन

Stringवैकल्पिक
with21with21

कुनैपनि विवरण छैन

Stringवैकल्पिक
with22with22

कुनैपनि विवरण छैन

Stringवैकल्पिक
with23with23

कुनैपनि विवरण छैन

Stringवैकल्पिक
with24with24

कुनैपनि विवरण छैन

Stringवैकल्पिक
with25with25

कुनैपनि विवरण छैन

Stringवैकल्पिक
lordslords

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

Stringवैकल्पिक
rowsrows

Number of table rows this entry should span.

Stringवैकल्पिक

See also[स्रोत सम्पादन]

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