Knowledge (XXG)

Template talk:Ambox

Source 📝

118: 201: 462: 427: 921:) addresses Izno's concerns : left-aligned text, no left/right borders, full-width top/bottom borders, subtle background colour (= no edge-alignment issue). Looks clean and minimalistic. They've already switched from tables (if I understood Izno correctly) to divs (they're generally much further along than us in the Lua transition and in template standardisation efforts). Like them, we should also standardise 1059: 341: 537: 778:: Not sure if this is the right way to do it, but if I add "text-align: center;" to the style parameter of a template with that parameter supported, it centres all the text. Presumably then, if that's added on a new line to that CSS page you linked in the relevant area, it should work. That is, as long as it's not the 'wrong' way to do it in this context. 513:: Since nobody has objected, I think it might be okay to start an edit request for this – that might help to start a discussion with whoever responds at least, if they don't want to implement it yet. Also, would it be a better idea to have a different parameter variable for the width-variable version? Something like 835:
One thing to consider, without tossing the goose and gander, would be to set a larger width in the general case. (I am not necessarily a fan of the squat versions but I do not know if these templates will broadly appear any better in a world with wider, but still-fixed-width, templates.) Either way,
831:
I am not interested in removing the fixed width globally regardless without a larger community discussion on the topic than here, at a minimum demonstrating the effects of the change in the single and multiple-mbox (i.e. stacked and/or separate section) template cases, such that the wider community
805:
Regarding auto-width rather than fixed width, I believe it is fixed width because we have an interest in lining up the right edge of the small version of ambox for stacked templates being used at the section level. Do we believe that requirement has gone away or changed since we instituted small
697:", and explaining why. Also, I think I should check all of the templates which use (or can use) the small-left parameter before doing this, as depending on the amount of text, they may need to have line breaks added so they don't turn into a box spanning the entire width of a page. Regards, 836:
our computer screens have gotten wider (and then smaller again with best web practice having a relatively 'narrow' main column of content), so that this may be a reasonable approach. 238px is more or less tiny at the end of the day, even if you have, say, an infobox to your right.
651:: I would presume that the changes only need to be made in the message box module. I'm fairly certain that it's acceptable to write an edit request for the module of a template on the template page. Am I correct? 825:
NB, if you decide to make it auto sizing, that will hamper future work to remove the reliance of ambox on being structured as a table for presentation. That is something of a soft oppose for me personally right
366:
which uses a custom designed smaller version of ambox which is left aligned and automatically adjusting width. If this change sticks it would make sense to modify other templates (e.g.
809:
The reason we have amboxes at all can be attributed basically to differing widths and variable, inconsistent colors in amboxes pre-standardization some 10+ years ago.
949:
In the full parameter list, "info" is missing. Only when reading the detailed description does one fall over its existence. Nb, this is only a documentation issue.
594:(which positions it on the right with templates other than ambox) but someone else opposed it because they didn't think my reason for requesting it was sufficient. 900:
I assume this didn't go further? I highly support this; more readable, takes less space (and causes less whitespace), helps with banner blindness. Our fixed-width
1117:
Kind of only gives us back the left border color in exchange for changing the whole background to white? Not sure that's a win above how things display right now.
376:) to match. Rather than adding an additional variant of ambox, I wonder whether we should explore changing the small=left version to match this style? — Martin 74: 138:. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by 179: 1175:
Or we can pick out a color background set. Just tmbox and ambox to poke at. Ambox will effectively be fixed when .metadata dark theme can be turned off.
80: 914: 39: 496:: Do you think it might help to post about this discussion on one of the village pump pages, whichever is appropriate, to get more input? 711:
Addendum: How is textstyle changed via that file, actually? Unless it's redundant we also need the text style to be set to width = auto.
918: 1154:
Hmm, I hadn't considered ombox and cmbox - I guess we need to tackle these one by one. For example add color: #202122; to .tmbox in
213: 20: 869: 143: 968:
I would like to add the two school songs; old one 'Morning Has Broken' and current one. I'm not sure how to open a new section.
814:
Changing the width so that it is auto in all cases rather than fixed is more or less trivial. It's the removal of current lines
135: 69: 922: 146:}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's 288: 281: 276: 271: 348: 129: 60: 264: 259: 254: 247: 242: 237: 230: 225: 220: 631:
No I would not mind at all. But do you know the specific pages and changes that need to be made to achive this? — Martin
1155: 321: 174: 616:: Would you mind if I start an edit request for this? I think we've waited long enough; nobody has objected so far. 1087: 1065: 300: 783: 733: 716: 702: 656: 621: 599: 522: 501: 363: 166: 910:
can look much taller than the example given at the top, if the "Reason" parameter is filled; that's not great.
904: 398: 370: 160: 139: 50: 1120:
And also where it's been added will affect the two classes of boxes that currently support night mode (
1010: 856: 90: 65: 865: 819: 815: 755: 666: 558: 950: 1166: 1103: 1021: 954: 887: 779: 729: 712: 698: 652: 617: 595: 518: 497: 554: 306: 148: 570: 46: 1037: 973: 302: 200: 184: 176: 991: 934: 861: 746:
is pretty good with this stuff, perhaps he wouldn't mind helping. We are trying to encode
1090:
so amboxes have the notheme class. This improves how they appear in the night theme, see
1006: 590:, I think. I wanted to get that working for other message boxes while still allowing for 806:
versions of these templates? (I doubt it, but maybe you can persuade me and/or others.)
1194: 1180: 1162: 1145: 1134: 1124: 1114: 1099: 1014: 1000: 880: 846: 765: 676: 638: 583: 547: 411: 383: 123: 24: 461: 426: 995: 153: 177: 579: 566: 1033: 985: 969: 1091: 930: 926: 855:
For reference, here's what amboxes looked like before they were standardized:
925:
to this "small" appearance (no opt-out), since consistency is the goal here.
1190: 1176: 1141: 842: 775: 761: 743: 725: 686: 672: 648: 634: 613: 510: 493: 407: 379: 742:
Sorry, I'm not sure. I think it might involve mbox-text or mbox-text-span.
304: 182: 1198: 1184: 1170: 1149: 1107: 1041: 1025: 977: 958: 938: 891: 874: 850: 787: 770: 737: 720: 706: 681: 660: 643: 625: 603: 574: 526: 505: 416: 388: 669:. We'll need a specific request before it can be actioned. — Martin 557:, it seems that the CSS is taken from the .mbox-small-left class at 1092:
https://en.wikipedia.org/Template:Ambox/testcases?vectornightmode=1
689:: Okay. So I'm guessing the edit request would be "please change 1053: 456: 421: 335: 307: 194: 112: 15: 665:
Incorrect - I believe the styling for the ambox is held at
181: 175: 728:: Can you advise regarding my previous question? Thanks, 565:
for any message box. Not sure what you're intending. —
473: 438: 352: 98: 164:. Functionality of the template can be checked using 879:
Which I noted at 10:19, 26 June 2021 (UTC) above. --
1013:is a more appropriate location for your query. -- 394:I've copied current and sandboxed versions of 315:This page has archives. Sections older than 8: 802:I have some thoughts about this discussion. 534:new layout of small=left. Nice and compact. 859:The standardization was done circa 2007. — 1030:Thank you for the reply. Much appreciated. 158:Any contributor may edit the template's 362:I have implemented a requested edit at 332:Possible redesign of small=left version 136:heavily used or highly visible template 751: 747: 591: 587: 562: 561:, line 910. But that is used for when 514: 325:when more than 4 sections are present. 7: 994:for discussing improvements to the 23:for discussing improvements to the 758:. Can you advise please? — Martin 14: 319:may be automatically archived by 45:New to Knowledge (XXG)? Welcome! 1140:es), which I think is not good? 1057: 754:to make it the default style in 535: 460: 425: 339: 199: 116: 40:Click here to start a new topic. 913:I think the frwiki design (see 543:would the modification be for 404:below for comparison — Martin 1: 37:Put new text under old text. 1156:Module:Message box/tmbox.css 939:11:41, 3 November 2023 (UTC) 892:09:45, 4 November 2021 (UTC) 875:02:23, 4 November 2021 (UTC) 851:02:06, 31 October 2021 (UTC) 788:12:06, 24 October 2021 (UTC) 771:15:29, 23 October 2021 (UTC) 738:15:10, 23 October 2021 (UTC) 721:11:17, 20 October 2021 (UTC) 707:11:14, 20 October 2021 (UTC) 682:17:26, 19 October 2021 (UTC) 661:16:27, 19 October 2021 (UTC) 644:13:37, 19 October 2021 (UTC) 626:13:30, 18 October 2021 (UTC) 1088:Module:Message box/sandbox 1080:to reactivate your request. 1068:has been answered. Set the 1005:. You may find that either 832:can weigh in on appearance. 604:09:10, 10 August 2021 (UTC) 575:04:09, 10 August 2021 (UTC) 1221: 1042:00:30, 25 April 2024 (UTC) 1026:18:21, 24 April 2024 (UTC) 978:15:03, 24 April 2024 (UTC) 820:MediaWiki:Common.css#L-809 816:MediaWiki:Common.css#L-799 667:MediaWiki:Common.css#L-826 527:14:14, 9 August 2021 (UTC) 88: 1199:05:28, 14 June 2024 (UTC) 1185:05:18, 14 June 2024 (UTC) 1171:01:02, 14 June 2024 (UTC) 1150:21:02, 13 June 2024 (UTC) 1108:05:23, 13 June 2024 (UTC) 1050:Edit request 13 June 2024 506:13:43, 22 July 2021 (UTC) 417:11:33, 15 July 2021 (UTC) 389:11:29, 15 July 2021 (UTC) 75:Be welcoming to newcomers 964:How To Add School Songs? 959:06:06, 7 July 2023 (UTC) 364:Template:Incomplete list 1189:And now tmbox is done. 945:Param "info" missing... 752:|textstyle=width: auto; 144:edit template-protected 322:Lowercase sigmabot III 152:to add usage notes or 70:avoid personal attacks 1158:- what do you think? 857:Media:NewbieTags.png 756:MediaWiki:Common.css 559:MediaWiki:Common.css 353:adding missing items 142:, editors may use {{ 923:all section banners 748:|style=width: auto; 555:Module:Message box 472:. You can help by 437:. You can help by 351:; you can help by 81:dispute resolution 42: 1084: 1083: 873: 769: 680: 642: 553:only? Looking at 490: 489: 455: 454: 415: 387: 360: 359: 329: 328: 294: 293: 191: 190: 111: 110: 61:Assume good faith 38: 1212: 1161: 1139: 1133: 1129: 1123: 1098: 1075: 1071: 1061: 1060: 1054: 1017: 1004: 989: 929:looks terrible. 909: 903: 883: 860: 759: 753: 749: 696: 692: 670: 632: 593: 589: 564: 552: 546: 542: 539: 538: 516: 485: 482: 464: 457: 450: 447: 429: 422: 405: 403: 397: 377: 375: 369: 343: 342: 336: 324: 308: 217: 216: 203: 195: 185: 134:because it is a 120: 119: 113: 101: 16: 1220: 1219: 1215: 1214: 1213: 1211: 1210: 1209: 1159: 1137: 1131: 1127: 1121: 1096: 1073: 1069: 1058: 1052: 1015: 998: 983: 966: 947: 907: 901: 881: 694: 693:at line 831 to 690: 550: 544: 540: 536: 515:|small=variable 486: 480: 477: 470:needs expansion 451: 445: 442: 435:needs expansion 401: 395: 373: 367: 356: 340: 334: 320: 309: 303: 208: 187: 186: 180: 117: 107: 106: 105: 104: 97: 93: 86: 56: 12: 11: 5: 1218: 1216: 1208: 1207: 1206: 1205: 1204: 1203: 1202: 1201: 1118: 1082: 1081: 1062: 1051: 1048: 1047: 1046: 1045: 1044: 1031: 965: 962: 946: 943: 942: 941: 911: 905:expand section 898: 897: 896: 895: 894: 839: 838: 837: 833: 829: 828: 827: 812: 811: 810: 800: 799: 798: 797: 796: 795: 794: 793: 792: 791: 790: 780:DesertPipeline 730:DesertPipeline 723: 713:DesertPipeline 709: 699:DesertPipeline 653:DesertPipeline 618:DesertPipeline 611: 610: 609: 608: 607: 606: 596:DesertPipeline 584:Template:Ambox 519:DesertPipeline 508: 498:DesertPipeline 488: 487: 467: 465: 453: 452: 432: 430: 420: 419: 399:expand section 371:expand section 358: 357: 346: 344: 333: 330: 327: 326: 314: 311: 310: 305: 301: 299: 296: 295: 292: 291: 285: 284: 279: 274: 268: 267: 262: 257: 251: 250: 245: 240: 234: 233: 228: 223: 210: 209: 204: 198: 189: 188: 183: 178: 173: 172: 124:Template:Ambox 121: 109: 108: 103: 102: 94: 89: 87: 85: 84: 77: 72: 63: 57: 55: 54: 43: 34: 33: 30: 29: 28: 13: 10: 9: 6: 4: 3: 2: 1217: 1200: 1196: 1192: 1188: 1187: 1186: 1182: 1178: 1174: 1173: 1172: 1168: 1164: 1157: 1153: 1152: 1151: 1147: 1143: 1136: 1126: 1119: 1116: 1112: 1111: 1110: 1109: 1105: 1101: 1094: 1093: 1089: 1086:I've updated 1079: 1076:parameter to 1067: 1063: 1056: 1055: 1049: 1043: 1039: 1035: 1032: 1029: 1028: 1027: 1023: 1019: 1012: 1008: 1002: 997: 993: 987: 982: 981: 980: 979: 975: 971: 963: 961: 960: 956: 952: 944: 940: 936: 932: 928: 924: 920: 916: 912: 906: 899: 893: 889: 885: 878: 877: 876: 871: 867: 863: 858: 854: 853: 852: 848: 844: 840: 834: 830: 824: 823: 821: 817: 813: 808: 807: 804: 803: 801: 789: 785: 781: 777: 774: 773: 772: 767: 763: 757: 745: 741: 740: 739: 735: 731: 727: 724: 722: 718: 714: 710: 708: 704: 700: 691:width: 238px; 688: 685: 684: 683: 678: 674: 668: 664: 663: 662: 658: 654: 650: 647: 646: 645: 640: 636: 630: 629: 628: 627: 623: 619: 615: 605: 601: 597: 585: 581: 578: 577: 576: 572: 568: 560: 556: 549: 533: 530: 529: 528: 524: 520: 512: 509: 507: 503: 499: 495: 492: 491: 484: 475: 471: 468:This section 466: 463: 459: 458: 449: 440: 436: 433:This section 431: 428: 424: 423: 418: 413: 409: 400: 393: 392: 391: 390: 385: 381: 372: 365: 354: 350: 347:This list is 345: 338: 337: 331: 323: 318: 313: 312: 298: 297: 290: 287: 286: 283: 280: 278: 275: 273: 270: 269: 266: 263: 261: 258: 256: 253: 252: 249: 246: 244: 241: 239: 236: 235: 232: 229: 227: 224: 222: 219: 218: 215: 212: 211: 207: 202: 197: 196: 193: 171: 169: 168: 163: 162: 155: 151: 150: 149:documentation 145: 141: 137: 133: 131: 125: 122: 115: 114: 100: 96: 95: 92: 82: 78: 76: 73: 71: 67: 64: 62: 59: 58: 52: 48: 47:Learn to edit 44: 41: 36: 35: 32: 31: 26: 22: 18: 17: 1095: 1085: 1077: 1066:edit request 990:this is the 967: 948: 695:width: auto; 612: 580:User:Hike395 531: 478: 474:adding to it 469: 443: 439:adding to it 434: 361: 316: 205: 192: 165: 159: 157: 147: 132:from editing 128:permanently 127: 19:This is the 1011:WP:TEAHOUSE 588:|small=left 563:|small=left 1070:|answered= 862:DragonHawk 592:|small=yes 541:Question: 349:incomplete 289:Archive 13 282:Archive 12 277:Archive 11 272:Archive 10 167:test cases 154:categories 1163:Jdlrobson 1115:Jdlrobson 1100:Jdlrobson 992:talk page 951:GrayanOne 776:User:MSGJ 726:User:MSGJ 687:User:MSGJ 649:User:MSGJ 614:User:MSGJ 586:supports 511:User:MSGJ 494:User:MSGJ 481:July 2021 446:July 2021 265:Archive 9 260:Archive 8 255:Archive 7 248:Archive 6 243:Archive 5 238:Archive 4 231:Archive 3 226:Archive 2 221:Archive 1 140:consensus 130:protected 83:if needed 66:Be polite 27:template. 21:talk page 996:template 206:Archives 99:WT:AMBOX 91:Shortcut 51:get help 1130:es and 818:and/or 582:: Only 567:hike395 532:Support 517:maybe? 317:90 days 161:sandbox 1034:Roscha 1018:rose64 986:Roscha 970:Roscha 884:rose64 826:there. 1135:ombox 1125:cmbox 1074:|ans= 1064:This 1007:WP:HD 1001:Ambox 931:DFlhb 548:ambox 214:Index 79:Seek 25:Ambox 1195:talk 1191:Izno 1181:talk 1177:Izno 1167:talk 1146:talk 1142:Izno 1104:talk 1038:talk 1022:talk 1020:🌹 ( 974:talk 955:talk 935:talk 927:This 919:here 917:and 915:here 888:talk 886:🌹 ( 870:hist 866:talk 847:talk 843:Izno 784:talk 766:talk 762:MSGJ 750:and 744:Izno 734:talk 717:talk 703:talk 677:talk 673:MSGJ 657:talk 639:talk 635:MSGJ 622:talk 600:talk 571:talk 523:talk 502:talk 412:talk 408:MSGJ 384:talk 380:MSGJ 68:and 1072:or 1016:Red 1009:or 882:Red 476:. 441:. 126:is 1197:) 1183:) 1169:) 1160:🐸 1148:) 1138:}} 1132:{{ 1128:}} 1122:{{ 1106:) 1097:🐸 1078:no 1040:) 1024:) 1003:}} 999:{{ 976:) 957:) 937:) 908:}} 902:{{ 890:) 849:) 841:-- 822:. 786:) 764:· 736:) 719:) 705:) 675:· 659:) 637:· 624:) 602:) 573:) 551:}} 545:{{ 525:) 504:) 410:· 402:}} 396:{{ 382:· 374:}} 368:{{ 170:. 156:. 49:; 1193:( 1179:( 1165:( 1144:( 1113:@ 1102:( 1036:( 988:: 984:@ 972:( 953:( 933:( 872:) 868:| 864:( 845:( 782:( 768:) 760:( 732:( 715:( 701:( 679:) 671:( 655:( 641:) 633:( 620:( 598:( 569:( 521:( 500:( 483:) 479:( 448:) 444:( 414:) 406:( 386:) 378:( 355:. 53:.

Index

talk page
Ambox
Click here to start a new topic.
Learn to edit
get help
Assume good faith
Be polite
avoid personal attacks
Be welcoming to newcomers
dispute resolution
Shortcut
WT:AMBOX
Template:Ambox
protected
heavily used or highly visible template
consensus
edit template-protected
documentation
categories
sandbox
test cases

Index
Archive 1
Archive 2
Archive 3
Archive 4
Archive 5
Archive 6
Archive 7

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