Template:Pre style

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

padding:1em; border:1px dashed #2f6fab; text-align:left; color:#000; background-color:#f9f9f9;

Usage[edit]

<div style="{{pre style}}">
Text here
</div>

Text here

This template formats text inside a box like a <pre>, but allows line-wrapping. This is most useful for displaying wiki text which contains long paragraphs, such as examples on request pages.