Template talk:Tl

Multiple parameter version
I have created a sandbox version of this template which simplifies illustrating a template call with one or more parameters, including named parameters:

You can see how these examples (which use the new template !!) could be done with the current version of the template by looking at the third "Correct" usage example. That method also works with the new (sandbox) version, but the new one also allows the three examples above whereas the current version would fail on these (as you can see in the "Incorrect" usage examples marked "not supported yet").

The new template works the same as the old in every other case.

BTW, I've elected to link the entire template call instead of just the template name in case this is used with a very narrow name, like "I" — but there is a third way I can think of, as shown below: I don't like the "unblanaced" look of #3. #2 produces a link that is too hard to click on. #1 is what I've gone with.
 * 1) &#123;&#123;I&#124;foo&#124;bar&#125;&#125; ← link whole thing
 * 2) &#123;&#123;I&#124;foo&#124;bar&#125;&#125; ← link just template name
 * 3) &#123;&#123;I&#124; foo&#124;bar&#125;&#125; ← link from opening braces through first pipe

Comments? Any objections to replacing the current version with the new one? (This will need to be done by an admin since this template is edit-protected because it is currently in use on the Main Page which is edit-protected.) - dcljr (talk) 10:44, 11 February 2017 (UTC)