<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.limswiki.org/index.php?action=history&amp;feed=atom&amp;title=Template%3APre2%2Fdoc</id>
	<title>Template:Pre2/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.limswiki.org/index.php?action=history&amp;feed=atom&amp;title=Template%3APre2%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=Template:Pre2/doc&amp;action=history"/>
	<updated>2026-04-04T12:29:47Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://www.limswiki.org/index.php?title=Template:Pre2/doc&amp;diff=13272&amp;oldid=prev</id>
		<title>Shawndouglas: Created as needed.</title>
		<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=Template:Pre2/doc&amp;diff=13272&amp;oldid=prev"/>
		<updated>2013-10-31T17:51:56Z</updated>

		<summary type="html">&lt;p&gt;Created as needed.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{tl|{{PAGENAME}}}} uses &amp;lt;code&amp;gt;&amp;amp;lt;pre&amp;amp;gt;&amp;lt;/code&amp;gt; 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.&lt;br /&gt;
&lt;br /&gt;
As it uses real &amp;amp;lt;pre&amp;amp;gt; tags (unlike {{tl|pre}}), it will be displayed correctly regardless of how the user's LIMSwiki skin renders &amp;amp;lt;pre&amp;amp;gt; boxes.&lt;br /&gt;
&lt;br /&gt;
If you want to disable wikitext in it, you should use &amp;amp;lt;nowiki&amp;gt; tags inside the template (see [[#wikitext|below]]).&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
===Wrapped text===&lt;br /&gt;
&amp;lt;span style=&amp;quot;background-color:white&amp;quot;&amp;gt;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Pre2|Text to be displayed. And more and more and more... and a paragraph break.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;And then more and more...}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
:produces:&lt;br /&gt;
{{Pre2|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.&lt;br /&gt;
&lt;br /&gt;
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.}}&lt;br /&gt;
&lt;br /&gt;
===Scrollbox===&lt;br /&gt;
&amp;lt;span style=&amp;quot;background:white&amp;quot;&amp;gt;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Pre2|scroll|Text to be displayed. And more and more and more... and a paragraph break.&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;nowiki&amp;gt;And then more and more...}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
:produces:&lt;br /&gt;
{{Pre2|scroll|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.&lt;br /&gt;
&lt;br /&gt;
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.}}&lt;br /&gt;
&lt;br /&gt;
==Using wikitext {{anchor|wikitext}}==&lt;br /&gt;
&lt;br /&gt;
To disable [[WP:Wikitext|wikitext]] (e.g. &amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;[[links]]&amp;lt;nowiki&amp;gt;]]&amp;lt;/nowiki&amp;gt;), &amp;amp;lt;nowiki&amp;gt; tags must be used in the form:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;background:white&amp;quot;&amp;gt;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Pre2|&amp;amp;lt;nowiki&amp;gt;Your [[text]]{{disambiguation needed|name=Pre2}}, which ''might'' include {{tl|templates}}.&amp;lt;noinclude&amp;gt;[[Category:Examples]]&amp;lt;/noinclude&amp;gt;&amp;amp;lt;/nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will produce this:&lt;br /&gt;
{{Pre2|&amp;lt;nowiki&amp;gt;Your [[text]]{{disambiguation needed|name=Pre2}}, which ''might'' include {{tl|templates}}.&amp;lt;noinclude&amp;gt;[[Category:Examples]]&amp;lt;/noinclude&amp;gt;&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
as opposed to:&lt;br /&gt;
{{Pre2|Your [[text]]{{disambiguation needed|name=Pre2}}, which ''might'' include {{tl|templates}}.&amp;lt;noinclude&amp;gt;[[Category:Examples]]&amp;lt;/noinclude&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* {{tl|pre}}, which mimics &amp;amp;lt;pre&amp;amp;gt; tags as rendered with the monobook Wikipedia skin&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Programming typing-aid templates|{{PAGENAME}}]]&lt;br /&gt;
[[Category:LIMSWiki XHTML tag replacing templates|{{PAGENAME}}]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Shawndouglas</name></author>
	</entry>
</feed>