Difference between revisions of "Template:S-non/doc"
m (→See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other) |
37thchamber (talk | contribs) m (1 revision imported: succession boxes) |
(No difference)
|
Latest revision as of 10:44, 23 May 2020
This is a documentation subpage for Template:S-non. It may contain usage information, categories and other content that is not part of the original template page. |
This template creates a single third-column succession box column to be used with succession boxes.
Contents
Usage
The format is {{S-non|parameter}}
, where parameter= is replaced by one or more of the parameter names shown in the following table.
- reason—Designates the reason(s) for the vacancy; enter a short explanation after entering this parameter, if necessary. If next holder is simply unknown, see {{S-vac}} for specifying next known holder.
This template allows for multiple row-spans using the parameter |rows=| between the template name and the first parameter.
Example
From the Henry VII of England article:
{{S-start}} {{S-reg | en}} {{S-bef | before = [[George Plantagenet, 1st Duke of Clarence|George of Clarence]]}} {{S-ttl | title = [[Earl of Richmond]] | years = 1478–1485}} {{S-non | reason = Merged in the Crown}} {{S-end}}
Peerage of England | ||
---|---|---|
Preceded by George of Clarence |
Earl of Richmond 1478–1485 |
Merged in the Crown |
TemplateData
TemplateData for S-non
<templatedata> { "description": "Used when there is no successor. Use | style="width: 30%; text-align: center;" rowspan="1"|Vacant for specifying a vacancy and next known holder.", "params": { "reason": { "label": "reason", "description": "Designates the reason(s) for the vacancy; enter a short explanation", "type": "string", "required": true }, "reason2": { "label": "reason2", "description": "A second reason", "type": "string", "required": false }, "rows": { "label": "rows", "description": "Number of table rows to span.", "type": "string", "required": false } }, "format": "block" } </templatedata>
See also
Documentation for creating succession boxes can be found at Template:S-start/doc.