Template talk:Tlsx
Different formatting
editWhy the different formatting depending on whether there are additional parameters? It makes pages like {{Templatesnotice}} look weird. Λυδαcιτγ 05:19, 27 January 2007 (UTC)
- I though it make it easier to look at when there are parameters. →AzaToth 18:56, 29 January 2007 (UTC)
Vector issues
editUnder 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)
- 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)- 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)
- Looking good, so
{{editprotected}}
Please sync to sandbox. --Redrose64 (talk) 21:46, 13 May 2010 (UTC)- Done — Martin (MSGJ · talk) 05:31, 14 May 2010 (UTC)
- Looking good, so
- 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)
Meaning of the letters
editWhat does "Tlsx" mean? Do those letters stand for something? Blue Rasberry (talk) 15:48, 12 November 2011 (UTC)
{{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:- {{tl}}
{{tlx}}
- {{subst:tls}}
{{subst:tlsx}}
{{subst:tlxs}}
- Hope that helps. --Redrose64 (talk) 23:20, 12 November 2011 (UTC)
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)
This edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
- 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)
- Done. Also finished merging, moved the {{tlxs}} documentation to a subpage, and protected it. Anomie⚔ 17:06, 21 December 2011 (UTC)
Number of parameters
editDoes 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)
- 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)