<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wikitest.augmensys.com/index.php?action=history&amp;feed=atom&amp;title=Template%3APre%2Fdoc</id>
		<title>Template:Pre/doc - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wikitest.augmensys.com/index.php?action=history&amp;feed=atom&amp;title=Template%3APre%2Fdoc"/>
		<link rel="alternate" type="text/html" href="https://wikitest.augmensys.com/index.php?title=Template:Pre/doc&amp;action=history"/>
		<updated>2026-05-02T03:29:20Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>https://wikitest.augmensys.com/index.php?title=Template:Pre/doc&amp;diff=4514&amp;oldid=prev</id>
		<title>JKN: 1 revision</title>
		<link rel="alternate" type="text/html" href="https://wikitest.augmensys.com/index.php?title=Template:Pre/doc&amp;diff=4514&amp;oldid=prev"/>
				<updated>2013-01-23T14:42:13Z</updated>
		
		<summary type="html">&lt;p&gt;1 revision&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='1' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 14:42, 23 January 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan='2' style='text-align: center;'&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>JKN</name></author>	</entry>

	<entry>
		<id>https://wikitest.augmensys.com/index.php?title=Template:Pre/doc&amp;diff=4513&amp;oldid=prev</id>
		<title>50.53.15.51: remove cats and interwikis from sandbox</title>
		<link rel="alternate" type="text/html" href="https://wikitest.augmensys.com/index.php?title=Template:Pre/doc&amp;diff=4513&amp;oldid=prev"/>
				<updated>2012-03-18T03:35:00Z</updated>
		
		<summary type="html">&lt;p&gt;remove cats and interwikis from sandbox&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;
__NOTOC____NOEDITSECTION__&lt;br /&gt;
&lt;br /&gt;
This template implements a version of the functionality provided by the [[HTML]] &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; tag.&lt;br /&gt;
&lt;br /&gt;
===Usage===&lt;br /&gt;
{{Table|row1=&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Pre|&lt;br /&gt;
This Pre-format&lt;br /&gt;
&lt;br /&gt;
can look&lt;br /&gt;
&lt;br /&gt;
like this.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
Main differences include:&lt;br /&gt;
&lt;br /&gt;
* It wraps text that overflows the page.&lt;br /&gt;
* It allows mid-line-breaks (but not always consistently).&lt;br /&gt;
&lt;br /&gt;
Main limitations include:&lt;br /&gt;
&lt;br /&gt;
* If the text is a single long word, it won't be wrapped and will still break out to the right hand of the page.&lt;br /&gt;
* HTML and wikimarkup aren't disabled as in pre and are rendered as usual (thus if a parameter contains any wikitext, enclose it in &amp;lt;tt&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/tt&amp;gt; tags); similarly, multiple spaces are treated as a single one.&lt;br /&gt;
* If there are only two lines, they will be stuck together, even if the source has a blank line between them.&lt;br /&gt;
&lt;br /&gt;
As with &amp;lt;nowiki&amp;gt;&amp;lt;pre&amp;gt;, &amp;lt;tt&amp;gt;, and &amp;lt;code&amp;gt;&amp;lt;/nowiki&amp;gt;, {{tld|Pre}} displays text in the font specified as the monospace font in the user's browser options, or specified in the user's CSS pages.&lt;br /&gt;
&lt;br /&gt;
===Example===&lt;br /&gt;
&lt;br /&gt;
; Code&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Pre|&lt;br /&gt;
'''First line, markup working:''' and HTML comment &amp;lt;!--HIDDEN--&amp;gt; hidden.&lt;br /&gt;
&lt;br /&gt;
'''Second line, long text wrapping:''' all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy.&lt;br /&gt;
&lt;br /&gt;
'''Third line with raw | pipe is handled''', but the space before the pipe is lost. Up to raw 19 pipes are handled, else use &amp;lt;nowiki&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;{{!}}&amp;lt;nowiki&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/nowiki&amp;gt; and {{!}} it's {{!}} OK.&lt;br /&gt;
&lt;br /&gt;
'''Fourth      line,     multiple spaces collapsed into one''' as in HTML and wikitext.&lt;br /&gt;
'''Fifth line, stuck with the previous one''' if no blank line between them.&lt;br /&gt;
&lt;br /&gt;
'''Last line''', is actually standalone with or without a blank line.&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
; Result&lt;br /&gt;
&lt;br /&gt;
{{Pre|&lt;br /&gt;
'''First line, markup working:''' and HTML comment &amp;lt;!--HIDDEN--&amp;gt; hidden.&lt;br /&gt;
&lt;br /&gt;
'''Second line, long text wrapping:''' all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy all work and no play make jack a dull boy.&lt;br /&gt;
&lt;br /&gt;
'''Third line with raw | pipe is handled''', but the space before the pipe is lost. Up to raw 19 pipes are handled, else use &amp;lt;nowiki&amp;gt;{{!}}&amp;lt;/nowiki&amp;gt; and {{!}} it's {{!}} OK.&lt;br /&gt;
&lt;br /&gt;
'''Fourth      line,     multiple spaces collapsed into one''' as in HTML and wikitext.&lt;br /&gt;
'''Fifth line, stuck with the previous one''' if no blank line between them.&lt;br /&gt;
&lt;br /&gt;
'''Last line''', is actually standalone with or without a blank line.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
===Alternatives===&lt;br /&gt;
* The &amp;amp;lt;source&amp;amp;gt; tag extension documented at [[MediaWiki]] [[mw:Extension:ASHighlight|Extension:ASHighlight]].&lt;br /&gt;
* The &amp;amp;#123;&amp;amp;#123;#tag:}} functionality documented at [[MediaWiki]] [[mw:Help:Magic words|Help:Magic words]].&lt;br /&gt;
&lt;br /&gt;
===See also===&lt;br /&gt;
* {{tl|Pre2}}, a template with similar functionality but induces optional line wrap and optional scroll bars.&lt;br /&gt;
* [[HTML element#Other block elements|&amp;lt;nowiki&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;/nowiki&amp;gt;]], for information about the HTML &amp;lt;nowiki&amp;gt;&amp;lt;pre&amp;gt;&amp;lt;/nowiki&amp;gt; tag.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Programming typing-aid templates|{{PAGENAME}}]]&lt;br /&gt;
[[Category:Wikipedia XHTML tag replacing templates|{{PAGENAME}}]]&lt;br /&gt;
&lt;br /&gt;
[[bg:Шаблон:Pre]]&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>50.53.15.51</name></author>	</entry>

	</feed>