Šablonas:S-inc/doc

Šablonas iš Vikipedijos, laisvosios enciklopedijos.
Jump to navigation Jump to search

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.[reikalingas vertimas]

Panaudojimas[redaguoti vikitekstą]

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 Užimantis postą.

current — Replaces Užimantis postą with Dabartinis turėtojas
recent — Replaces Užimantis postą with Paskutinis
heir — Designates the heir of the current incumbent, thus allowing the succession chain to continue as a list of heirs
heir-type — Replaces "Paskirtas įpėdinis" with the inserted text, preferably one of "Akivaizdus įpėdinis", "Spėjamas įpėdinis", "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[redaguoti vikitekstą]

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}}
{{end}}
Karališkieji titulai
Prieš tai:
George VI
Queen of the United Kingdom
6 February 1952 – present
Užimantis postą
Heir apparent:
Charles, Prince of Wales

Nuorodos[redaguoti vikitekstą]

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