Knowledge

Template talk:Smalldiv

Source 📝

552:
dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
539:
dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem ipsum quia dolor sit amet, consectetur, adipisci velit, sed quia non numquam eius modi tempora incidunt ut labore et dolore magnam aliquam quaerat voluptatem. Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur? Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae consequatur, vel illum qui dolorem eum fugiat quo voluptas nulla pariatur?
580:
Thank you for finally providing a test case that shows a difference between the existing code and the proposed new code. I do see a tiny difference in the line spacing that I suppose is an improvement. I am going to hope that this update will not break any of the 13,000 existing uses of the template.
551:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum
538:
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum
725:
Hampshire 132 (John Small 58, T Sueter 29) & 154 (T Sueter 32, John Small 25, W Barber 25); All-England 187 (W Palmer 52*, Childs 38, T White 24) & 100-4 (J Boorman 55, W Palmer 30*). Coulsdon batsman Will Palmer, who had an outstanding season in 1773, scored 52* and 30* in totals of 187 and
222:
Test cases are for showing the differences, if any, between the live template and a sandbox. I looked at the Russian template, but I was unable to see how it is relevant here, or relevant to putting a div tag after a markup bullet. I have added yet another test case showing a whole paragraph inside
689:
This is the first match since cricket’s statistical record began where some bowling and fielding details are known, though no credit was given to the bowler when a batsman was out other than by being clean bowled, a convention in scoring that was not rectified until well inside the 19th century.
674:
This is the first match since cricket’s statistical record began where some bowling and fielding details are known, though no credit was given to the bowler when a batsman was out other than by being clean bowled, a convention in scoring that was not rectified until well inside the 19th century.
207:
is supposed to be an inline piece. If a whole paragraph or many paragraphs are supposed to be in small print, a block tag is necessary, which this template provides. Otherwise it would get wrong line spacing and probably other flaws. (Isn't this the reason why this template exists at all? Linter
692:
The card includes the first known instance of "hit wicket" (by John Minshull) and it is not mentioned again until 1786. It is believed that it was usually recorded as "bowled" so it is possible that, on this occasion, Minshull hit the wicket when not taking strike (e.g., hit the wicket whilst
678:
The card includes the first known instance of "hit wicket" (by John Minshull) and it is not mentioned again until 1786. It is believed that it was usually recorded as "bowled" so it is possible that, on this occasion, Minshull hit the wicket when not taking strike (e.g., hit the wicket whilst
492:
does the trick (for a long time already), but in English Knowledge, no template does.If you choose not to make the edit (although I don't see any reasons why not—after all, the change doesn't change anything for the worse), I'll just have to create a separate template for the script's needs.
328:
I understand what a block-level element is. It's the reason that I created this template. What I don't understand is the difference that I am supposed to see between your proposed sandbox version, if I copied it correctly, and the live version. Perhaps you could create a new test case that
854:
on the samples above, and oddly, I get the identical result: the two blank lines in the 3-paragraph sample are retained, but the single blank line in the 2-paragraph sample is lost. I'll play around with it some more and look at reporting the template bug on Phabricator.
820:
This seems anomalous to me. I recommend simplifying this test case as much as possible, preferably without using the template (just use div tags). If you can replicate it with just a few lines of one word each, submit a bug on Phabricator. Let me know if you need help. –
690:
Lumpy seems to have been the best bowler in the game, taking five wickets bowled and likely had more from catches. The All-England team was a strong Kent & Surrey combination with Joseph Miller scoring 73 in their innings of 177.
675:
Lumpy seems to have been the best bowler in the game, taking five wickets bowled and likely had more from catches. The All-England team was a strong Kent & Surrey combination with Joseph Miller scoring 73 in their innings of 177.
156:
Thanks. I have marked this as a misuse of the template for now, but I am open to change that makes the template better. If you can provide a better test case that shows the benefit of the sandbox version over the existing in-line
66:
I use the template with lists in the first parameter frequently, but I am open to improvements. Can you please make your recommended changes to the template's sandbox, and then add test cases to the template's testcases page? –
311: 344: 895:, in which I restored the previous version of this template to the sandbox and got the expected result. The sandbox template renders as expected. We may need to adjust this template further. Maybe 714:
Hampshire 132 (John Small 58, T Sueter 29) & 154 (T Sueter 32, John Small 25, W Barber 25); All-England 187 (W Palmer 52*, Childs 38, T White 24) & 100-4 (J Boorman 55, W Palmer 30*).
223:
smalldiv and its sandbox. I don't see a difference. If you want to demonstrate the benefit of your proposed change, please do so using a test case. I am unable to read your mind. –
483:
used for communicating on wiki projects needs such a block-level "small" template to use for editors' comments on talk pages if they opt to wrap the whole comment's content in the
283:
for its contents is the same as its closest parent block-level element.As a result, whenever there is a comment in a discussion or otherwise contents of a list item in the
480: 428:
content of an item inside a list. Not a sentence in otherwise normal-sized item narration, but the whole content of an item. An alternative would be to use full-fledged
60: 16: 624: 590: 502: 390: 356: 338: 323: 232: 217: 176: 151: 132: 76: 687:
Hampshire 77 (T Brett 26; E Stevens 2w) & 49 (G Leer 15; E Stevens 3w); All-England 177 (J Miller 73, R Simmons 20; W Hogsflesh 3w, T Brett 2w).
671:
Hampshire 77 (T Brett 26; E Stevens 2w) & 49 (G Leer 15; E Stevens 3w); All-England 177 (J Miller 73, R Simmons 20; W Hogsflesh 3w, T Brett 2w).
381:
is actually needed and the live template does not work properly? Again, I am open to being persuaded, but I'm having to do all of the work here. –
788: 110: 48: 347:
that you marked as a misuse (which I insist is not), the live version works incorrectly. The template can't be used in lists.
314:. And while for text outside of lists you can use the present template, in lists, you can't currently. Has it become clearer? 806: 802: 479:
syntax. But the reason I'm interested in this template (and why using the above syntax is not an option) is that the script
361:
So the whole line height thing is not relevant? I am having trouble following you. The test case with the bullet should use
781: 652: 620: 498: 352: 319: 213: 147: 128: 56: 717:
Coulsdon batsman Will Palmer, who had an outstanding season in 1773, scored 52* and 30* in totals of 187 and 100-4.
908: 861: 830: 886: 815: 899:
has an idea about how to get both their desired line spacing and our expected line break rendering to work. –
896: 616: 494: 348: 315: 209: 143: 124: 52: 488:
tag, which they often do. This way their comment would get the correct line spacing. In Russian Knowledge,
734: 248: 139: 192:
I suppose a test case should be for testing, not for showing benefit.Semantically, any text wrapped in
891:
It appears that the change discussed at length in the above section may have caused this problem. See
892: 679:
running, perhaps). This was another "first" for Minshull who scored the first known century in 1769.
414:
This is exactly why "the whole line height thing" is relevant. If the test case with the bullet uses
693:
running, perhaps). This was another "first" for Minshull who scored the first known century in 1769.
273: 489: 307: 186: 120: 255: 8: 904: 826: 586: 386: 334: 228: 172: 106: 72: 884: 859: 813: 779: 870: 843: 795: 758: 704: 661: 609: 375: 85: 37:
use the template inside lists (this is, among other things, handy in discussions);
900: 836: 822: 767: 599: 582: 418: 405: 396: 382: 365: 330: 287: 266: 241: 224: 201: 168: 161: 116: 102: 95: 68: 22: 809:, where there is only one blank line in the text, the blank line is ignored. — 881: 856: 810: 776: 424:, the contents get the wrong line spacing. Again, we are talking about the 303: 237:
I can't understand why you can't see the point. The different between the
33:
and a newline to kill three birds with one stone, making it possible to:
371:, since an in-line element is called for. Can you show a case in which 47:
Currently the template can do only the last. Here's a test page:
595:
Thank you. Well, I was sure that if you've seen how text in
247:
template and this template is that this template creates a
40:
use the template with newlines at the beginning and end;
615:
looks without a bullet, you'll be able to extrapolate.
880:, so obviously the output is going to be identical! — 119:: To get the right line spacing. See the examples at 185:To get the right line spacing. See the examples at 17:Make it possible to use the template inside lists 697:which correctly reproduces the two blank lines. 730:which doesn't reproduce the single blank line. 839:: Thanks for your reply. I tried replacing 258:CSS property is calculated relative to the 411:, since an in-line element is called for. 401:The test case with the bullet should use 737:, where I'm trying to fix the misnested 329:demonstrates the difference clearly. – 262:of the element. On the other hand, the 81:I see your first example, but why use 49:User:Jack who built the house/Smalldiv 754:, but the question remains, why does 532:Block-level tag, correct line spacing 801:, but, if you compare the tables in 733:Why is that? The text is taken from 167:template, please add such a case. – 878:<div style="font-size:85%;": --> 876:'s source code, I see it also uses 851:<div style="font-size:85%;": --> 745:I know there are workarounds using 13: 545:Inline tag, incorrect line spacing 14: 928: 653:Blank lines not always preserved 254:. In block-level elements, the 43:put lists inside the parameter. 1: 625:21:25, 21 February 2021 (UTC) 591:21:19, 21 February 2021 (UTC) 503:21:02, 21 February 2021 (UTC) 391:15:28, 18 February 2021 (UTC) 357:12:46, 18 February 2021 (UTC) 339:21:45, 17 February 2021 (UTC) 324:16:32, 17 February 2021 (UTC) 233:16:05, 17 February 2021 (UTC) 218:08:26, 17 February 2021 (UTC) 177:05:55, 17 February 2021 (UTC) 152:00:16, 17 February 2021 (UTC) 133:00:05, 17 February 2021 (UTC) 111:18:56, 16 February 2021 (UTC) 77:18:50, 16 February 2021 (UTC) 61:18:22, 16 February 2021 (UTC) 909:14:48, 2 November 2022 (UTC) 887:06:51, 2 November 2022 (UTC) 862:23:30, 1 November 2022 (UTC) 831:17:51, 1 November 2022 (UTC) 816:15:19, 30 October 2022 (UTC) 782:13:30, 29 October 2022 (UTC) 310:and on the test page in the 208:errors occur for a reason.) 7: 735:1773 English cricket season 308:the Russian template's page 10: 933: 306:, as you can see both on 897:Jack who built the house 617:Jack who built the house 495:Jack who built the house 429: 349:Jack who built the house 316:Jack who built the house 210:Jack who built the house 144:Jack who built the house 125:Jack who built the house 53:Jack who built the house 490:ru:Template:Block-small 298:tags, they get a wrong 187:ru:Template:Block-small 121:ru:Template:Block-small 893:this set of test cases 787:I see the lint errors 481:Convenient Discussions 807:the repaired version 803:the original version 302:, which means wrong 272:template creates an 764:behave like this? ( 312:section you created 740:...</small: --> 486:...</small: --> 296:...</small: --> 195:...</small: --> 25:: I suggest using 700:But when I apply 553: 453:"font-size: 85%;" 31:<nowiki /: --> 29:trick instead of 27:{{#if: 1 | ... }} 924: 879: 875: 869: 853: 852:...</div: --> 848: 842: 800: 794: 771: 763: 757: 753: 748: 741: 709: 703: 666: 660: 614: 608: 604: 598: 550: 487: 476: 473: 470: 467: 464: 461: 457: 454: 451: 448: 445: 442: 439: 436: 433: 423: 417: 410: 404: 380: 374: 370: 364: 297: 292: 286: 271: 265: 246: 240: 206: 200: 197:and, therefore, 196: 166: 160: 101:in this case? – 100: 94: 90: 84: 32: 28: 932: 931: 927: 926: 925: 923: 922: 921: 877: 873: 867: 850: 846: 840: 798: 792: 789:were fixed here 765: 761: 755: 750: 746: 738: 728: 727: 719: 707: 701: 695: 694: 681: 664: 658: 655: 612: 606: 602: 596: 557: 556: 540: 528: 484: 478: 477: 474: 471: 468: 465: 462: 459: 455: 452: 449: 446: 443: 440: 437: 434: 431: 421: 415: 408: 402: 378: 372: 368: 362: 294: 290: 284: 269: 263: 244: 238: 204: 198: 193: 164: 158: 98: 92: 88: 82: 30: 26: 19: 12: 11: 5: 930: 920: 919: 918: 917: 916: 915: 914: 913: 912: 911: 752:...</p: --> 739:<small: --> 724: 723: 712: 686: 685: 669: 654: 651: 650: 649: 648: 647: 646: 645: 644: 643: 642: 641: 640: 639: 638: 637: 636: 635: 634: 633: 632: 631: 630: 629: 628: 627: 555: 554: 542: 541: 537: 529: 526: 525: 524: 523: 522: 521: 520: 519: 518: 517: 516: 515: 514: 513: 512: 511: 510: 509: 508: 507: 506: 505: 485:<small: --> 430: 413: 295:<small: --> 194:<small: --> 191: 182: 137: 136: 135: 45: 44: 41: 38: 18: 15: 9: 6: 4: 3: 2: 929: 910: 906: 902: 898: 894: 890: 889: 888: 885: 883: 872: 865: 864: 863: 860: 858: 845: 838: 834: 833: 832: 828: 824: 819: 818: 817: 814: 812: 808: 804: 797: 790: 786: 785: 784: 783: 780: 778: 773: 769: 760: 747:<br /: --> 743: 736: 731: 722: 718: 715: 711: 706: 698: 691: 684: 680: 676: 672: 668: 663: 657:When I apply 626: 622: 618: 611: 601: 594: 593: 592: 588: 584: 579: 578: 577: 576: 575: 574: 573: 572: 571: 570: 569: 568: 567: 566: 565: 564: 563: 562: 561: 560: 559: 558: 549: 548: 547: 546: 536: 535: 534: 533: 527:Demonstration 504: 500: 496: 491: 482: 427: 420: 412: 407: 398: 394: 393: 392: 388: 384: 377: 367: 360: 359: 358: 354: 350: 346: 342: 341: 340: 336: 332: 327: 326: 325: 321: 317: 313: 309: 305: 301: 289: 282: 278: 276: 268: 261: 257: 253: 251: 243: 236: 235: 234: 230: 226: 221: 220: 219: 215: 211: 203: 190: 188: 180: 179: 178: 174: 170: 163: 155: 154: 153: 149: 145: 141: 138: 134: 130: 126: 122: 118: 114: 113: 112: 108: 104: 97: 87: 80: 79: 78: 74: 70: 65: 64: 63: 62: 58: 54: 50: 42: 39: 36: 35: 34: 24: 774: 744: 732: 729: 721:I get this: 720: 716: 713: 699: 696: 688: 683:I get this: 682: 677: 673: 670: 656: 544: 543: 531: 530: 425: 400: 304:line spacing 299: 293:template or 280: 274: 259: 249: 184: 46: 20: 866:Looking at 300:line-height 281:line-height 256:line-height 250:block-level 91:instead of 751:<p: --> 901:Jonesey95 837:Jonesey95 823:Jonesey95 768:Jonesey95 710:to this: 667:to this: 583:Jonesey95 397:Jonesey95 383:Jonesey95 345:test case 331:Jonesey95 279:"small". 260:font-size 225:Jonesey95 169:Jonesey95 117:Jonesey95 103:Jonesey95 69:Jonesey95 23:Jonesey95 882:Bruce1ee 871:smalldiv 857:Bruce1ee 844:smalldiv 811:Bruce1ee 796:smalldiv 777:Bruce1ee 759:smalldiv 705:smalldiv 662:smalldiv 610:smalldiv 376:smalldiv 86:smalldiv 458:Content 399:: : --> 343:In the 277:element 252:element 791:using 772:FYI). 742:tags. 726:100-4. 275:inline 849:with 600:small 475:: --> 469:</ 466:: --> 460:</ 456:: --> 447:style 438:: --> 426:whole 419:small 406:small 366:small 288:small 267:small 242:small 202:small 183:: --> 162:small 96:small 905:talk 827:talk 805:and 621:talk 587:talk 499:talk 441:< 432:< 387:talk 353:talk 335:talk 320:talk 229:talk 214:talk 173:talk 148:talk 140:Done 129:talk 107:talk 73:talk 57:talk 749:or 181:Hm? 907:) 874:}} 868:{{ 847:}} 841:{{ 829:) 799:}} 793:{{ 762:}} 756:{{ 708:}} 702:{{ 665:}} 659:{{ 623:) 613:}} 607:{{ 605:/ 603:}} 597:{{ 589:) 581:– 501:) 472:ul 463:li 444:li 435:ul 422:}} 416:{{ 409:}} 403:{{ 389:) 379:}} 373:{{ 369:}} 363:{{ 355:) 337:) 322:) 291:}} 285:{{ 270:}} 264:{{ 245:}} 239:{{ 231:) 216:) 205:}} 199:{{ 175:) 165:}} 159:{{ 150:) 142:. 131:) 123:. 109:) 99:}} 93:{{ 89:}} 83:{{ 75:) 59:) 51:. 903:( 855:— 835:@ 825:( 775:— 770:: 766:@ 619:( 585:( 497:( 450:= 395:@ 385:( 351:( 333:( 318:( 227:( 212:( 189:. 171:( 146:( 127:( 115:@ 105:( 71:( 55:( 21:@

Index

Jonesey95
User:Jack who built the house/Smalldiv
Jack who built the house
talk
18:22, 16 February 2021 (UTC)
Jonesey95
talk
18:50, 16 February 2021 (UTC)
smalldiv
small
Jonesey95
talk
18:56, 16 February 2021 (UTC)
Jonesey95
ru:Template:Block-small
Jack who built the house
talk
00:05, 17 February 2021 (UTC)
Done
Jack who built the house
talk
00:16, 17 February 2021 (UTC)
small
Jonesey95
talk
05:55, 17 February 2021 (UTC)
ru:Template:Block-small
small
Jack who built the house
talk

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