Template talk:Tlx

Latest comment: 1 year ago by Mikhail Ryazanov in topic Protected edit request on 15 February 2023

Thin space

edit

Using <small>&#160;</small> is a kludge, putting it mildly, but the proper &thinsp; is translated to UTF-8 by the server on the fly, and it doesn't work with old browsers. The code column in the example shows this effect - there is of course no such thing as a monospaced &thinsp;, neither emulated nor real.

Another trick used by {{Tlx}} is <tt>&#124;</tt> for the pipe symbol (vertical bar), a monospaced | adjacent to other text is better visible in the output for proportional fonts. I hope you like it, it's not ideal for text mode browsers. -- Omniplex 21:57, 24 March 2006 (UTC)Reply

1st parameter

edit

{{Editprotected}}

The 1st parameter had a self-reference as default in 2006, and supported localized Template namespaces. That was lost resulting in gibberish as first line on the template page itself. Please fix…

old

Template:{{{1|}}}|{{{1|}}}

new

{{ns:Template}}:{{{1|Tlx}}}|{{{1|Tlx}}}

…in the first line. –Be..anyone (talk) 23:08, 28 January 2015 (UTC)Reply

  Done, thanks! — Revi 11:16, 29 January 2015 (UTC)Reply

works for me

edit

@Peteforsyth: does everything as it should, seven parameters, new SISTER feature, no nonsense even if it used to be technically interesting like Patrick's subst concept, stamped as works for me + omniplex representing this long dead entity. Sync'ed with d: and mw:, for c: an update request is already registered. –Be..anyone (talk) 23:31, 19 February 2015 (UTC)Reply

Portability

edit

{{editprotected}}

Please replace the first line …

{{[[{{{SISTER|}}}{{ns:Template}}:{{{1|Tlx}}}|{{{1|Tlx}}}]]<!--

… by a portable version …

{{[[{{#if:{{{SISTER|}}}|{{{SISTER}}}Template|{{ns:Template}}}}:{{{1|Tlx}}}|{{{1|Tlx}}}]]<!--

… working also on Wikis with other names for the template namespace.

I've already fixed dewiki, mediawikwiki, and wikidata. –Be..anyone (talk) 03:04, 3 July 2015 (UTC)Reply

Done. —MarcoAurelio 09:18, 6 July 2015 (UTC)Reply

Consistency

edit

Please replace the current template code with what's in Template:Tlx/sandbox. This will apply <code>...</code> style, to match Template:Tnull, and match Template:Tlx at en.wikipedia and other sites (lots of them) that borrowed the code from there. It also implements a |plain=y, so that a wrapper with this parameter can be set up at Template:Tlp, to do same thing as w:en:Template:Tlp, i.e. to do the same thing as {{tlx}} but without monospaced code markup.  — SMcCandlish ¢ >ʌⱷ҅ʌ<  14:26, 13 February 2020 (UTC)Reply

{{editprotected}} added. * Pppery * it has begun 13:51, 19 April 2020 (UTC)Reply
  Donexaosflux Talk 19:32, 26 August 2020 (UTC)Reply

Protected edit request on 15 February 2023

edit

|SISTER= substitution missed the colon (:), so, for example, |SISTER=en produces non-working enTemplate instead of en:Template. (Or it must be documented that the colon must be included in the parameter value, like |SISTER=en:.) Mikhail Ryazanov (talk) 23:23, 15 February 2023 (UTC)Reply

  Done @Mikhail Ryazanov: please let me know if any issues. — xaosflux Talk 14:49, 24 February 2023 (UTC)Reply
Seems to work now, thanks! I've updated the documentation (it was really weird), please check. — Mikhail Ryazanov (talk) 05:53, 25 February 2023 (UTC)Reply
Return to "Tlx" page.