Template:Pre2
Jump to navigation
Jump to search
{{{1}}}
The following template description is not displayed when the template is inserted in an article.
This template uses <pre>
tags, but with text that is either wrapped or is contained in a horizontal scrollbox. This means the text will not stretch past the right side of the screen.
Usage
{{pre2|text}}
{{pre2|scroll|text}}
- text
- The text to show. The text will be wiki formatted unless <nowiki> tags are used.
- scroll
- If the first parameter is scroll and the second is the text the text box will have a horizontal scroll bar and will not be wrapped. If the first parameter is not scroll the text will be wrapped.
Examples
Wrapped text
{{pre2|Text to be displayed. And more and more and more... And then more and more...}}
Text to be displayed. And more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and a paragraph break. And then more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more.
Scrollbox
{{pre2|scroll|Text to be displayed. And more and more and more... And then more and more...}}
Text to be displayed. And more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and a paragraph break. And then more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more and more.