<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dev.dsp-wiki.com/Template:Pre2/doc/history?feed=atom</id>
	<title>Template:Pre2/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dev.dsp-wiki.com/Template:Pre2/doc/history?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://dev.dsp-wiki.com/Template:Pre2/doc/history"/>
	<updated>2026-05-08T08:20:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://dev.dsp-wiki.com/index.php?title=Template:Pre2/doc&amp;diff=18162&amp;oldid=prev</id>
		<title>Antt1995: 1 revision imported: New Files</title>
		<link rel="alternate" type="text/html" href="https://dev.dsp-wiki.com/index.php?title=Template:Pre2/doc&amp;diff=18162&amp;oldid=prev"/>
		<updated>2024-03-24T11:54:48Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported: New Files&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 11:54, 24 March 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&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>Antt1995</name></author>
	</entry>
	<entry>
		<id>https://dev.dsp-wiki.com/index.php?title=Template:Pre2/doc&amp;diff=18158&amp;oldid=prev</id>
		<title>Antt1995: Hygiene</title>
		<link rel="alternate" type="text/html" href="https://dev.dsp-wiki.com/index.php?title=Template:Pre2/doc&amp;diff=18158&amp;oldid=prev"/>
		<updated>2020-03-17T22:06:37Z</updated>

		<summary type="html">&lt;p&gt;Hygiene&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation}}&lt;br /&gt;
{{tl|Pre2}}} uses &amp;lt;code&amp;gt;{{WP|ref=no|HTML_element#Other_containers|&amp;amp;lt;pre&amp;amp;gt;}}&amp;lt;/code&amp;gt; tags, but with text that is either {{WP|ref=no|word wrap|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&amp;#039;s Wikipedia {{WP|ref=no|WP:SKIN|text=skin}} renders &amp;amp;lt;pre&amp;amp;gt; boxes.&lt;br /&gt;
&lt;br /&gt;
If you want to disable {{WP|ref=no|WP:Wikitext|text=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;
===Style===&lt;br /&gt;
When the text contains links is better to change the text color, thus highlighting:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;span style=&amp;quot;background:black&amp;quot;&amp;gt;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Pre2|style=color:green|Text to be [[Hyperlink|link]]. WARNING! A{{=}}B, you must use Template:=. 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|style=color:green|Text to be link. WARNING! A{{=}}B, you must use Template:{{=}}. 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;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
[[Category:Typing-aid templates]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Antt1995</name></author>
	</entry>
</feed>