Template talk:Tlsx

(Redirected from Template talk:Tlsx/doc)
Latest comment: 11 years ago by Redrose64 in topic Number of parameters

Different formatting

edit

Why the different formatting depending on whether there are additional parameters? It makes pages like {{Templatesnotice}} look weird. Λυδαcιτγ 05:19, 27 January 2007 (UTC)Reply

I though it make it easier to look at when there are parameters. AzaToth 18:56, 29 January 2007 (UTC)Reply

Vector issues

edit

Under Monobook, this template produced the same font size as {{tlx}}. Now, under Vector, it's much smaller in Firefox & Chrome, although larger in IE7: {{subst:tlsx}} (Safari users report same size). --Redrose64 (talk) 13:08, 13 May 2010 (UTC)Reply

I've traced it to the generated HTML: tlx/tlu are formatted using <tt></tt> whereas tlsx/tlsu use <span style="font-family:monospace;"></span>. --Redrose64 (talk) 16:23, 13 May 2010 (UTC)Reply
Right, {{subst:template:tlsu}} is now fixed, so let's see how the sandbox goes: {{subst:tlsx/sandbox}}. --Redrose64 (talk) 21:39, 13 May 2010 (UTC)Reply
Looking good, so {{editprotected}} Please sync to sandbox. --Redrose64 (talk) 21:46, 13 May 2010 (UTC)Reply
  Done — Martin (MSGJ · talk) 05:31, 14 May 2010 (UTC)Reply

Meaning of the letters

edit

What does "Tlsx" mean? Do those letters stand for something? Blue Rasberry (talk) 15:48, 12 November 2011 (UTC)Reply

{{Tlsx}} is one member of a whole family of templates used for linking to templates, the first of which was {{tl}} - tl stands for template link. {{Tl}} has limitations, such as the inability to show parameters, and so {{tlx}} was written as an extended version - Template Link eXtended. Both of these are for use with templates which are normally transcluded, but there are some templates which should normally be substituted. For these, the {{tls}} template was produced - Template Link Subst, and like {{tl}}, it cannot show parameters. By combining the additional functions of {{tls}} with the additional functions of {{tlx}} we get {{tlsx}} - Template Link Subst eXtended. Note that there is another template which does almost the same job - {{tlxs}} - Template Link eXtended Subst - the main difference is that it doesn't link the prefix "subst:". I won't bother describing {{tlc}}, {{tld}}, and the others - there are quite a few. In summary:
Hope that helps. --Redrose64 (talk) 23:20, 12 November 2011 (UTC)Reply

Nomination for merging of Template:Tlxs

edit

 Template:Tlxs has been nominated for merging with Template:Tlsx. You are invited to comment on the discussion at the template's entry on the Templates for discussion page. Thank you. 70.24.248.23 (talk) 14:41, 29 November 2011 (UTC)Reply

This template is now redundant (and inferior) to {{tlxs}}. Please redirect it there. You may also wish to protect {{tlxs}} per WP:HRT, since it will have an extra thousand transclusions or so. — This, that, and the other (talk) 00:47, 20 December 2011 (UTC)Reply
  Done. Also finished merging, moved the {{tlxs}} documentation to a subpage, and protected it. Anomie 17:06, 21 December 2011 (UTC)Reply

Number of parameters

edit

Does not seem to work with more than two parameters.

{{subst:Foo|1|2|3|4|5|6}} works, but {{tlxs|RMtalk|Proposed new name|Reason for move|header=yes}} truncates the third parameter. {{subst:RMtalk|Proposed new name|Reason for move}} Is there something in RMtalk that says that there are only two parameters even though there are three? Apteva (talk) 17:09, 4 July 2013 (UTC)Reply

No, it's because that parameter has an equals sign, so you need to number it explicitly. {{tlxs|RMtalk|Proposed new name|Reason for move|4=header=yes}} → {{subst:RMtalk|Proposed new name|Reason for move|header=yes}} --Redrose64 (talk) 18:01, 4 July 2013 (UTC)Reply