Jump to content

Template talk:Template link with parameters

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
Redirect page

Request for edit to protected template[edit]

{{editprotected}}

The sort key should be changed from:

Template link with parameters

to

Tlp

—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)[reply]

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)[reply]

checkY 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)[reply]
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)[reply]

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)[reply]

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)[reply]

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)[reply]

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)[reply]

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

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

Seems like a cache issue; now it displays with the correct protection setting. Jo-Jo Eumerus (talk, contributions) 09:13, 18 January 2017 (UTC)[reply]
@Jo-Jo Eumerus: Sorry to disturb you, but in my computer and mobile phone, it still displays as full protection. 203.198.134.195 (talk) 11:37, 18 January 2017 (UTC)[reply]
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)[reply]

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)[reply]

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

Requested move 9 February 2019[edit]

The following is a closed discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. Editors desiring to contest the closing decision should consider a move review after discussing it on the closer's talk page. No further edits should be made to this section.

The result of the move request was: no consensus to move the template at this time, per the discussion below; the current title has been in place for an extended period, so not reverting to the shorter version here. If necessary, please feel free to request moves to move the templates with shorter names to longer titles, but consensus for that can't be determined via this discussion either. Dekimasuよ! 21:47, 16 February 2019 (UTC)[reply]



Template:Template link with parametersTemplate:Tlp – Let's move this template back to its previous title for consistency. Almost all, if not all, related templates have their names at abbreviations such as Template:Tl, Template:Tlx, etc. Steel1943 (talk) 19:14, 9 February 2019 (UTC)[reply]

For the three redirects that exist, precisely nothing in article space links to them, and the documentation itself uses the shorter forms in examples and the transcluded comparison table. That part of the documentation is more of a specification than a brief statement of what the short forms stand for. ({{tlc}} calls them "mnemonics".) Assuming that editors learn by example, nobody is going to use the undocumented long forms. So what purpose does it serve to have them? 188.143.76.152 (talk) 01:14, 10 February 2019 (UTC)[reply]
  • Oppose, and move the other templates. They should all "live" at names that make sense to people who haven't been here since 2005. This will have no effect at all on use of their short forms, but will be helpful to the average editor trying to figure out which one to use for what.  — SMcCandlish ¢ 😼  04:23, 14 February 2019 (UTC)[reply]

The above discussion is preserved as an archive of a requested move. Please do not modify it. Subsequent comments should be made in a new section on this talk page or in a move review. No further edits should be made to this section.