<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://www.verzauberte-welten.de/index.php?action=history&amp;feed=atom&amp;title=Vorlage%3APre2%2Fdoc</id>
	<title>Vorlage:Pre2/doc - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://www.verzauberte-welten.de/index.php?action=history&amp;feed=atom&amp;title=Vorlage%3APre2%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.verzauberte-welten.de/index.php?title=Vorlage:Pre2/doc&amp;action=history"/>
	<updated>2026-04-05T19:15:09Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Verzauberte Welten e.V.</subtitle>
	<generator>MediaWiki 1.39.8</generator>
	<entry>
		<id>https://www.verzauberte-welten.de/index.php?title=Vorlage:Pre2/doc&amp;diff=259&amp;oldid=prev</id>
		<title>mw&gt;Oetterer am 7. Oktober 2014 um 14:48 Uhr</title>
		<link rel="alternate" type="text/html" href="https://www.verzauberte-welten.de/index.php?title=Vorlage:Pre2/doc&amp;diff=259&amp;oldid=prev"/>
		<updated>2014-10-07T14:48:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&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 Wikipedia [[WP:SKIN|skin]] renders &amp;amp;lt;pre&amp;amp;gt; boxes.&lt;br /&gt;
&lt;br /&gt;
If you want to disable [[WP:Wikitext|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;&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&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;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;{{((}}Pre2{{!}}scroll{{!}}Text to be displayed. And more and more and more... and a paragraph break.&amp;lt;/code&amp;gt;&amp;lt;/span&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&lt;br /&gt;
&amp;lt;span style=&amp;quot;background:white&amp;quot;&amp;gt;&amp;lt;code&amp;gt;And then more and more...{{))}}&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 ==&lt;br /&gt;
&lt;br /&gt;
To disable [[WP:Wikitext|wikitext]] (e.g. &amp;lt;nowiki&amp;gt;[[&amp;lt;/nowiki&amp;gt;[[WP:Wikilink|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]]{{colors|white|black|Addendum}}, 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]]{{colors|white|black|Addendum}}, 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]]{{colors|white|black|Addendum}}, which ''might'' include {{tl|templates}}.&amp;lt;!--&amp;lt;noinclude&amp;gt;[[Category:Examples]]&amp;lt;/noinclude&amp;gt;--&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;
* &amp;lt;nowiki&amp;gt;&amp;lt;pre&amp;gt;…&amp;lt;/pre&amp;gt;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
{{#ifeq:{{SUBPAGENAME}}|sandbox | |&lt;br /&gt;
&amp;lt;!-- CATEGORIES HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Text manipulation templates]]&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>mw&gt;Oetterer</name></author>
	</entry>
</feed>