Hi fellow wiki editors!

To help newly registered users get more familiar with the wiki (and maybe older users too) there is now a {{Welcome to the wiki}} template. Have a look at it and feel free to add it to new users discussion pages (and perhaps your own).

I have tried to keep the template short, but meaningful. /Johan G

Template:Pre2

From FlightGear wiki
Jump to: navigation, 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.