Template:Marriage

From WikiAlpha
Revision as of 00:11, 16 January 2023 by SilvaFoxx (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
(before Template:Wdib)
{{#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Marriage with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | 4 | end | reason }}
[edit] [purge] Template documentation
The below content is licensed according to Creative Commons Attribution-ShareAlike License contrary to the public domain logo at the foot of the page. It originally appeared on http://en.wikipedia.org. The original article might still be accessible here. You may be able to find a list of the article's previous contributors on the talk page.

Usage

{{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:

(m. Template:Tooltip⁠–⁠Template:Tooltip)
{{#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Marriage with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | 4 | end | reason }}
Fred Smith
(m. Template:Tooltip)
{{#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Marriage with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | 4 | end | reason }}
Jack Ripper
(m. Template:Tooltip; died Template:Tooltip)
{{#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Marriage with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | 4 | end | reason }}
Frank Lee & Aynee Text
(m. Template:Tooltip⁠–⁠Template:Tooltip)
{{#invoke:Check for unknown parameters|check|unknown=|preview=Page using Template:Marriage with unknown parameter "_VALUE_"|ignoreblank=y| 1 | 2 | 3 | 4 | end | reason }}

The above were produced by:

{{marriage |[[John Doe|Jane Doe]] |1 January 1895 |December 31, 1905}}
{{marriage |Fred Smith |()=smaller |2010}}
{{marriage |Jack Ripper |1885 |July 27, 1888 |end=d.}}
{{marriage|()=small |Frank Lee & Aynee Text |2002 |2013}}

Syntax and parameters

Template:((marriage [|Template:Thinsp]|Template:Thinsp|Template:Thinsp|Template:Thinsp[|Template:Thinsp]Template:))

{{safesubst:#invoke:aligned table|table}}

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for Marriage

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

}</templatedata>

</div>