Template:Marriage/doc
From WikiAlpha
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. |
This is a documentation subpage for Template:Marriage. It contains usage information, categories and other content that is not part of the original template 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:
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>