Knowledge (XXG)

Template talk:Template link with subst and parameters

Source 📝

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

Index

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
15:27, 5 October 2009 (UTC)

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