Jump to content

Template:S-inc/doc

From Simple English Wikipedia, the free encyclopedia

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[change]

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[change]

From the Elizabeth II of the United Kingdom article:

{{s-start}}
{{s-reg}}
{{s-bef | before = [[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}}
Regnal titles
Preceded by
George VI
Queen of the United Kingdom
6 February 1952 – present
Incumbent
Heir apparent:
Charles, Prince of Wales

TemplateData[change]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:S-inc in articles based on its TemplateData.

TemplateData for S-inc

<templatedata> { "description": "Used in third column of a succession box to indicate the current holder is incumbent.", "params": { "1": { "label": "Type", "description": "Can be 'current' which gives 'Current holder' or 'recent' which gives 'Most recent'. If unset gives the default 'Incumbent'.", "type": "string", "required": false }, "heir": { "label": "heir", "description": "Name of heir of the current incumbent, thus allowing the succession chain to continue as a list of heirs", "type": "string", "required": false }, "heir-type": { "label": "heir-type", "description": "Type of heir, preferably one of 'Heir apparent', 'Heir presumptive', 'Coadjutor bishop', default gives just 'Heir'.", "type": "string", "required": false }, "rows": { "label": "rows", "description": "Number of table rows to span.", "type": "string", "required": false } }, "format": "block" } </templatedata>

Related pages[change]

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