Template:Marriage/doc

Marriage takes up to three unnamed parameters – plus either, both or neither of the named parameters and end – to produce output such as the following:
 * Jane Doe (m. 1 January 1895-December 31, 1905)
 * Fred Smith (m. 2010)
 * Jack Ripper (m. 1885-July 27, 1888)
 * Frank Lee & Aynee Text (m. 2002-2013)

The above were produced by:

Syntax and parameters
which produces: Miss Doe (m. January 1, 1882-December 31, 1905)

}}

TemplateData
{ "description": "insert description here", "params": { "1": {     "label": "Spouse's name", "description": "Name of the person to whom the subject is married.", "type": "string", "default": "", "required": true, "aliases": [ "spouse" ] },   "2": {      "label": "Date married", "description": "Date the marriage began.", "type": "string", "default": "", "required": true, "aliases": [ "date" ] },   "3": {      "label": "Date ended", "description": "Date the marriage was dissolved or the spouse of the article's subject died.", "type": "string", "default": "", "required": false, "aliases": [ "end" ] } } }