Template talk:Tlx
Thin space
editUsing <small> </small> is a kludge, putting it mildly, but the proper   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  , neither emulated nor real.
Another trick used by {{Tlx}}
is <tt>|</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)
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)
- Done, thanks! — Revi 11:16, 29 January 2015 (UTC)
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)
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)
Consistency
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
Protected edit request on 15 February 2023
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
|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)
- Done @Mikhail Ryazanov: please let me know if any issues. — xaosflux Talk 14:49, 24 February 2023 (UTC)
- 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)