Knowledge

Template:Marriage

Source 📝

36: 108: 190: 67: 146: 254:
Intended for use in Infoboxes, specifically {{Infobox person}} and templates calling Infobox person. {{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
1079: 688:
sets a lower limit for text size at 85% of the normal page font size, so it is not appropriate to use font size reduction when this template is used in an infobox. The example here is produced by:
1071: 1270: 1160: 1148: 1128: 1048:
None of the parameters are required on their own, but if a template is missing all three of start date, end date, and reason, an error message will be displayed.
1154: 369:
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.
1221: 1232: 1265: 163: 1090:
For either date parameter, only the year will be displayed; if a full date is provided, it is included via a tooltip; i.e., {{
1217: 1205: 51: 1244: 1201: 47: 207: 173: 159: 115: 77: 1142: 237: 1187: 55: 297:
Name of the person to whom the subject married. May be omitted, typically for remarriages to the same spouse.
1260: 203: 229: 1275: 1227: 1176: 169: 124: 1212: 120: 93: 88: 414: 196: 233: 225: 132: 128: 1170:
Populated by template logic; contains invalid/missing dates and unsupported parameters/values.
1240: 1195: 43: 8: 1191: 81: 1091: 1254: 152: 80:
before editing the template. If your edit causes unexpected problems, please
343:
Date the marriage was dissolved or the spouse of the article's subject died.
685: 30: 86:
You can conduct experiments, and should test all major changes, in either
189: 84:
it quickly, as this template may appear on a large number of pages.
119:
and changes may be widely noticed. Test changes in the template's
1077:
If the marriage ended with the death of the article's subject,
1059:) will cause a line break between the name and the start date. 76:
You are encouraged to familiarise yourself with its setup and
73:
This template employs intricate features of template syntax.
1161:
Category:Pages using Marriage with deprecated parameters
1149:
Category:Pages using Marriage with duplicate parameters
265:
This template prefers inline formatting of parameters.
1155:
Category:Pages using Marriage with unknown parameters
96:, or your user space before changing anything here. 1252: 1271:Text-specific formatting and function templates 684:Infoboxes already reduce text size to 88%, and 402: 244:in articles based on its TemplateData. 1211:Editors can experiment in this template's 520: 2002⁠–⁠2010) 33: 450: 1253: 1136: 1070:for this purpose has been deprecated ( 446: 1051:Use of the first two parameters with 477: 131:. Consider discussing changes on the 238:See a monthly parameter usage report 184: 140: 102: 61: 160:Module:Check for unknown parameters 13: 1266:Templates using data from Wikidata 1131:and will display an error message. 14: 1287: 1143:Category:Marriage template errors 590: 2002, divorced) 394: 351: 328: 305: 607: 544: 188: 144: 106: 65: 34: 587: 564: 540: 517: 497: 473: 442: 116:approximately 84,000 pages 476: 1885; died  1: 853:<!--John Q. Citizen--> 204:Template:Marriage/styles.css 7: 170:Module:Parameter validation 10: 1292: 1185: 626:(before 2010) 228:for this template used by 1245:Subpages of this template 674:(after 2010) 642:(until 2010) 424: 409: 271: 247:TemplateData for Marriage 135:before implementing them. 127:subpages, or in your own 114:This template is used on 690: 403:Examples and usage notes 320:Date the marriage began. 219: 94:general template sandbox 449:⁠–⁠ 89:this template's sandbox 1239:Add categories to the 979:<!--uncertain--> 39:Template documentation 1196:Template:Marriage/doc 1033:<!--earliest--> 357:Reason marriage ended 1177:parameter validation 963:<!--unknown--> 939:<!--unknown--> 905:<!--unknown--> 543: 2002; 151:This template uses 1261:Intricate templates 1137:Tracking categories 1129:no longer supported 400: 268: 261:Template parameters 195:This template uses 1276:Marriage templates 1103:Use of the values 658:(divorced) 259: 257: 251: 1057:|reason= 872:John Q. Taxpayer 734:December 31, 1905 682: 681: 577:John Q. Taxpayer 399: 398: 284: 252: 242:Template:Marriage 236:and other tools. 217: 216: 183: 182: 139: 138: 101: 100: 1283: 1236: 1225: 1209: 1180: 1171: 1086: 1058: 1054: 1043: 1040: 1037: 1034: 1031: 1028: 1025: 1021: 1017: 1014: 1011: 1007: 1003: 1000: 997: 993: 990: 987: 983: 980: 977: 974: 971: 967: 964: 961: 957: 954: 951: 947: 943: 940: 937: 933: 930: 927: 923: 919: 916: 913: 909: 906: 903: 899: 896: 893: 889: 885: 882: 879: 875: 871: 868: 865: 861: 857: 854: 851: 848: 845: 841: 837: 834: 831: 827: 823: 820:John Q. Citizen 819: 816: 813: 809: 805: 801: 797: 794: 791: 787: 783: 779: 776: 773: 769: 765: 762: 759: 755: 751: 747: 744: 741: 737: 733: 729: 725: 722: 719: 715: 712: 709: 706: 703: 700: 697: 694: 675: 659: 643: 627: 611: 609: 591: 589: 568: 566: 548: 546: 542: 530:John Q. Citizen 521: 519: 501: 499: 481: 479: 475: 454: 452: 448: 444: 419: 413: 407: 406: 387: 384: 381: 378: 373:Suggested values 365: 362: 339: 316: 293: 285: 269: 266: 258: 192: 185: 148: 147: 141: 110: 109: 103: 91: 78:parser functions 69: 68: 62: 59: 40: 38: 37: 27: 25: 24: 1291: 1290: 1286: 1285: 1284: 1282: 1281: 1280: 1251: 1250: 1249: 1248: 1238: 1230: 1215: 1210: 1199: 1184: 1183: 1174: 1169: 1139: 1126: 1122: 1118: 1114: 1110: 1106: 1078: 1069: 1065: 1056: 1052: 1045: 1044: 1041: 1038: 1035: 1032: 1029: 1026: 1023: 1019: 1015: 1012: 1009: 1005: 1001: 998: 995: 991: 988: 985: 981: 978: 975: 972: 969: 965: 962: 959: 955: 952: 949: 945: 941: 938: 935: 931: 928: 925: 921: 917: 914: 911: 907: 904: 901: 897: 894: 891: 887: 883: 880: 877: 873: 869: 866: 863: 859: 855: 852: 849: 846: 843: 839: 835: 832: 829: 825: 821: 817: 814: 811: 807: 803: 799: 798:John Q. Public 795: 792: 789: 785: 781: 777: 774: 771: 767: 763: 760: 757: 753: 749: 745: 742: 739: 735: 731: 730:1 January 1895 727: 723: 720: 717: 713: 710: 707: 704: 701: 698: 695: 692: 678: 677: 673: 669: 661: 657: 653: 645: 641: 637: 629: 625: 621: 613: 610: 2010) 605: 601: 593: 585: 581: 578: 570: 567: 2012) 562: 557: 550: 547: 2010) 538: 534: 531: 523: 515: 511: 510:John Q. Public 503: 500: 2002) 495: 491: 483: 471: 467: 464: 456: 440: 436: 420: 417: 411: 405: 385: 382: 379: 376: 363: 360: 337: 314: 291: 264: 250: 222: 213: 179: 145: 107: 97: 87: 85: 66: 60: 41: 35: 29: 22: 21: 19: 12: 11: 5: 1289: 1279: 1278: 1273: 1268: 1263: 1182: 1181: 1175:Populated via 1172: 1166: 1165: 1164: 1158: 1152: 1146: 1138: 1135: 1134: 1133: 1132: 1124: 1120: 1116: 1112: 1108: 1104: 1096: 1095: 1088: 1084:provide a date 1083: 1075: 1072:see discussion 1067: 1063: 1060: 1053:|end= 1049: 756:July 27, 1888 696:Infobox person 691: 680: 679: 671: 667: 666: 665: 664: 655: 651: 650: 649: 648: 639: 635: 634: 633: 632: 623: 619: 618: 617: 616: 603: 599: 598: 597: 596: 583: 579: 576: 575: 574: 573: 560: 558: 555: 554: 553: 536: 532: 529: 528: 527: 526: 513: 509: 508: 507: 506: 493: 489: 488: 487: 486: 469: 465: 462: 461: 460: 459: 438: 434: 433: 432: 431: 428: 426: 422: 421: 415:Infobox person 410: 404: 401: 397: 396: 393: 390: 389: 388: 374: 366: 358: 354: 353: 350: 347: 346: 340: 335: 331: 330: 327: 324: 323: 317: 312: 308: 307: 304: 301: 300: 294: 289: 283: 282: 279: 276: 273: 230:TemplateWizard 223: 221: 218: 215: 214: 212: 211: 200: 197:TemplateStyles 193: 181: 180: 178: 177: 167: 156: 149: 137: 136: 111: 99: 98: 75: 70: 32: 31: 17: 15: 9: 6: 4: 3: 2: 1288: 1277: 1274: 1272: 1269: 1267: 1264: 1262: 1259: 1258: 1256: 1246: 1242: 1234: 1229: 1223: 1219: 1214: 1207: 1203: 1197: 1193: 1189: 1188:documentation 1178: 1173: 1168: 1167: 1162: 1159: 1156: 1153: 1150: 1147: 1144: 1141: 1140: 1130: 1102: 1099: 1098: 1097: 1094:}}. 1093: 1089: 1085: 1081: 1076: 1073: 1061: 1050: 1047: 1046: 689: 687: 663: 662: 647: 646: 631: 630: 615: 614: 595: 594: 572: 571: 552: 551: 525: 524: 505: 504: 485: 484: 458: 457: 430: 429: 427: 423: 416: 408: 391: 375: 372: 371: 370: 367: 359: 356: 355: 348: 345: 344: 341: 336: 333: 332: 325: 322: 321: 318: 313: 310: 309: 302: 299: 298: 295: 290: 288:Spouse's name 287: 286: 280: 277: 274: 270: 267: 262: 256: 249: 248: 243: 239: 235: 231: 227: 209: 205: 202: 201: 198: 194: 191: 187: 186: 175: 171: 168: 165: 161: 158: 157: 154: 150: 143: 142: 134: 130: 126: 122: 118: 117: 112: 105: 104: 95: 90: 83: 79: 74: 71: 64: 63: 57: 53: 49: 45: 1100: 686:MOS:FONTSIZE 683: 418:}} 412:{{ 368: 342: 319: 311:Date married 296: 263: 260: 253: 246: 245: 241: 234:VisualEditor 226:TemplateData 224:This is the 129:user subpage 113: 72: 23:date missing 1192:transcluded 1018:Juan Perez 958:Joe Sixpack 726:John Smith 668:Juan Perez 636:Joe Sixpack 435:John Smith 275:Description 54:] [ 50:] [ 46:] [ 1255:Categories 1186:The above 1163: (0) 1157: (0) 1151: (0) 1145: (10) 994:Joe Schmo 934:Joe Bloggs 652:Joe Schmo 620:Joe Bloggs 334:Date ended 125:/testcases 1243:subpage. 1228:testcases 1068:her death 1064:his death 780:Jane Doe 748:John Doe 711:Plainlist 490:Jane Doe 463:John Doe 383:separated 329:suggested 306:suggested 272:Parameter 255:marriage. 133:talk page 1013:marriage 989:marriage 953:marriage 929:marriage 900:Joe Blow 895:marriage 867:marriage 847:marriage 815:marriage 793:marriage 775:marriage 743:marriage 721:marriage 600:Joe Blow 395:optional 386:annulled 380:divorced 352:optional 121:/sandbox 1220:| 1213:sandbox 1206:history 1204:| 1125:widowed 1092:Tooltip 1062:Use of 702:spouse 676:​ 672:​ 660:​ 656:​ 644:​ 640:​ 628:​ 624:​ 612:​ 604:​ 592:​ 584:​ 580:​ 569:​ 561:​ 556:​ 549:​ 537:​ 533:​ 522:​ 514:​ 502:​ 494:​ 482:​ 470:​ 466:​ 455:​ 439:​ 425:Spouses 208:sandbox 174:sandbox 164:sandbox 52:history 28:​ 18:​ 1237:pages. 1027:reason 445:  392:String 364:reason 303:String 281:Status 92:, the 1194:from 1123:, or 1121:widow 1101:Note: 752:1885 670: 654: 638: 622: 606:( 602: 586:( 582: 563:( 559: 539:( 535: 516:( 512: 496:( 492: 480:) 472:( 468: 453:) 441:( 437: 220:Usage 58:] 56:purge 42:[ 26:) 20:( 16: 1241:/doc 1233:edit 1226:and 1222:diff 1218:edit 1202:edit 1117:wid. 1022:2010 968:2010 944:2010 910:2010 876:2002 858:2012 828:2010 824:2002 806:2010 802:2002 784:2002 608:div. 545:div. 478:1888 451:1905 447:1895 377:died 349:Date 326:Date 278:Type 240:for 82:undo 48:edit 44:view 1190:is 1127:is 1113:wid 1082:not 1080:do 1066:or 1004:div 999:end 973:end 920:div 915:end 886:div 881:end 838:div 833:end 761:end 361:end 153:Lua 123:or 1257:: 1198:. 1119:, 1115:, 1111:, 1109:w. 1107:, 1074:). 1042:}} 1039:}} 1036:}} 1010:{{ 1008:* 1006:}} 986:{{ 984:* 982:}} 950:{{ 948:* 946:}} 926:{{ 924:* 922:}} 892:{{ 890:* 888:}} 864:{{ 862:* 860:}} 844:{{ 842:* 840:}} 812:{{ 810:* 808:}} 790:{{ 788:* 786:}} 772:{{ 770:* 768:}} 766:d. 740:{{ 738:* 736:}} 718:{{ 716:* 708:{{ 693:{{ 588:m. 565:m. 541:m. 518:m. 498:m. 474:m. 443:m. 232:, 199:: 155:: 1247:. 1235:) 1231:( 1224:) 1216:( 1208:) 1200:( 1179:. 1105:w 1087:. 1055:( 1030:= 1024:| 1020:| 1016:| 1002:= 996:| 992:| 976:= 970:| 966:| 960:| 956:| 942:| 936:| 932:| 918:= 912:| 908:| 902:| 898:| 884:= 878:| 874:| 870:| 856:| 850:| 836:= 830:| 826:| 822:| 818:| 804:| 800:| 796:| 782:| 778:| 764:= 758:| 754:| 750:| 746:| 732:| 728:| 724:| 714:| 705:= 699:| 338:3 315:2 292:1 210:) 206:( 176:) 172:( 166:) 162:(

Index

view
edit
history
purge
parser functions
undo
this template's sandbox
general template sandbox
approximately 84,000 pages
/sandbox
/testcases
user subpage
talk page
Lua
Module:Check for unknown parameters
sandbox
Module:Parameter validation
sandbox
CSS
TemplateStyles
Template:Marriage/styles.css
sandbox
TemplateData
TemplateWizard
VisualEditor
See a monthly parameter usage report
Template:Marriage
Infobox person
MOS:FONTSIZE
see discussion

Text is available under the Creative Commons Attribution-ShareAlike License. Additional terms may apply.