From the Vrienden Universe, a fictional wiki
|
|
| Line 1: |
Line 1: |
| ==Usage== | | ==Usage== |
| {{TemplateData header}}
| |
| <templatedata>{
| |
| "format": "inline",
| |
| "description": "Intended for use in Infoboxes, specifically {{Infobox person}} and templates calling Infobox person.\n\n{{Marriage}} takes up to three unnamed parameters (name, start date, end date) plus an optional named parameter \"end=\" to provide the reason for the end of the marriage.",
| |
| "params": {
| |
| "1": {
| |
| "label": "Spouse's name",
| |
| "description": "Name of the person to whom the subject married. May be omitted, typically for remarriages to the same spouse.",
| |
| "type": "string",
| |
| "suggested": true
| |
| },
| |
| "2": {
| |
| "label": "Date married",
| |
| "description": "Date the marriage began.",
| |
| "type": "date",
| |
| "suggested": true
| |
| },
| |
| "3": {
| |
| "label": "Date ended",
| |
| "description": "Date the marriage was dissolved or the spouse of the article's subject died.",
| |
| "type": "date",
| |
| "required": false
| |
| },
| |
| "end": {
| |
| "label": "Reason marriage ended",
| |
| "description": "Reason for marriage's end. Suggested reasons are automatically abbreviated. If the marriage ended due to death of article's subject, do not provide a reason.",
| |
| "type": "string",
| |
| "required": false,
| |
| "aliases": [
| |
| "reason"
| |
| ],
| |
| "suggestedvalues": [
| |
| "died",
| |
| "divorced",
| |
| "separated",
| |
| "annulled"
| |
| ]
| |
| }
| |
| }
| |
| }</templatedata>
| |
Latest revision as of 13:01, 13 September 2026