Knowledge

Template:Marriage/sandbox

Source 📝

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

Index

Template:Marriage
template sandbox
Template:Marriage
diff
test cases
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

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