फलकम्:S-inc/doc

विकिपीडिया, कश्चन स्वतन्त्रः विश्वकोशः

This template creates a single succession box column for incumbents to be used with succession boxes. It is only meant to be used in the right column of succession boxes.

Usage[सम्पादयतु]

The format is {{s-inc|parameter=}}, where parameter= is replaced by one or more of the parameter names shown in the following table. The code without any parameters defaults to Incumbent.

current — Replaces Incumbent with Current holder
recent — Replaces Incumbent with Most recent
heir — Designates the heir of the current incumbent, thus allowing the succession chain to continue as a list of heirs
heir-type — Replaces "Heir" with the inserted text, preferably one of "Heir apparent", "Heir presumptive", "Coadjutor bishop"

Note: Template:s-ttl does not allow for a template to have an incumbent, so editors must add "– present" after the first date. If using the "recent" parameter, this is not necessary.

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

Example[सम्पादयतु]

From the Elizabeth II of the United Kingdom article:

{{s-start}}
{{s-reg}}
{{s-bef | before = [[George VI of the United Kingdom|George VI]]}}
{{s-ttl | title = [[Queen of the United Kingdom]] | years = 6 February 1952 – present}}
{{s-inc | heir = [[Charles, Prince of Wales]] | heir-type = Heir apparent}}
{{s-end}}
फलकम्:S-reg
फलकम् दस्तावेजीकरण[निर्मियताम्] [purge]
पूर्वाधिकारी
George VI
Queen of the United Kingdom
6 February 1952 – present
पदारूढः
Heir apparent:
Charles, Prince of Wales

TemplateData[सम्पादयतु]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for S-inc

Used in third column of a succession box to indicate the current holder is incumbent.

साँचे के पैरामीटर्स

परिमितिःवर्णनम्प्रकारःस्थितिः
Type1

Can be 'current' which gives 'Current holder' or 'recent' which gives 'Most recent'. If unset gives the default 'Incumbent'.

स्ट्रिंगऐच्छिकम्
heirheir

Name of heir of the current incumbent, thus allowing the succession chain to continue as a list of heirs

स्ट्रिंगऐच्छिकम्
heir-typeheir-type

Type of heir, preferably one of 'Heir apparent', 'Heir presumptive', 'Coadjutor bishop', default gives just 'Heir'.

स्ट्रिंगऐच्छिकम्
rowsrows

Number of table rows to span.

स्ट्रिंगऐच्छिकम्

See also[सम्पादयतु]

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


"https://sa.wikipedia.org/w/index.php?title=फलकम्:S-inc/doc&oldid=274665" इत्यस्माद् प्रतिप्राप्तम्