Template:S-ref/doc

From Sim Football Wiki
Jump to navigation Jump to search

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

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 }}
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

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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

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