Template:Pre

From TF2 Classified Wiki
Revision as of 22:12, 7 January 2026 by NinjaV (talk | contribs) (Created page with "<pre<includeonly></includeonly> format="wikitext" style="background:rgba(241, 233, 203, 1);{{#if:{{{background|}}}|background:{{{background|}}};}}{{#if:{{{color|}}}|color:{{{color|}}};}}{{#if:{{{width|}}}|width:{{{width|}}};}}white-space:{{#switch:{{lc:{{{space|}}}}} |normal|pre|pre-line|break-spaces|inherit|initial|unset={{lc:{{{space|}}}}}|pre-wrap||#default=pre-wrap }}"><!-- -->{{#if:{{{1|}}}|{{{1}}}<noinclude>|Sample text on several lines</noinclude>}}<!-- -->{{#if:{...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Sample text
on several lines

Documentation

Use this in place of the <pre> tag so it aligns with the wiki's style more. Automatically beige but can be altered. Same Documentation as the MediaWiki template: https://www.mediawiki.org/w/index.php?title=Template:Pre&action=submit.
Parameters: 1= (the text), background=(the bg color), color=(the text color), width=(the width of the box), space=(linewrapping)

hey! Example text with ALL parameters... the end is never the end is never the end is never the...