Templat:S-inc/doc

Dari Wikipedia bahasa Indonesia, ensiklopedia bebas

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[sunting sumber]

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 Sedang menjabat.

current — Replaces Petahana with Pejabat saat ini
recent — Replaces Petahana with Pejabat terkini
heir — Designates the heir of the current incumbent, thus allowing the succession chain to continue as a list of heirs
heir-type — Replaces "Penerus" with the inserted text, preferably one of "Heir apparent", "Heir presumptive", "Coadjutor bishop"

Note: Templat: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[sunting sumber]

From the Elizabeth II dari Britania Raya article:

{{s-start}}
{{s-reg}}
{{s-bef | before = [[George VI dari Britania Raya|George VI]]}}
{{s-ttl | title = [[Ratu Inggris]] | years = 6 Februari 1952 – sekarang}}
{{s-inc | heir = [[Charles dari Wales|Charles]] | heir-type = Heir apparent}}
{{end}}
Gelar kebangsawanan
Didahului oleh:
George VI
Ratu Inggris
6 Februari 1952 – sekarang
Petahana
Pewaris:
Charles

See also[sunting sumber]

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