Template:Pre: Difference between revisions
en>Alfakim (alternative to pre which allows linebreaking and dissallows page overflow) |
en>Alfakim No edit summary |
||
Line 1: | Line 1: | ||
<div style="border: 1px dashed #2F6FAB; margin: 1em 0px 1em 0px; padding: 0.8em 1em 0.8em 1em; background: #F9F9F9; font-family: Courier New, Courier, Arial Sans Unicode, Arial; color: #000; overflow: | <div style="border: 1px dashed #2F6FAB; margin: 1em 0px 1em 0px; padding: 0.8em 1em 0.8em 1em; background: #F9F9F9; font-family: Courier New, Courier, Arial Sans Unicode, Arial; color: #000; overflow: auto">{{{1|}}}</div><noinclude> | ||
---- | |||
This template is an alternative to <code><nowiki><pre></pre></nowiki></code> tags. The difference is that it allows line-breaks and dissallows the text to overflow the page. | |||
Due to limitations, if the parameter contains any HTML or other Wikimarkup, it will be rendered as such. Thus if a parameter might contain any Wikitext, enclose it manually in <code><nowiki><nowiki></nowiki></nowiki></code> tags. | |||
See the [[Template talk:Pre|Talk page]] for examples of use and further information. |
Revision as of 17:17, 12 April 2006
This template is an alternative to <pre></pre>
tags. The difference is that it allows line-breaks and dissallows the text to overflow the page.
Due to limitations, if the parameter contains any HTML or other Wikimarkup, it will be rendered as such. Thus if a parameter might contain any Wikitext, enclose it manually in <nowiki></nowiki>
tags.
See the Talk page for examples of use and further information.