Knowledge (XXG)

Template:Marriage/doc

Source 📝

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

Index

Template:Marriage
documentation
subpage
Template:Marriage
categories
parser functions
undo
this template's sandbox
general template sandbox
approximately 83,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

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