Template talk:Tlc

Active discussions
  (Redirected from Template talk:Tld)

{{WikiProject Templates}}

Documentation for {{tlf}}Edit

The documentation for this template sucks. --Gerry Ashton (talk) 19:18, 27 March 2008 (UTC)

1: Well, first of all this template was created just some days ago. I have not finished documenting it. Especially the "See also" section is a bit thin now.
2: Secondly, did you bother to click the link to the full documentation?
3: Thirdly, this is Wikipedia, anyone can edit it. So you can improve this documentation if you like.
4: And of course, I would like to know exactly in what way you think it sucks so we can improve it! Seriously, I would like to know.
Oh, and if there is anything that you wonder about the template then you can ask here at the talk page.
--David Göthberg (talk) 19:36, 27 March 2008 (UTC)
The very first thing the documentation addresses should be what is it for? I don't give a hoot about the syntax until after I know what it is good for. I should not have to click on a link to discover the basic purpose of the template. In my case, once I discovered what it is for, I decided it was useless for my purposes, so this is the last I have to say about the template. --Gerry Ashton (talk) 20:00, 27 March 2008 (UTC)

NamesEdit

Just curious as to why the names {{tld}} and {{tlf}} where chosen. (Importing these three to Commons). Rocket000 (talk) 08:47, 19 June 2008 (UTC)

Yeah, the names are a bit silly, but they came about like this:
The old and much used template {{tl}} means "Template Link", since it is a link to a template.
So most similar templates out of tradition are named tl+something. Thus when I designed the {{tlc}} I kept "tl" even though that one does not contain a link and added "c" for "code" since it uses <code></code> style. Also, a good reason to keep the "tl" part is that in "Help:" and "Wikipedia:" pages one often edits old {{tl}} occurrences to become {{tlc}} occurrences, thus it is easier if one only has to add a single "c" instead of edit the whole name.
Then I wanted to do a {{tlc}} similar template but with "teletype" <tt></tt> style. But the {{tlt}} and {{tltt}} names were already taken. Actually most of the "tl + one character" names are already taken. So instead I just took the first free one = "tl + d" = {{tld}}.
The same goes for {{tlf}}, it uses "normal" text style but the name {{tln}} was already taken. So I resorted to the next free character and that was {{tlf}}.
--David Göthberg (talk) 09:47, 20 June 2008 (UTC)
Rocket000: Ehm, I took a look. I had already created {{tlc}}, {{tld}} and {{tlf}} at Commons. Your edits to them there didn't really cause any change. The only change was that you removed the comment explaining where to put the interwiki links (and such a comment is helpful). So why did you do those edits?
--David Göthberg (talk) 10:03, 20 June 2008 (UTC)
Hehe, you never imported anything before? The full history is transwiki'd that's why your name is there. :) Oh, and we don't do the comment thing on Commons because 1.) We're multilingual. 2.) Our users don't seem to have issues with knowing what to do (like how WP use to be) 3.) Interwiki links for templates are not a high priority as they can cause many issues (users thinking other project's templates are similar or should be similar). 4.) It doesn't matter where the link is placed, it stills works which is the important thing. Commons has no rules as far as placement goes (if you look at galleries and image pages the categories and iws are anywhere). 5.) If someone puts it in the wrong place, move it. Rocket000 (talk) 17:45, 20 June 2008 (UTC)
For example look at the history you'll see 1 revision from en:Template:Tlf. Now compare with [1]. Rocket000 (talk) 17:49, 20 June 2008 (UTC)
Oh, I didn't know about the "import" feature. Now that you pointed it out to me I have read up on it. It seems very nifty. At first I felt silly since I am an admin here at the English Wikipedia but then I found out that the import feature is turned off here at enwp. I guess that is why it is not mentioned in the introduction texts for us admins here.
Anyway, I now see why you did a dummy edit on those templates at Commons to note that they are from enwp, or was that comment added automatically? That import comment should really be clearer, saying something like: "This page imported from xxx, page history below this point is from there."
Thanks for explaining it all. And thanks for importing these templates to Commons, I think people will find them useful. (And by the way, I have responded to you again on my talkpage about CSS.)
--David Göthberg (talk) 19:01, 20 June 2008 (UTC)
Hmm... do you know why it's turned off? It would avoid a lot of copy'n'paste transwiki'ing (which happens a lot with templates). There's an understanding between Wikimedia projects, however, it's good to get those GFDL issues out of the way. Most of the time for templates it's simple/common enough to be ineligible for copyright, but still, giving credit is always nice and sometimes seeing past versions can be useful. It also makes it really easy to import anything (that's why it's restricted to admins). Yes, the edit summary is added automatically; there's no prompt or anything.
Regarding the templates, I at least found them very useful. I like to try keep utility templates like these consistent across projects, specifically between Commons and en.wp since this is where most our users come from. (Although, we really should change {{tl}} because that's the language code for the Tagalog language. It's going to be the hardest habit to break in the history of naming conflicts. En.wp's less expected to change, but as multilingual Commons, we really should.) Rocket000 (talk) 02:01, 21 June 2008 (UTC)
I have a vague memory of reading some time ago that the reason the import feature is turned of here at the English Wikipedia is because admins were abusing it. That is, they imported things without then adapting the imported article or template to the local needs, not even fixing broken links and translating all parts of the text to English! (But that is a very vague memory so don't trust my word for it, as you saw earlier today I had even forgotten this feature exists.)
Yes, I agree that keeping utility templates like these ones consistent across projects is a good thing. I think I remember that when I made these templates I checked that the names were free at Commons and some other larger Wikipedias too, so they could be copied there. Seems I forgot to copy them after they were done.
By the way, I plan to add the same feature of showing empty parameters to one of the other "template link" templates, that is to one of those that makes the template name a link and that can take several parameters. Just been too busy with message box standardisation and some other things lately...
--David Göthberg (talk) 02:24, 21 June 2008 (UTC)

<tt>Edit

Why isn't this tag closed? 124.188.180.47 (talk) 06:19, 8 March 2009 (UTC)

Oops, my fault. You are right, the second <tt> tag in {{tld}} should of course be an end </tt> tag. I have now fixed that. Thanks for finding that bug.
Before I fixed it I checked and the MediaWiki parser is smart, it fixed the error before rendering pages so the error wasn't visible.
--David Göthberg (talk) 03:11, 9 March 2009 (UTC)

Differences between Tlc and Tnull?Edit

The documentation here doesn’t mention anything about {{Tnull}}, and its documentation only mentions that it’s similar to this. How is {{tnull}} distinct from this template? —Frungi (talk) 07:02, 4 August 2013 (UTC)

Requested move 18 August 2014Edit

The following discussion is an archived discussion of a requested move. Please do not modify it. Subsequent comments should be made in a new section on the talk page. Editors desiring to contest the closing decision should consider a move review. No further edits should be made to this section.

The result of the move request was: not moved/withdrawn. DrKiernan (talk) 09:32, 30 August 2014 (UTC)


Template:TlcTemplate:Tcode – As this template (Template:Tlc) doesn't include a link, should its name include the "l" (lowercase "L") from "template [l]ink"..? Sardanaphalus (talk) 10:51, 18 August 2014 (UTC)

SurveyEdit

Feel free to state your position on the renaming proposal by beginning a new line in this section with *'''Support''' or *'''Oppose''', then sign your comment with ~~~~. Since polling is not a substitute for discussion, please explain your reasons, taking into account Wikipedia's policy on article titles.
  • Oppose It's part of a group that all begin Tl. --Redrose64 (talk) 20:22, 18 August 2014 (UTC)
  • Comment wouldn't this apply also to {{tlf}} and {{tld}} ? -- 65.94.169.222 (talk) 01:28, 19 August 2014 (UTC)
    • Oppose derived from {{tl}}, so if "nolink" should be indicated, add an "n" {{tlnc}} / {{tlnf}} / {{tlnd}} ( template link=no code -> tlnc ) -- 65.94.169.222 (talk) 01:42, 19 August 2014 (UTC)
  • Oppose per Redrose64: consistency trumps precision. — Dmitrij D. Czarkoff (talktrack) 07:39, 19 August 2014 (UTC)
  • Oppose per Redrose64.  — SMcCandlish ¢ ≽ʌⱷ҅ʌ≼  13:22, 24 August 2014 (UTC)

Never mind; {{tc}} can act as a redirect to {{tlc}}. I suppose {{tlc}} is a bit like this. Sardanaphalus (talk) 15:05, 25 August 2014 (UTC)

Comment are you withdrawing this request? -- 65.94.169.222 (talk) 04:51, 30 August 2014 (UTC)

The above discussion is preserved as an archive of a requested move. Please do not modify it. Subsequent comments should be made in a new section on this talk page or in a move review. No further edits should be made to this section.

Bug report: {{tlc|#expr}} comes out odd...Edit

{{tlc|#expr:foo}} = {{

  1. expr:foo}}

{{tnull|#expr:foo}} = {{

  1. expr:foo}}

{{tlc|*}} = {{

  • }}

{{tnull|*}} = {{

  • }}

{{tlc|;}} = {{

}}

{{tnull|;}} = {{

}}

Apparently, the parser is seeing the template name at the beginning of a line and interpreting it as markup. I'm having a hard time seeing how, but I think using {{tlc}} for things like #expr, #invoke, etc. is something that people want to do reasonably often, so it should be fixed if possible, or a workaround (such as using &#35;) documented if not. 71.41.210.146 (talk) 12:57, 17 November 2016 (UTC)

It's not a bug, nor is it specific to the templates that you mention here. It's a feature of the MediaWiki parser, see Help:Template#Problems and workarounds. --Redrose64 (talk) 14:24, 17 November 2016 (UTC)
Ah, thanks for the pointer! Yes, that explains it all; sorry for the false alarm. {{tlc}} is just where I first wanted to do it. 71.41.210.146 (talk) 22:17, 18 November 2016 (UTC)
Return to "Tlc" page.