Knowledge (XXG)

Template talk:Italic title

Source 📝

21: 104: 342:
Are there any negatives associated with doing so? It is common practice to have one template a line for the top matter and we can't expect every editor to be aware of an obscure detail in the documentation. Changing user behavior on a large scale is basically the hardest thing you can do and adding a
220:
Would adding some kind of invisible character to "trick" the parser into not treating it like a blank line fix it? I understand situations where a blank line is created are improper uses per the documentation (as Redrose64 said), but making this problem self-solvable would save many edits and entries
205:
It's not the template which causes it but the newlines around the template call. The template has no rendered output at its location so your example effectively has two consecutive blank lines. That gives extra whitespace. Removing the template without removing the newline at the end of its line
674:, where it should be the title part and not the dab part that is considered. I've reverted temporarily until we can find a fix. It's been a couple of weeks after rolling out the new version so a few pages that have been switched to use the 387: 383: 379: 169:) Is this possible to fix? I often see this create accidental whitespace above article text when the template is placed grouped with the tags at the top of an article. — 41:. 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 82: 509: 414:
We need a technical solution for making this template behave like adjacent hatnotes; expecting users to read the documentation is not realistic.
121: 117: 688:
will now be broken, but I am guessing that many more pages were broken after the update, so reverting is the lesser of two evils. —
459:
cannot be used, is that in episode titles, sometimes the episode is named after the series, which causes both to be in italics. --
585: 361: 46: 38: 69: 49:}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's 32: 63: 516: 151: 166:
When this template is on a new line and is followed (or preceded) by a blank line, it creates a visible blank line. (
77: 312: 259: 51: 130: 384:
Knowledge (XXG) talk:Manual of Style/Layout/Archive 13#Nothing should go between navboxes and authority control
725: 654:
parameter is specified, only the dab portion is considered when italicising substrings. This is correct for
184:
It's not a fault of this template, but in the way that it is being used. If you use it in accordance with
584:
Hm, looks like we missed an edge case in our unit tests. This is because of the new if/else statement on
42: 753: 691: 668: 558: 476: 454: 419: 320: 289: 211: 185: 26: 349: 270: 777: 682: 658: 445: 438: 398: 369: 333: 243: 196: 716: 527: 221:
in page history in the future that remove the whitespace when the template is used improperly. —
136: 374:- it will cause a gap between the two where none would otherwise have appeared. It defeats the 749: 568: 542: 486: 464: 415: 285: 226: 207: 174: 132: 103: 87: 79: 345: 300: 279:
If Line1 and Line2 are pure text then they would be displayed on the same line with this:
266: 380:
Knowledge (XXG) talk:Manual of Style/Layout/Archive 13#Where to put {{short description}}
770: 391: 326: 236: 189: 552: 523: 56: 80: 309:
simply to handle cases where people didn't follow the documentation. This goes for
264:
and I did some testing with it. It appears to be solved by adding <nowiki /: -->
711:
I'm leaning no, since the user would never really see it. But figured I'd check.
134: 781: 757: 730: 698: 579: 572: 564: 546: 538: 531: 503: 490: 482: 468: 460: 423: 402: 353: 337: 293: 274: 247: 230: 222: 215: 200: 178: 170: 85: 745: 737: 451:? This is for when only part of the dab should be in italics. The reason why 429:
Request to add support for a |string= parameter to Template:Italic dab
388:
Knowledge (XXG) talk:Manual of Style/Layout/Archive 14#DISPLAYTITLE
344:
is a simple fix that can solve the issue for good everywhere. --
137: 97: 15: 84: 78: 325:
and anything else which doesn't display text in place. --
765: 712: 378:
CSS property. This is pretty much the same argument as
167: 67:. Functionality of the template can be checked using 265:
which shouldn't have any unintended consequences. --
358:Yes there are. If used between two boxes - such as 145:This page has archives. Sections older than 8: 740:article should not have its title in italics 707:Should italic title be used on redirects? 305:We should not be introducing fudges like 61:Any contributor may edit the template's 39:heavily used or highly visible template 763:Appears to have already been fixed in 675: 651: 434: 155:when more than 4 sections are present. 256:This issue was also encountered with 7: 497:String parameter not working anymore 561:|string=Morceaux de salon|all=yes}} 306: 14: 481:could you implement this please? 149:may be automatically archived by 235:No, that would exacerbate it. -- 102: 19: 1: 424:05:09, 15 November 2022 (UTC) 282:Line1 {{italic title}} Line2 206:would give the same result. 798: 699:12:57, 25 June 2021 (UTC) 573:10:42, 21 June 2021 (UTC) 547:10:16, 21 June 2021 (UTC) 537:Checking it now. Thanks. 532:10:15, 21 June 2021 (UTC) 188:, there is no problem. -- 782:07:49, 31 May 2024 (UTC) 758:03:38, 31 May 2024 (UTC) 731:22:35, 29 May 2022 (UTC) 589: 491:08:46, 30 May 2021 (UTC) 469:13:25, 26 May 2021 (UTC) 403:15:06, 11 May 2021 (UTC) 354:21:32, 10 May 2021 (UTC) 338:21:21, 10 May 2021 (UTC) 294:08:45, 10 May 2021 (UTC) 280: 555:for the time being use 362:proposed deletion/dated 275:20:17, 9 May 2021 (UTC) 248:21:21, 8 May 2021 (UTC) 231:20:28, 8 May 2021 (UTC) 216:12:25, 8 May 2021 (UTC) 201:11:16, 8 May 2021 (UTC) 179:06:42, 8 May 2021 (UTC) 47:edit template-protected 650:With this, unless the 513:, Op. 6 (Rachmaninoff) 437:parameter be added to 152:Lowercase sigmabot III 55:to add usage notes or 162:Whitespace generation 27:Template:Italic title 45:, editors may use {{ 439:Module:Italic title 729: 511:Morceaux de salon 343:<nowiki /: --> 313:short description 307:<nowiki /: --> 260:short description 186:its documentation 159: 158: 94: 93: 789: 773: 768: 744:Can someone fix 723: 721: 694: 693:Mr. Stradivarius 687: 681: 677: 673: 667: 663: 657: 653: 647: 644: 641: 638: 635: 632: 629: 626: 623: 620: 617: 614: 611: 608: 605: 602: 599: 596: 593: 583: 562: 520:, Op. 79 (Fauré) 507: 480: 477:Mr. Stradivarius 458: 450: 444: 436: 394: 377: 376:border-collapse: 373: 365: 329: 324: 316: 308: 304: 263: 239: 192: 154: 138: 106: 98: 88: 37:because it is a 23: 22: 16: 797: 796: 792: 791: 790: 788: 787: 786: 771: 764: 742: 717: 709: 692: 685: 679: 671: 665: 661: 655: 649: 648: 645: 642: 639: 636: 633: 630: 627: 624: 621: 618: 615: 612: 609: 606: 603: 600: 597: 594: 591: 577: 556: 501: 499: 474: 452: 448: 442: 431: 392: 375: 367: 359: 327: 318: 310: 298: 284: 283: 257: 237: 190: 164: 150: 139: 133: 111: 90: 89: 83: 20: 12: 11: 5: 795: 793: 785: 784: 741: 734: 708: 705: 704: 703: 702: 701: 678:argument with 664:, but not for 631:originalString 613:originalString 595:originalString 590: 549: 498: 495: 494: 493: 430: 427: 412: 411: 410: 409: 408: 407: 406: 405: 296: 281: 254: 253: 252: 251: 250: 203: 163: 160: 157: 156: 144: 141: 140: 135: 131: 129: 126: 125: 113: 112: 107: 101: 92: 91: 86: 81: 76: 75: 24: 13: 10: 9: 6: 4: 3: 2: 794: 783: 779: 775: 767: 762: 761: 760: 759: 755: 751: 747: 739: 735: 733: 732: 727: 722: 720: 719:Novem Linguae 714: 706: 700: 697: 696: 695: 684: 670: 660: 587: 586:lines 204-209 581: 576: 575: 574: 570: 566: 563:which works. 560: 554: 550: 548: 544: 540: 536: 535: 534: 533: 529: 525: 521: 519: 514: 512: 505: 496: 492: 488: 484: 478: 473: 472: 471: 470: 466: 462: 457:|string|all}} 456: 447: 440: 428: 426: 425: 421: 417: 404: 400: 396: 389: 385: 381: 371: 363: 357: 356: 355: 351: 347: 341: 340: 339: 335: 331: 322: 314: 302: 297: 295: 291: 287: 278: 277: 276: 272: 268: 261: 255: 249: 245: 241: 234: 233: 232: 228: 224: 219: 218: 217: 213: 209: 204: 202: 198: 194: 187: 183: 182: 181: 180: 176: 172: 168: 161: 153: 148: 143: 142: 128: 127: 124: 123: 119: 115: 114: 110: 105: 100: 99: 96: 74: 72: 71: 66: 65: 58: 54: 53: 52:documentation 48: 44: 40: 36: 34: 28: 25: 18: 17: 743: 718: 710: 690: 689: 669:italic title 559:italic title 517: 510: 500: 455:Italic title 432: 413: 321:italic title 165: 146: 116: 108: 95: 68: 62: 60: 50: 35:from editing 31:permanently 30: 750:Nightscream 416:fgnievinski 382:. See also 286:PrimeHunter 208:PrimeHunter 748:? Thanks. 738:Judd Legum 683:italic dab 659:italic dab 601:titleParts 446:Italic dab 441:to use in 370:notability 346:Trialpears 301:Trialpears 267:Trialpears 70:test cases 57:categories 766:this edit 518:Fantaisie 508:See e.g. 43:consensus 33:protected 713:Example. 676:|string= 553:Intforce 524:intforce 435:|string= 433:Could a 109:Archives 262:|none}} 147:92 days 64:sandbox 774:rose64 580:Gonnym 565:Gonnym 539:Gonnym 504:Gonnym 483:Gonnym 461:Gonnym 395:rose64 330:rose64 240:rose64 223:Goszei 193:rose64 171:Goszei 652:|all= 643:title 592:local 778:talk 776:🌹 ( 769:. -- 754:talk 746:this 736:The 726:talk 637:self 628:else 619:self 610:then 569:talk 543:talk 528:talk 487:talk 465:talk 420:talk 399:talk 397:🌹 ( 390:. -- 386:and 366:and 350:talk 334:talk 332:🌹 ( 290:talk 271:talk 244:talk 242:🌹 ( 227:talk 212:talk 197:talk 195:🌹 ( 175:talk 772:Red 646:end 625:dab 607:dab 515:or 393:Red 328:Red 238:Red 229:) 191:Red 177:) 29:is 780:) 756:) 686:}} 680:{{ 672:}} 666:{{ 662:}} 656:{{ 598:if 571:) 557:{{ 545:) 530:) 522:. 489:) 467:) 453:{{ 449:}} 443:{{ 422:) 401:) 372:}} 368:{{ 364:}} 360:{{ 352:) 336:) 323:}} 319:{{ 317:, 315:}} 311:{{ 292:) 273:) 258:{{ 246:) 214:) 199:) 120:, 73:. 59:. 752:( 728:) 724:( 715:– 640:. 634:= 622:. 616:= 604:. 588:. 582:: 578:@ 567:( 551:@ 541:( 526:( 506:: 502:@ 485:( 479:: 475:@ 463:( 418:( 348:( 303:: 299:@ 288:( 269:( 225:( 210:( 173:( 122:2 118:1

Index

Template:Italic title
protected
heavily used or highly visible template
consensus
edit template-protected
documentation
categories
sandbox
test cases

1
2
Lowercase sigmabot III

Goszei
talk
06:42, 8 May 2021 (UTC)
its documentation
Redrose64
talk
11:16, 8 May 2021 (UTC)
PrimeHunter
talk
12:25, 8 May 2021 (UTC)
Goszei
talk
20:28, 8 May 2021 (UTC)
Redrose64
talk
21:21, 8 May 2021 (UTC)

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