Template:Marriage
From WikiAlpha
{{#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] [ ] 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:
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> The above documentation is transcluded from Template:Marriage/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |