Knowledge (XXG)

Template talk:Template link with subst and parameters

Source 📝

651: 328:" or "..." as a fifth parameter himself, but if he just used "X" or something then he'll end up with a very weird result. I for one am not comfortable with just changing the signature of a template and hoping for the best, I'd much rather do it in a controlled way, by conditional categorization and purging of all transcluding pages, and then showing a big red 617: 183: 801: 775:}} has two blue links which are distinct because of the intervening colon, but putting the colon inside the first will create a situation where two blue links butt up together (the tlsp template isn't used on article pages, but if it were, having the links close together would violate 323:
Well yeah, obviously it was built for four parameters. I certainly wouldn't be surprised if someone did intentionally use the "etc." though, with a template that supports a quite high number of parameters for example. If that someone was smart he supplied
425:{{]:]{{#if:{{{2|}}}||{{{2}}}}}{{#if:{{{3|}}}||{{{3}}}}}{{#if:{{{4|}}}||{{{4}}}}}{{#if:{{{5|}}}||{{{5}}}}}{{#if:{{{6|}}}||{{{6}}}}}{{#if:{{{7|}}}||{{{7}}}}}{{#if:{{{8|}}}||{{{8}}}}}{{#if:{{{9|}}}||{{{9}}}}} {{#if:{{{10|}}}||<i: --> 259:|1|2|3|4|5|6|7|and more}}, right? I'm a bit loath to change the signature of this template since it's conceivable that someone was relying on the special behavior of the fifth parameter displaying the "etc.", right? 345:
I wouldn't know. Was a good idea, but looks like a perversion rather than like a workaround to me. We have a template here that can take as many parameters as needed, so that's the best course of action, IMO.
220:
I need a fifth parameter for one example. And the protection template should really be on the documentation page (I have added it there). Could you please copy the following text to do these two minor things:
422:
has run some tests. There seems to be no problem with the proposed edit. Actually, now that I consider it, why not make that some more parameters. Better have them, just in case. The code would be:
852: 460:", which leaves no reservations in the future to just extend the number of parameters as needed without much ado. You were right, by the way, there weren't any actual usages of the " 635: 332:
if a sixth parameter is supplied. We can also wait and see what Martin says, he's bound to show up here eventually since he's still diligently fulfilling editprotected requests.
284:
Maybe, but I'm not going to look through the 1500+ transclusions. We could categorize the ones that are displaying the etc. parameter. Can't the workaround be used though?
35: 391:
Sorry. I made the request before any objections were raised, in utter faith that there is no feasable reason not to make the edit. And I still am convinced of that.
866: 270:
Conceivable but highly unlikely. If he were, he should have left a warning. Templates are updated once in a while, and this was to be expected.
456:
Whoops, didn't read this before I made the change. I'm outputting an error now if too many parameters are passed instead of writing "
224:{{]:]{{#if:{{{2|}}}||{{{2}}}}}{{#if:{{{3|}}}||{{{3}}}}}{{#if:{{{4|}}}||{{{4}}}}}{{#if:{{{5|}}}||{{{5}}}}}{{#if:{{{6|}}}||<i: --> 985: 445: 244: 945: 1052: 1038: 1016: 997: 957: 930: 899: 815: 791: 766: 749: 724: 628: 609: 535: 521: 495: 481: 470: 449: 411: 400: 385: 355: 340: 318: 304: 290: 279: 265: 248: 202: 174: 126: 101: 48: 742: 720: 587: 160: 657: 255:
You should be able to fake this with something like {{tlsp|tlsp|1|2|3{{!}}4{{!}}5{{!}}6{{!}}7|and more}} → {{
44:. This is still necessary for more than three parameters, but otherwise the direct approach now also works. 486:
You have run the test yourself, so you know I use 5 and even 6 of them. And it is a good idea in any case.
433: 232: 1026: 830: 556: 215: 139: 509: 379: 716: 623: 40:
supported only one example parameter for the specified template, more parameters had to be separated by
878: 787: 593: 531: 491: 441: 396: 373: 351: 314: 300: 275: 240: 1048: 1034: 1012: 993: 953: 926: 895: 516: 476: 465: 406: 335: 285: 260: 145: 776: 812: 712: 754:
We do lots of things which aren't strictly necessary but result in an impovement. — Martin
730:
If it isn't necessary, then why put stress on the servers for a purely cosmetic change? →
405:
I don't think Skomorokh meant to imply otherwise. I certainly would have done the same.
309:
It is by far more likely that nobody expected this template would need five parameters.
780: 761: 737: 581: 527: 487: 437: 392: 347: 329: 310: 296: 271: 236: 197: 155: 1044: 1030: 1008: 989: 949: 922: 919: 891: 826: 772: 419: 256: 45: 966: 938: 908: 859: 845: 694: 295:
People should definitely not rely on the "etc.". Nor do I see any conceivable use.
168: 111: 86: 76: 475:
Hmm, you restored the editprotected request? You need more parameters right away?
17: 978: 809: 66: 123: 98: 642:(optional; no need to do this) Edit request from LikeLakers2, 19 October 2011 62:) found just inside the opening and closing brackets? This template's peers 757: 573: 193: 150: 732: 505:
5 and 6 this morning, that's what I meant with "made the change" above.
918:
have an italics option. Is it the end of the world to switch uses
703:
Of course, this isn't really neccesary, I just always prefered
148:
page. (Replace all of the documentation here to the /doc page)
1007:
pairing. Not sure why it lets through templates but not HTML.
645: 427:}}{{#if:{{{subst|}}}||subst={{{subst}}}}}}}<noinclude: --> 226:}}{{#if:{{{subst|}}}||subst={{{subst}}}}}}}<noinclude: --> 1002:
Well, technically it uses a #tag:nowiki instead of the
599: 501: 144:
Please move the template's documentation to a seperate
190:. Could you move things over from this page? — Martin 1043:
I've rolled things back until it can get sorted out.
690:of the link. I would request this also be done to 771:I don't think this is a good idea. At present, {{ 58:Are there any objections to removing the spaces ( 711:, since it looks a bit nicer and cleaner to me. 914:uses a nowiki on all of its parameters, but it 855:(at the moment sandbox has the version before 371:Please get consensus before requesting edits. 334:But seriously, can't that workaround be used? 871: 8: 686:. This is basically making the colons part 865:). I've noticed because instructions at 777:WP:LINK#General points on linking style 569:, as the link changed. Thanks! Cheers, 36:Template link with subst and parameters 972:uses a nowiki on all of its parameters 962: 428:{{Documentation}} </noinclude: --> 227:{{Documentation}} </noinclude: --> 7: 1003: 837: 874:Remember to tag the category with: 25: 944:is also affected, for example at 799: 649: 615: 181: 1: 1025:Another CfD-related example: 946:Template:Userwhisperback/doc 816:01:40, 20 October 2011 (UTC) 792:23:07, 19 October 2011 (UTC) 767:13:34, 19 October 2011 (UTC) 750:02:41, 19 October 2011 (UTC) 725:02:40, 19 October 2011 (UTC) 986:Special:Permalink/951581404 688:of your delicious breakfest 672:to reactivate your request. 660:has been answered. Set the 536:13:19, 9 October 2009 (UTC) 526:Ok. Then it's ok, I guess. 522:12:44, 9 October 2009 (UTC) 496:12:28, 9 October 2009 (UTC) 482:11:34, 9 October 2009 (UTC) 471:07:38, 9 October 2009 (UTC) 450:02:09, 9 October 2009 (UTC) 412:07:38, 9 October 2009 (UTC) 401:11:34, 6 October 2009 (UTC) 386:03:16, 6 October 2009 (UTC) 356:16:56, 5 October 2009 (UTC) 341:16:28, 5 October 2009 (UTC) 319:15:51, 5 October 2009 (UTC) 305:15:50, 5 October 2009 (UTC) 291:15:46, 5 October 2009 (UTC) 280:15:36, 5 October 2009 (UTC) 266:15:27, 5 October 2009 (UTC) 249:13:54, 5 October 2009 (UTC) 1071: 1053:21:30, 17 April 2020 (UTC) 1039:21:12, 17 April 2020 (UTC) 1017:21:30, 17 April 2020 (UTC) 998:21:10, 17 April 2020 (UTC) 984:seems to be not affected: 958:21:02, 17 April 2020 (UTC) 931:20:48, 17 April 2020 (UTC) 900:18:59, 17 April 2020 (UTC) 49:19:33, 24 March 2006 (UTC) 822:Support for tag var broke 636:18:18, 26 July 2010 (UTC) 610:17:46, 26 July 2010 (UTC) 127:22:21, 16 July 2006 (UTC) 102:22:19, 16 July 2006 (UTC) 117:does have them, though. 561:Please change the link 203:09:37, 1 May 2009 (UTC) 175:04:24, 1 May 2009 (UTC) 1027:Template:Cfdnotice/doc 888: 32:An older version of 1005:...</nowiki: --> 851:in parameters. See 779:, fifth bullet). -- 875: 721:Sign my guestbook! 515:is already happy. 92:do not have them. 18:Template talk:Tlsp 873: 836:broke support of 829:, unfortunately, 765: 707:as the text over 676: 675: 633: 606: 436:comment added by 235:comment added by 201: 16:(Redirected from 1062: 1006: 983: 977: 971: 965: 943: 937: 913: 907: 886: 879:subst:Cfr-speedy 864: 858: 850: 844: 840: 839:...</var: --> 834: 807: 803: 802: 783: 755: 748: 745: 740: 735: 710: 706: 699: 693: 685: 681: 667: 663: 653: 652: 646: 629: 619: 618: 608: 605: 602: 596: 590: 584: 578: 576: 568: 564: 560: 519: 514: 508: 504: 479: 468: 452: 409: 384: 382: 376: 338: 288: 263: 251: 219: 191: 189: 185: 184: 171: 167: 163: 158: 153: 143: 116: 110: 91: 85: 81: 75: 71: 65: 61: 43: 39: 21: 1070: 1069: 1065: 1064: 1063: 1061: 1060: 1059: 1004:<nowiki: --> 981: 975: 969: 963: 941: 935: 911: 905: 884: 876: 862: 856: 848: 842: 832: 824: 800: 798: 781: 743: 738: 733: 731: 708: 704: 697: 691: 683: 679: 665: 661: 650: 644: 625:Rambo's Revenge 616: 600: 594: 588: 582: 579: 574: 570: 566: 562: 554: 552: 517: 512: 506: 502:I already added 500: 477: 466: 431: 429: 426:etc.</i: --> 407: 380: 374: 372: 336: 286: 261: 230: 228: 225:etc.</i: --> 213: 211: 182: 180: 169: 165: 161: 156: 151: 137: 135: 114: 108: 89: 83: 79: 73: 69: 63: 59: 56: 41: 33: 30: 23: 22: 15: 12: 11: 5: 1068: 1066: 1058: 1057: 1056: 1055: 1023: 1022: 1021: 1020: 1019: 960: 882: 823: 820: 819: 818: 808:No consensus. 796: 795: 794: 752: 678:Please change 674: 673: 654: 643: 640: 639: 638: 551: 548: 547: 546: 545: 544: 543: 542: 541: 540: 539: 538: 424: 417: 416: 415: 414: 369: 368: 367: 366: 365: 364: 363: 362: 361: 360: 359: 358: 333: 307: 223: 210: 207: 206: 205: 134: 131: 130: 129: 55: 52: 29: 26: 24: 14: 13: 10: 9: 6: 4: 3: 2: 1067: 1054: 1050: 1046: 1042: 1041: 1040: 1036: 1032: 1028: 1024: 1018: 1014: 1010: 1001: 1000: 999: 995: 991: 987: 980: 973: 968: 961: 959: 955: 951: 947: 940: 934: 933: 932: 928: 924: 921: 917: 910: 904: 903: 902: 901: 897: 893: 887: 880: 870: 868: 861: 854: 847: 835: 828: 821: 817: 814: 811: 806: 797: 793: 789: 785: 778: 774: 770: 769: 768: 763: 759: 753: 751: 746: 741: 736: 729: 728: 727: 726: 722: 718: 714: 701: 696: 689: 671: 668:parameter to 659: 655: 648: 647: 641: 637: 634: 632: 627: 626: 622: 614: 613: 612: 611: 607: 603: 597: 591: 585: 577: 558: 557:editprotected 549: 537: 533: 529: 525: 524: 523: 520: 511: 503: 499: 498: 497: 493: 489: 485: 484: 483: 480: 474: 473: 472: 469: 463: 459: 455: 454: 453: 451: 447: 443: 439: 435: 423: 421: 413: 410: 404: 403: 402: 398: 394: 390: 389: 388: 387: 383: 377: 357: 353: 349: 344: 343: 342: 339: 331: 327: 322: 321: 320: 316: 312: 308: 306: 302: 298: 294: 293: 292: 289: 283: 282: 281: 277: 273: 269: 268: 267: 264: 258: 254: 253: 252: 250: 246: 242: 238: 234: 222: 217: 216:editprotected 208: 204: 199: 195: 188: 179: 178: 177: 176: 173: 172: 164: 159: 154: 147: 141: 140:editprotected 133:Documentation 132: 128: 125: 122: 121: 113: 106: 105: 104: 103: 100: 97: 96: 88: 78: 68: 53: 51: 50: 47: 37: 27: 19: 915: 889: 872: 838:<var: --> 825: 804: 702: 687: 677: 669: 658:edit request 630: 624: 620: 572: 553: 461: 457: 430: 418: 370: 325: 229: 212: 186: 149: 136: 119: 118: 94: 93: 57: 31: 713:LikeLakers2 550:Link change 464:" feature. 432:—Preceding 231:—Preceding 867:Speedy CfD 853:/testcases 831:switch to 773:subst:tlsp 662:|answered= 510:Catfd3/doc 381:barbarian 257:subst:tlsp 237:Debresser 170:Sign here! 60:&#160; 42:&#124; 28:Historical 974:However, 528:Debresser 488:Debresser 438:Debresser 393:Debresser 375:Skomorokh 348:Debresser 311:Debresser 297:Debresser 272:Debresser 1045:Primefac 1031:andrybak 1009:Primefac 990:andrybak 950:andrybak 923:Primefac 892:andrybak 883:New name 827:Primefac 805:Not done 518:Amalthea 478:Amalthea 467:Amalthea 446:contribs 434:unsigned 420:Amalthea 408:Amalthea 337:Amalthea 287:Amalthea 262:Amalthea 245:contribs 233:unsigned 46:Omniplex 869:broke: 833:{{Tlg}} 209:Request 810:Anomie 784:rose64 705:subst: 631:(talk) 107:I see 82:, and 54:Spaces 709:subst 666:|ans= 656:This 330:error 124:Meegs 99:Meegs 1049:talk 1035:talk 1029:. —⁠ 1013:talk 994:talk 988:. —⁠ 954:talk 948:. —⁠ 927:talk 916:does 896:talk 841:and 788:talk 762:talk 758:MSGJ 717:talk 621:Done 575:MC10 532:talk 492:talk 462:etc. 458:etc. 442:talk 397:talk 352:talk 326:etc. 315:talk 301:talk 276:talk 241:talk 198:talk 194:MSGJ 187:Done 146:/doc 967:tlg 939:tlp 909:tlg 860:tlg 846:var 782:Red 723:) 695:tls 682:to 664:or 565:to 112:Tlx 87:Tlp 77:Tls 1051:) 1037:) 1015:) 996:) 982:}} 976:{{ 970:}} 964:{{ 956:) 942:}} 936:{{ 929:) 912:}} 906:{{ 898:) 890:—⁠ 885:}} 877:{{ 863:}} 857:{{ 849:}} 843:{{ 790:) 760:· 719:| 700:. 698:}} 692:{{ 680:]: 670:no 595:GB 559:}} 555:{{ 534:) 513:}} 507:{{ 494:) 448:) 444:• 399:) 378:, 354:) 317:) 303:) 278:) 247:) 243:• 218:}} 214:{{ 196:· 162:10 142:}} 138:{{ 115:}} 109:{{ 90:}} 84:{{ 80:}} 74:{{ 72:, 70:}} 67:Tl 64:{{ 38:}} 34:{{ 1047:( 1033:( 1011:( 992:( 979:= 952:( 925:( 920:? 894:( 881:| 813:⚔ 786:( 764:) 756:( 747:. 744:c 739:τ 734:Σ 715:( 684:] 604:) 601:L 598:• 592:• 589:C 586:• 583:T 580:( 571:— 567:] 563:] 530:( 490:( 440:( 395:( 350:( 324:" 313:( 299:( 274:( 239:( 200:) 192:( 166:| 157:C 152:M 120:× 95:× 20:)

Index

Template talk:Tlsp
Template link with subst and parameters
Omniplex
19:33, 24 March 2006 (UTC)
Tl
Tls
Tlp
Meegs
22:19, 16 July 2006 (UTC)
Tlx
Meegs
22:21, 16 July 2006 (UTC)
editprotected
/doc
M
C
10
Sign here!
04:24, 1 May 2009 (UTC)
MSGJ
talk
09:37, 1 May 2009 (UTC)
editprotected
unsigned
Debresser
talk
contribs
13:54, 5 October 2009 (UTC)
subst:tlsp
Amalthea

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