Template talk:Template link with parameters

From Wikipedia, the free encyclopedia
  (Redirected from Template talk:Tlp)
Jump to: navigation, search

Request for edit to protected template[edit]


The sort key should be changed from:

Template link with parameters



—This unsigned comment was added by Doug Bell (talkcontribs) 05:29, March 23, 2006.

Done. // Pathoschild (admin / talk) 06:25, 23 March 2006 (UTC)

Also, for consistency with other {{subst:tlsp}} and other templates, the formatting should be changed to:

{{<small> </small>[[{{ns:Template}}:{{{1}}}|{{{1}}}]]<tt>:</tt>{{{2}}}<small> </small>}}<noinclude>[[Category:Internal link templates|Tlp]]</noinclude>

The correct code only shows up if you look at the source of (edit) this page. TheJabberwʘck 17:48, 14 May 2006 (UTC)

Make this one work like ((tlf))[edit]

I am planning to make this {{tlp}} template work like {{tlf}}. (But with a linked template name of course.) This will be fully backwards compatible. That is, there will be no visible difference for pages that already use this template.

This means {{tlp}} will get the following features:

  • Will show a linked template name just like before.
  • Will use normal text style just like before.
  • Will be able to show zero parameters. (Currently it has to have exactly one parameter.)
  • Will be able to show up to eight parameters.
  • Will correctly render empty but defined parameters. (See examples at {{tlc}}.)
  • Will prevent line wraps in its output.

Currently we have the {{tlx}} template that can handle several parameters. But that one renders its output in teletype. So currently we have no tl template that can take several parameters and render in normal text style.

I see no reason to create a new template for this, there are already confusingly many variants of the tl templates. We can just as well upgrade this {{tlp}} template to have these features.

This template is also used with the same name in some of the other Wikimedia projects and some of the other language Wikipedias. I looked around and some of the other language Wikipedias have already upgraded this template to handle more parameters. So we will be compatible with them. I intend to do the same update to the version over at Commons.

--David Göthberg (talk) 07:36, 18 February 2009 (UTC)

YesY Done - And I added proper documentation too. I will perhaps wait some more day for any reactions, and then deploy this at Commons, Meta and mediawiki.org too. I have announced this at the talk pages of Tlp on those projects too and linked back here.
--David Göthberg (talk) 10:52, 19 February 2009 (UTC)
I updated Commons' for you. Someone recently redirected our {{tlp}} to {{tlx}} since our tlx didn't use teletype for a good while; the only difference was the # of params. So this template essentially matches commons:Template:Tlx. (I imported your /doc as well). Rocket000 (talk) 23:51, 30 July 2009 (UTC)

Number of Arguments[edit]

Some usages of this template do not honor the limit on number of arguments. (Ex: Template:About/testcases longer testcases seem broken, since they all use template with more then 8 arguments) And it might be the case that using more than 8 arguments is really beneficial (like in the above test cases) Just a suggestion to increase the limit. Deniz Feneri (talk) 04:29, 7 January 2010 (UTC)

Editprotected request involving this template[edit]

This message is to inform people monitoring this talk page that there is an "editprotected" request involving this and several other templates at Template talk:! cymru.lass (hit me up)(background check) 20:45, 28 December 2010 (UTC)

Protected edit request on 29 May 2015[edit]

<!-- Add categories and interwikis to the /doc subpage, not here! --> please remove interwikis from this text ԱշոտՏՆՂ (talk) 17:00, 29 May 2015 (UTC)

Red information icon with gradient background.svg Not done for now: This is a good idea, but seeing as it wouldn't have any effect on the output, and that making the edit would put almost 180,000 pages in the job queue, it should probably wait until the next time the template needs updating. — Mr. Stradivarius ♪ talk ♪ 02:18, 30 May 2015 (UTC)

Template-protected edit request on 18 January 2017[edit]

Add {{pp-template}} at the top. It now displays as full protection without the template. (talk) 08:42, 18 January 2017 (UTC)

Seems like a cache issue; now it displays with the correct protection setting. Jo-Jo Eumerus (talk, contributions) 09:13, 18 January 2017 (UTC)
@Jo-Jo Eumerus: Sorry to disturb you, but in my computer and mobile phone, it still displays as full protection. (talk) 11:37, 18 January 2017 (UTC)
Yeah, logged in accounts don't hit the cache which was still storing the previous protection setting. I've WP:PURGED the cache and now it should display~correctly. Jo-Jo Eumerus (talk, contributions) 12:31, 18 January 2017 (UTC)

Name of template[edit]

How about expanding the name of this template to {{template link with parameters}} as that is its purpose? The abbreviation {{tlp}} would remain valid of course. — Martin (MSGJ · talk) 09:14, 18 January 2017 (UTC)

No comments so I have made this move in the interest of clarity — Martin (MSGJ · talk) 13:35, 23 January 2017 (UTC)