[Mediawiki-l] Template value inside custom tag - not working

Adam Meyer meyer7 at mindspring.com
Mon Jul 26 13:02:26 UTC 2010


I have a custom tag called code with an attribute of p.

<code p="test" />

I have a template called code that is very simple

<code p="{{{1}}}" />
[[Category:Has Code]]

when I do this {{code|test}}
It does not render as <code p="test" /> but as <code p="{{{1}}}" />

Any ideas why?

Thanks,
 -Adam



More information about the MediaWiki-l mailing list