<?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%3AMarkup%2Fdoc</id>
	<title>Vorlage:Markup/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%3AMarkup%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://www.verzauberte-welten.de/index.php?title=Vorlage:Markup/doc&amp;action=history"/>
	<updated>2026-04-05T20:23:59Z</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:Markup/doc&amp;diff=173&amp;oldid=prev</id>
		<title>mw&gt;Oetterer am 4. Februar 2015 um 11:54 Uhr</title>
		<link rel="alternate" type="text/html" href="https://www.verzauberte-welten.de/index.php?title=Vorlage:Markup/doc&amp;diff=173&amp;oldid=prev"/>
		<updated>2015-02-04T11:54:25Z</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;!-- Categories and interwikis go at the bottom of this page. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
This template is used to present markup or code side by side with the rendered output.&lt;br /&gt;
&lt;br /&gt;
Parameters:&lt;br /&gt;
* unnamed 1: Content of row 1, column 1&lt;br /&gt;
* unnamed 2: Content of row 1, column 2&lt;br /&gt;
:through&lt;br /&gt;
* unnamed 39: Content of row 20, column 1&lt;br /&gt;
* unnamed 40: Content of row 20, column 2&lt;br /&gt;
&lt;br /&gt;
* '''t1''': Title of column one; defaults to ''Markup''&lt;br /&gt;
* '''t2''': Title of column two; defaults to ''Renders as''&lt;br /&gt;
* '''title''': Title of table; defaults to none&lt;br /&gt;
* '''notitle''': When set, suppresses table and column titles&lt;br /&gt;
* '''margin''': set table left margin in em&lt;br /&gt;
&lt;br /&gt;
The ''Markup'' cell is pre-formatted with {{tag|pre|o}} to retain newlines and spaces, but styled to allow content to wrap within the cell. It is usually desirable to escape the content of the ''Markup'' cell so that the markup is displayed by wrapping the markup in {{tag|nowiki}}. It is technically not possible to add this feature to the template.&lt;br /&gt;
&lt;br /&gt;
In the ''Renders as'' cell, the content is usually the unescaped markup copied from the ''Markup'' cell. There are instances where this may differ:&lt;br /&gt;
* When using {{tlx|reflist}} with no other parameters, use {{tlx|reflist|close}} to ensure that the reference list is closed.&lt;br /&gt;
* Some templates will place the page in a maintenance category, which is usually undesired:&lt;br /&gt;
* Some template may have error checking that places the page in a maintenance category. Suppress the category as possible:&lt;br /&gt;
** some templates can suppress the maintenance category by setting {{para|template doc demo|true}}.&lt;br /&gt;
&lt;br /&gt;
==Limitations==&lt;br /&gt;
If you don't wrap the content of the markup cell in {{tag|nowiki}}, then any template markup will not be escaped, it will be expanded.&lt;br /&gt;
&lt;br /&gt;
This example shows the markup for &amp;lt;nowiki&amp;gt;{{tl|tag}}&amp;lt;/nowiki&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
{{markup|t1=Renders as|t2=Expected rendering&lt;br /&gt;
|{{tl|tag}}&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{tl|tag}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
HTML entities are parsed in the markup cell&lt;br /&gt;
{{markup|t1=Nowikied markup shows as |t2=Expected markup&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;&amp;amp;nbsp;&amp;amp;ndash;&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|&amp;amp;amp;nbsp;&amp;amp;amp;ndash;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
To work around this, replace the &amp;lt;code&amp;gt;&amp;amp;&amp;lt;/code&amp;gt; with &amp;lt;code&amp;gt;&amp;amp;amp;amp;&amp;lt;/code&amp;gt; thus &amp;lt;code&amp;gt;&amp;amp;amp;amp;nbsp;&amp;lt;/code&amp;gt; will show as &amp;lt;code&amp;gt;&amp;amp;amp;nbsp;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
'''Simple examples:'''&lt;br /&gt;
{{markup&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;'''Bold text'''&amp;lt;/nowiki&amp;gt;|'''Bold text'''&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;''Italic text''&amp;lt;/nowiki&amp;gt;|''Italic text''&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
'''Complex example:'''&lt;br /&gt;
Note that the second argument to {{tl|markup}} uses {{((}}&amp;lt;TEMPLATENAME&amp;gt;{{))}} and {{((}}&amp;lt;TEMPLATENAME2&amp;gt;{{))}}.&lt;br /&gt;
{{markup&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;The quick brown fox jumps over the lazy dog.{{#tag:ref|A footnote.&amp;lt;ref&amp;gt;A reference for the footnote.&amp;lt;/ref&amp;gt;|group=nb}} The cow jumped over the moon.{{fact}}&lt;br /&gt;
&lt;br /&gt;
==Notes==&lt;br /&gt;
{{Reflist|group=nb}}&lt;br /&gt;
&lt;br /&gt;
==References==&lt;br /&gt;
{{Reflist}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|The quick brown fox jumps over the lazy dog.{{#tag:ref|A footnote.&amp;lt;ref&amp;gt;A reference for the footnote.&amp;lt;/ref&amp;gt;|group=nb}} The cow jumped over the moon.{{((}}&amp;lt;TEMPLATENAME2&amp;gt;{{))}}&lt;br /&gt;
&lt;br /&gt;
{{((}}&amp;lt;TEMPLATENAME&amp;gt;{{))}}&lt;br /&gt;
{{Reflist|group=nb}}&lt;br /&gt;
&lt;br /&gt;
{{((}}&amp;lt;TEMPLATENAME&amp;gt;{{))}}&lt;br /&gt;
{{Reflist|close}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
'''Multiple rows:'''&lt;br /&gt;
{{markup&lt;br /&gt;
|The quick brown fox jumps over the lazy dog.&lt;br /&gt;
|The quick brown fox jumps over the lazy dog.&lt;br /&gt;
|The quick brown fox jumps over the lazy dog.&lt;br /&gt;
|The quick brown fox jumps over the lazy dog.&lt;br /&gt;
|The quick brown fox jumps over the lazy dog.&lt;br /&gt;
|The quick brown fox jumps over the lazy dog.&lt;br /&gt;
|The quick brown fox jumps over the lazy dog.&lt;br /&gt;
|The quick brown fox jumps over the lazy dog.&lt;br /&gt;
|The quick brown fox jumps over the lazy dog.&lt;br /&gt;
|The quick brown fox jumps over the lazy dog.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
'''With title:'''&lt;br /&gt;
{{markup|title=Foxes and dogs&lt;br /&gt;
|The quick brown fox jumps over the lazy dog.&lt;br /&gt;
|The quick brown fox jumps over the lazy dog.&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
When a template is enclosed within {{tl|code}}, it shows the rendered HTML:&lt;br /&gt;
&lt;br /&gt;
{{markup&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{&amp;lt;TEMPLATENAME&amp;gt;}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|{{((}}&amp;lt;TEMPLATENAME&amp;gt;{{))}}&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;{{code snippet|{{&amp;lt;TEMPLATENAME&amp;gt;}}}}&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
|{{code snippet|{{((}}&amp;lt;TEMPLATENAME&amp;gt;{{))}}}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox||&lt;br /&gt;
&amp;lt;!-- Categories and interwikis go here: --&amp;gt;&lt;br /&gt;
[[Category:Table, column and cell templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>mw&gt;Oetterer</name></author>
	</entry>
</feed>