Template talk:Tlp
| Template:Tlp is permanently protected from editing, and can therefore only be edited by administrators, since it is a heavily used or visible template. Substantial changes should be proposed here, if the proposal is uncontroversial or has been discussed and is supported by consensus. Use {{edit protected}} to attract the attention of an administrator in such cases. Any contributor may edit the template's documentation to add usage notes, categories or interwiki links. |
Archives |
|||
|---|---|---|---|
|
Contents |
[edit] Request for edit to protected template
{{editprotected}}
The sort key should be changed from:
- Template link with parameters
to
- Tlp
—This unsigned comment was added by Doug Bell (talk • contribs) 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)
[edit] Make this one work like ((tlf))
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)
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)
[edit] Number of Arguments
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)
[edit] Editprotected request involving this template
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)