<?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%3APre%2Fdoc</id>
	<title>Vorlage:Pre/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%3APre%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.verzauberte-welten.de/index.php?title=Vorlage:Pre/doc&amp;action=history"/>
	<updated>2026-04-05T20:39:36Z</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:Pre/doc&amp;diff=257&amp;oldid=prev</id>
		<title>mw&gt;Oetterer am 4. Februar 2015 um 15:18 Uhr</title>
		<link rel="alternate" type="text/html" href="https://www.verzauberte-welten.de/index.php?title=Vorlage:Pre/doc&amp;diff=257&amp;oldid=prev"/>
		<updated>2015-02-04T15:18:42Z</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;
This template implements a version of the functionality provided by the [[wpen:HTML|HTML]] {{tag|pre|o}} tag.&lt;br /&gt;
&lt;br /&gt;
===Usage===&lt;br /&gt;
{{markup&lt;br /&gt;
|&amp;lt;nowiki&amp;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;
}}&amp;lt;/nowiki&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;
}}&lt;br /&gt;
Main differences include:&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;
* 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 {{tag|pre}} and are rendered as usual (thus if a parameter contains any wikimarkup, enclose it in {{tag|nowiki}}); 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 {{tag|pre|o}} and {{tag|code|o}}, {{tl|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;
'''Markup'''&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;
===See also===&lt;br /&gt;
* {{tag|syntaxhighlight}}&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|{{tag|pre|o}}]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
&amp;lt;!-- CATEGORIES HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Text manipulation templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>mw&gt;Oetterer</name></author>
	</entry>
</feed>