Template:S-ref/doc: Difference between revisions
(→Usage: "does not require" -> "should not") |
m (1 revision imported: initial setup) |
||
(No difference)
|
Latest revision as of 06:15, 29 August 2024
This is a documentation subpage for Template:S-ref. It contains usage information, categories and other content that is not part of the original Template page. |
This template creates a single succession box footer to be used with succession boxes.
Usage
The format is {{s-ref|reference}}
, where reference is replaced by a reference or note in proper citation form. Subsequent references can be used in respective parameters: {{s-ref|reference1|reference2}}
. This template should be used with all succession boxes as a citation tool and with a confusing succession boxes as a note tool. It currently allows up to 10 references although that can be increased if requested.
Note: This template has {{S-end }} embedded into it, therefore succession boxes using this template should not be closed with a separate {{S-end }}.
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-ref | Pas, Leo van de, http://www.genealogics.org }}
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
S-ref
A succession box footer with references.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Reference 1 | 1 | A reference or note in proper citation form | String | optional |
Reference 2 | 2 | String | optional | |
Reference 3 | 3 | String | optional | |
Reference 4 | 4 | String | optional | |
Reference 5 | 5 | String | optional | |
Reference 6 | 6 | String | optional | |
Reference 7 | 7 | String | optional | |
Reference 8 | 8 | String | optional | |
Reference 9 | 9 | String | optional | |
Reference 10 | 10 | String | optional |
See also
Documentation for creating succession boxes can be found at Template:S-start.