Jump to content

Template:S-ref/doc

From Simple English Wikipedia, the free encyclopedia
Revision as of 18:52, 19 February 2021 by imported>Clarkcj12 (Created page with "<noinclude>{{documentation subpage}}</noinclude> ''This template creates a single succession box footer to be used with succession boxes.'' ==Usage=...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template creates a single succession box footer to be used with succession boxes.

Usage[change]

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. It does not require that template to close the succession box, it will close as is.

Example[change]

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 }}
Peerage of England
Preceded by
George of Clarence
Earl of Richmond
1478–1485
Merged in the Crown
Notes and references
1. Pas, Leo van de, http://www.genealogics.org

TemplateData[change]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:S-ref in articles based on its TemplateData.

TemplateData for S-ref

<templatedata> {

   "description": "A succession box footer with references.",
   "params": {
       "1": {
           "label": "Reference 1",
           "description": "A reference or note in proper citation form",
           "type": "string",
           "required": false
       },
       "2": {
           "label": "Reference 2",
           "description": "",
           "type": "string",
           "required": false
       },
       "3": {
           "label": "Reference 3",
           "description": "",
           "type": "string",
           "required": false
       },
       "4": {
           "label": "Reference 4",
           "description": "",
           "type": "string",
           "required": false
       },
       "5": {
           "label": "Reference 5",
           "description": "",
           "type": "string",
           "required": false
       },
       "6": {
           "label": "Reference 6",
           "description": "",
           "type": "string",
           "required": false
       },
       "7": {
           "label": "Reference 7",
           "description": "",
           "type": "string",
           "required": false
       },
       "8": {
           "label": "Reference 8",
           "description": "",
           "type": "string",
           "required": false
       },
       "9": {
           "label": "Reference 9",
           "description": "",
           "type": "string",
           "required": false
       },
       "10": {
           "label": "Reference 10",
           "description": "",
           "type": "string",
           "required": false
       }
   }

} </templatedata>

See also[change]

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