Template:S-ref: Difference between revisions
Site CSS fixed — workaround no longer needed |
Fix Linter errors (misnested tag when the parameter contains a line break at the end) |
||
Line 2: | Line 2: | ||
| colspan="3" style="border-top: 5px solid #bebebe;" | <small>'''Notes and references'''</small> |
| colspan="3" style="border-top: 5px solid #bebebe;" | <small>'''Notes and references'''</small> |
||
|- |
|- |
||
| colspan="3" style="text-align:left;"| {{#if:{{{1|}}}|<small>1. {{{1}}}</small>|}}{{#if:{{{2|}}}|<br/><small>2. {{{2}}}</small>|}}{{#if:{{{3|}}}|<br/><small>3. {{{3}}}</small>|}}{{#if:{{{4|}}}|<br/><small>4. {{{4}}}</small>|}}{{#if:{{{5|}}}|<br/><small>5. {{{5}}}</small>|}}{{#if:{{{6|}}}|<br/><small>6. {{{6}}}</small>|}}{{#if:{{{7|}}}|<br/><small>7. {{{7}}}</small>|}}{{#if:{{{8|}}}|<br/><small>8. {{{8}}}</small>|}}{{#if:{{{9|}}}|<br/><small>9. {{{9}}}</small>|}}{{#if:{{{10|}}}|<br/><small>10. {{{10}}}</small>|}} |
| colspan="3" style="text-align:left;"| {{#if:{{{1|}}}|<small>1. {{trim|{{{1}}}}}</small>|}}{{#if:{{{2|}}}|<br/><small>2. {{trim|{{{2}}}}}</small>|}}{{#if:{{{3|}}}|<br/><small>3. {{trim|{{{3}}}}}</small>|}}{{#if:{{{4|}}}|<br/><small>4. {{trim|{{{4}}}}}</small>|}}{{#if:{{{5|}}}|<br/><small>5. {{trim|{{{5}}}}}</small>|}}{{#if:{{{6|}}}|<br/><small>6. {{trim|{{{6}}}}}</small>|}}{{#if:{{{7|}}}|<br/><small>7. {{trim|{{{7}}}}}</small>|}}{{#if:{{{8|}}}|<br/><small>8. {{trim|{{{8}}}}}</small>|}}{{#if:{{{9|}}}|<br/><small>9. {{trim|{{{9}}}}}</small>|}}{{#if:{{{10|}}}|<br/><small>10. {{trim|{{{10}}}}}</small>|}} |
||
{{s-end}}</includeonly><noinclude> |
{{s-end}}</includeonly><noinclude> |
||
{{Documentation}} |
{{Documentation}} |
Latest revision as of 14:37, 4 October 2018
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
TemplateData for 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.