Template talk:Template

is this a template for templates? &mdash;♥ Jedi ♥ Rogue ♥ 00:55, 1 May 2008 (UTC)
 * yeah -User:PanSola (talk to the [[Image:follower of Lyssa.png]]) 01:11, 1 May 2008 (UTC)
 * We should make a template to display the template template. [[Image:Felix_Omni_Signature.png]] 01:23, 1 May 2008 (UTC)
 * I beat you to it. The template template can already use itself to display itself. See documentation. -User:PanSola (talk to the [[Image:follower of Lyssa.png]]) 02:11, 1 May 2008 (UTC)

Bugs
--mendel 13:25, 10 June 2008 (UTC)
 * 1) It breaks on.
 * 2) It redlinks on.
 * 3) It swallows named parameters in ..


 * On example 1, that's because it only works for templates in the Template: namespace. Probably an overlooked limitation, but I haven't seen a lot of complaints about it.
 * On example 2, it treats "subst:" as part of the template name, which is why it redlinks. I'd call that a feature.
 * On example 3, I'd say that's also an overlooked limitation, but unlike example 1 I'd say this one should definitely be fixed. The odd thing is that it passes the #if: test, it just doesn't display. Even using template:= doesn't get around it:  &mdash;Dr Ishmael [[Image:Diablo_the_chicken.gif]] 17:01, 10 June 2008 (UTC)


 * It is because it prepends Template: even if the parameter starts with a colon.
 * It's not a feature because in docs you need to explain subst: as well, and this template should be able to do it. It just doesn't, so it's an absent feature.
 * I don't see how it can pass the #if test. But I've been thinking that expansion of parameters has been poorly documented - the docs seem to state that a = must be present in cleartext (and I seem to remember having confirmed that experimentally), but I've come across cases where that isn't the case (which is why breaks when you're using it as unnamed parameter). The only way you can get it to work is by using the HTML code for =. Or finding a parser function that lets you enumerate named parameters.

--mendel 18:23, 10 June 2008 (UTC)

What's wrong with using nowiki tags all the sudden? --- -- (s)talkpage  18:28, 10 June 2008 (UTC)