[Mediawiki-l] Transcluded parameters within a template transclusion

Netocrat netocrat at dodo.com.au
Fri Sep 23 09:21:45 UTC 2005


Another query regarding expected transclusion behaviour:

Should the markup below pass the contents of TranscludedPage as a
parameter to TemplatePage?  For the specific template I'm actually using
it seems to be calling TemplatePage with something like the literal
parameter "{{:TranscludedPage}}" but then splitting up this token so that
the final "}}" appears after a header break inserted by the template.  Bug
or just something that's not supposed to be possible?

{{TemplatePage|{{:TranscludedPage}}}}

-- 
http://members.dodo.com.au/~netocrat




More information about the MediaWiki-l mailing list