Template:Pre: Difference between revisions
Template page
More actions
.. |
No edit summary |
||
| Line 1: | Line 1: | ||
<pre<includeonly></includeonly> style="overflow: auto;"> | <pre<includeonly></includeonly> style="overflow: auto;">{{{1}}}}}</pre><noinclude> | ||
---- | ---- | ||
Revision as of 19:18, 13 May 2008
{{{1}}}}}
Same as using <pre> tags but the text won't run off screen and instead will appear with a scrollbar.
Code:
<pre style="overflow: auto;">{{{1}}}</pre>
}}
Example:
{{pre|
000000000000000000 lines don't wrap 00000000000... etc.
}}
Gives:
000000000000000000 lines don't wrap 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 }}