The <pre> tag is a good start. I have played around with that a little and came up with this;
<br /> {| width="95%" border="0" cellpadding="0" cellspacing="0" align="center" |- style="background: #DDDDFF;" | http://www.hoganzoo.com/icons/file-text.png '''Source Code:''' |- | <pre style="border:0; overflow:auto; max-height:35em;">....example text here... .... example text here.... </pre> |}
It works pretty much that way that I would like but I don't seem to be able to turn this into a template. I think what is happening is that the {{{1}}} variable does not like being inside the <pre> </pre> tags. Any way around that?
Getting closer though :)
Tim
Platonides wrote:
Tim Hogan wrote:
Mike,
I see what you mean about the nowiki stripping out the line feeds. Any idea on how you display a piece of source code for example and may have characters that could be interpreted as wiki text?
Tim
<pre>? <source> of GeSHI extension? _______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-l