[Mediawiki-l] template parameters within preformatted blocks

Platonides Platonides at gmail.com
Mon Jan 28 23:25:12 UTC 2008

Thomas Dalton wrote:
> On 28/01/2008, Platonides wrote:
>> Thomas Dalton wrote:
>>> Try replacing <pre> and </pre> with <pre<noinclude></noinclude>> and
>>> </pre<noinclude></noinclude>>, that sometimes works with these kind of
>>> things.
>> It doesn't, but <noinclude><pre></noinclude> {{{2}}}
>> <noinclude></pre></noinclude> does.
> That won't work - with that, the preformating will only apply to the
> Template: page itself, rather than on pages it's transcluded to.

I tested it on wikipedia before posting.
Initially i was going to suggest something like <{{{starttag|pre}}}>
or {{{starttag|<pre>}}} which didn't work

More information about the MediaWiki-l mailing list