User:Fabartus/template notes
This is extract to be boiled down to template gurus for questions and such. Source Template Talk: T1
Discussion
[edit]Alphax comment
[edit]A version which takes parameters exists at Template:Template link with parameters, with a shortcut at {{tl2}}. Alphax τεχ 01:10, 30 May 2005 (UTC)
I'll have to say...
[edit]This is a really good idea! — Ambush Commander(Talk) 13:54, August 6, 2005 (UTC)
Please change this template
[edit]I suggest this template to be changed to
{{[[Template:{{{1}}}|{{{1}}}]]}}
This way it won't break things if it's subst'd (&
added in source here so it's displayed right) →AzaToth 19:28, 27 December 2005 (UTC)
I think not it would also be better to change it to
{{[[Template:{{{1}}}|{{lcfirst:{{{1}}}}}]]}}
i.e. add a lcfirst on the name so it will always shown with the first letter as lower case (As I think most people writes it when they call the template) →AzaToth 17:11, 2 January 2006 (UTC)
- do they? I'd have said that the split was about 50-50. Certainly most of the templates that I call up I use a capital letter first (but then again, a lot of the templates I use start with proper nouns - specifically, country names). It's also useful to be able to have the first letter as l.c. or u.c. if the template is mentioned as the first thing in a sentence (as it quite often is at TFD, SFD, or WP:WSS). Why limit it to always rendering as lower case? Grutness...wha? 22:34, 2 January 2006 (UTC)
I'd leave it be for now. There may be a certain "suprise factor" when someone uses this and it doesn't display the uppercase as they'd expect. -- Netoholic @ 22:46, 2 January 2006 (UTC)
Interwiki Link
[edit]I've been looking for a while to find the matching template to the one used on the french Wikipédia for showing a template's syntax while linking to it in the form {{Template}}. It's not exactly the same but since it's used for the same purposes in about the same way, I think the following should be added to the current template :
<!-- Interwiki Link --> [[fr:Modèle:M]]
Interwiki linkage of the most commonly used templates really facilitates the users' ability to adapt quickly the syntax on any local wiki... : ) Stéphane Thibault 20:50, 7 January 2006 (UTC) Talk fr:Discuter Modèle:LienModèle
T1 Redirect
[edit]Template {{T1}} redirects to this template. Is this intentional, considering the history of T1 indicates that it's completely unrelated? --TheParanoidOne 10:42, 12 February 2006 (UTC)
Formatting consistency
[edit]Hi guys,
anyone taking care to make spacing consistent among Tl, Tl1, Tlx and others? If you look, for instance, at the first column in Numbers & Variables you'll see that {{ User pi digits|500 }}
is the only code snippet in which additional spaces exist between the braces and their content. --Gennaro Prota 15:14, 3 April 2006 (UTC)
{{Tl}}
and{{Tlp}}
are protected. If a consistent look is important you could use either Template:Tlx(edit talk links history) also for one or no parameter, or only {{Tl}} (no parameter) and {{Tlp|xyz}} - then you'd glue together more parameters by a pipe symbol in numeric al form: |. -- Omniplex 08:27, 4 April 2006 (UTC)