Template talk:Tlx

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search

Font

[edit]

This should display the template name in a mono-spaced font which is part of its distinction from {{Tl}}. (talk) 10:01, 6 November 2010 (UTC)[reply]

Meanwhile {{Tl}} is monospaced, and {{tlx}} is postmodern, let's keep it in sync with Meta, MediaWikiWiki, and Wikidata, I'm 100% sure that the original author would want it so. –Be..anyone (talk) 22:04, 28 January 2015 (UTC)[reply]

Import

[edit]

{{Editprotected}} Please re-import the state of the art from MediaWikiWiki, or Wikidata to match the already updated English documentation. –Be..anyone (talk) 22:04, 28 January 2015 (UTC)[reply]

conditional support

[edit]
Similar templates at English sister projects [edit]
wpd Wikipedia Tlx
cms Commons Tlx
wbk Wikibooks Tlx
wsp Wikispecies Tlx
wvy Wikiversity Tlx
1st an example

Early stable 2007 version showing debugging format ported many sisters:

{{[[Template:{{{1}}}|{{{1}}}]]}}

From:

Early stable 2007 version showing debugging format ported many sisters
{{{{#if:{{{1|}}}
| [[{{ns:10}}:{{{1}}}|{{{1}}}]] | tlx|... }}<!--
-->{{#ifeq:{{{2|x}}}|{{{2|}}}| |{{{2}}} }}<!--
-->{{#ifeq:{{{3|x}}}|{{{3|}}}| |{{{3}}} }}<!--
-->{{#ifeq:{{{4|x}}}|{{{4|}}}| |{{{4}}} }}<!--
-->{{#ifeq:{{{5|x}}}|{{{5|}}}| |{{{5}}} }}<!--
-->{{#ifeq:{{{6|x}}}|{{{6|}}}| |{{{6}}} }}<!--
-->{{#ifeq:{{{7|x}}}|{{{7|}}}| |{{{7}}} }}<!--
-->{{#ifeq:{{{8|x}}}|{{{8|}}}| |{{{8}}} }}<!--
-->{{#ifeq:{{{9|x}}}|{{{9|}}}| |{{{9}}} }}<!--
-->{{#if:{{{10|}}}| |... }}<!--
-->}}<noinclude>
{{documentation}}
</noinclude>
Second the one requested, same now as the META source per request this same editor
meta source 11:15, 29 January 2015 (Changed per {{tl|editrequest}} ''this '''same''' editor'')
{{[[{{{SISTER|}}}{{ns:Template}}:{{{1|Tlx}}}|{{{1|Tlx}}}]]<!--
-->{{#if:{{{2|}}}||{{{2}}}}}<!--
-->{{#if:{{{3|}}}||{{{3}}}}}<!--
-->{{#if:{{{4|}}}||{{{4}}}}}<!--
-->{{#if:{{{5|}}}||{{{5}}}}}<!--
-->{{#if:{{{6|}}}||{{{6}}}}}<!--
-->{{#if:{{{7|}}}||{{{7}}}}}<!--
-->{{#if:{{{8|}}}||''...''}}}}<noinclude>
{{documentation}}
</noinclude>

  1. I'm very interested in knowing how user:Be..anyone knows so surely the state of mind of the original author, or for that fact, mine as the second author most responsible for disseminating this template to various sisters heading up the old interwiki template sharing project in 2006-07... {{interwikitmp-grp|history}} &this & this for example.
  2. Oppose simple copying of the [upstart johnny-come-lately] Wikidata project (September 3rd, Last Year! I guess we were ahead of the demand curve back in 2006!) AS 'authoritative' as claimed. As always, the most tested, most used locale for any template is the English Wikipedia, so that model need be considered a better example.
  3. Comparing that {{w:template:tlx}}, the most important differences are threefold:
    1. en.wikipedia traps a (very old batch subst schemes') template switch parameter {{{subst}}} and directs it to a help page... in effect the subst parameter is useless, unlike it's original 2007-2008ish role... iirc. So avoid replication
    2. Wikipedia uses a LANG (language) pass parameter... this is locally redundant to SISTER and had effect only between interlanguage sisters, and no non-English sisters ever joined the interwikitmp procedures, so it is very obsolete. These both were introduced during the interwiki template sharing project. Keep the {{{Sister}}} parameter per the nom's request.
    3. The key differences are length and punctuation style.
      1. On the latter, relying on parsing to generate the curly-brace wrappers and expect people to see the gist of how the template works is just Piss poor programming practices—the form was likely introduced by a smart college kid with scant experience on big projects with many people such practices confuse. So I'd suggest either the HTML numeric wrappers or the nowiki form used by the en.wikipedia... both have the virtue of being clear and distinct. Curly braces are just too overloaded to use more when it is unnecessary and in cases like this actually unhelpful since it is confusing--even to the cognoscenti and Illuminati.
        • Things which slow down comprehension ought be avoided out of respect for other's time, n'est pas?
      2. Leaving the end count. I recall versions of this template that went upto 20 parameters. I'd be inclined to strongly suggest staying with 10+ The 12 of Wikipedia seems about right.
  4. Thankyou for your time, I hope this was clear enough.

— Preceding unsigned comment added by Fabartus (talk • contribs)

FWIW I meet the original author of m:template:tlx, m:template:!, the former w:template:!, etc. sometimes in mirrors. Seven parameters, no more "SUBST" hack, because nobody uses it, but the later added "SISTER" feature is useful. Above all it should work or break on c: d: m: mw: in the same predictable way, to simplify transwiki of templates with documentation. –Be..anyone (talk) 22:25, 30 January 2015 (UTC)[reply]
Meanwhile enwiki, wikidata, meta, and mediawikiwiki are sync'ed, reported on AN as window of opportunity. –Be..anyone (talk) 23:29, 19 February 2015 (UTC)[reply]

✓ Done --Jarekt (talk) 20:52, 9 November 2015 (UTC)[reply]

Edit request monospace

[edit]

{{Editprotected}}

Please add <span style="font-family:monospace, monospace;"> like on Template_talk:Tl#Edit_request There seems no rationale reason to omit it here. (@Hedwig in Washington: ?) User: Perhelion 13:54, 30 March 2016 (UTC)[reply]

Hey @Hedwig in Washington: , thanks for attention. :-) I do propose completely around it, like in the en: equivalent[1]
<span style="font-family:monospace, monospace;"><!--
-->{{[[{{#if:{{{SISTER|}}}|{{{SISTER}}}Template|{{ns:Template}}}}:{{{1|Tlx}}}|{{{1|Tlx}}}]]<!--
-->{{#if:{{{2|}}} |{{!}}{{{2}}}}}<!--
-->{{#if:{{{3|}}} |{{!}}{{{3}}}}}<!--
-->{{#if:{{{4|}}} |{{!}}{{{4}}}}}<!--
-->{{#if:{{{5|}}} |{{!}}{{{5}}}}}<!--
-->{{#if:{{{6|}}} |{{!}}{{{6}}}}}<!--
-->{{#if:{{{7|}}} |{{!}}{{{7}}}}}<!--
-->{{#if:{{{8|}}} |{{!}}{{{8}}}}}<!--
-->{{#if:{{{9|}}} |{{!}}{{{9}}}}}<!--
-->{{#if:{{{10|}}}|{{!}}''…''}}}}</span><noinclude>
{{documentation}}
</noinclude>
Thanks in advance. Have a nice day User: Perhelion 08:00, 31 March 2016 (UTC)[reply]
✓ Done --Hedwig in Washington (mail?) 01:04, 1 April 2016 (UTC)[reply]

@Hedwig in Washington and @Perhelion, I've reverted this edit, as it broke it everywhere (and it's used in a lot of templates). Specifically, it caused any invocation, regardless of parameters, to show "{{{3}}}{{{4}}}{{{5}}}{{{6}}}{{{7}}}{{{8}}}{{{9}}}…" after the template name. Please test more carefully in the future! Logan Talk Contributions 06:15, 1 April 2016 (UTC)[reply]

Oh sorry yes, there was no fault to expect. The fault was only due the copy respectively the conversion of the HTML entity &#124; PS: testedUser: Perhelion 11:45, 1 April 2016 (UTC)[reply]
That looks odd, why not simply monospace once? Testing:
lazy dog (.twice.)
lazy dog (.once..), why does my Chrome show "once" smaller?
lazy dog (smaller) for font: smaller monospace;
Unrelated issue, IMO c: d: m: mw: should be as similar as possible, for copy+paste export/import of template documentation using {{tlx}}. Be..anyone (talk) 14:31, 4 April 2016 (UTC)[reply]
I'm not sure what you mean (Chrome is ok). :P The double monospace is an workaround for the different behavior of browsers, this is also exact used by Mediawiki.[2]
If your against the monospace, do you know an alternative template for the same? User: Perhelion 19:41, 4 April 2016 (UTC)[reply]
I like monospace, but {{tlx}} should work in one-click export/import (manual Transwiki) on the "relevant" sites (= everything excl. enwiki, where editing templates can require special rights, i.e., w:en:{{tlx}} != mw:{{tlx}} + rest of the zoo.) Be..anyone (talk) 12:00, 6 April 2016 (UTC)[reply]
@Be..anyone: OK good, I could agree. Which template you could prefer as alternative to modify? User: Perhelion 19:56, 6 April 2016 (UTC)[reply]
Now I'm lost, because I know that you already introduced monospaced for TL d:Q3926051 here, and TLX is d:Q5896717. IOW, if you really want it just update it on c: d: m: mw: (and maybe de: - I don't know what they have at the moment). IIRC it's not protected on d: and mw:, and an edit request on m: to keep it in synch with c: d: mw: SHOULD work. The "master" version was m:Template:Tlx because m:User:Omniplex said so (even if he added it on enwiki before meta, I don't recall the details more than a decade later. :-) Be..anyone (talk) 20:15, 6 April 2016 (UTC)[reply]