<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.trainzsimulator.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AXpdplain%2Fdoc</id>
	<title>Template:Xpdplain/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.trainzsimulator.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AXpdplain%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Template:Xpdplain/doc&amp;action=history"/>
	<updated>2026-11-05T16:20:51Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://wiki.trainzsimulator.com/index.php?title=Template:Xpdplain/doc&amp;diff=4819&amp;oldid=prev</id>
		<title>Fabartus: genesis, port unchanged from Meta-wiki+cat w/{{Meta-wiki}</title>
		<link rel="alternate" type="text/html" href="https://wiki.trainzsimulator.com/index.php?title=Template:Xpdplain/doc&amp;diff=4819&amp;oldid=prev"/>
		<updated>2013-07-05T17:12:17Z</updated>

		<summary type="html">&lt;p&gt;genesis, port unchanged from Meta-wiki+cat w/{{Meta-wiki}&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;
[[Template:Xpdplain]] uses the system of the  [[Help:expansion demo templates|expansion demo templates]], although for the case where there is no [[Help:expansion|expansion]]. As opposed to [[Template:Fd]] it works in-line, and gives a link to the &amp;quot;Expand templates&amp;quot; page for the specified wikitext. It requires more inserted pipe characters to satisfy the limitations, see [[Help:Expansion demo templates#Limitations]]. It does not work for html codes like &amp;quot;&amp;amp;amp;rarr;&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Therefore the recommendation is:&lt;br /&gt;
*if the wikitext contains html codes like &amp;quot;&amp;amp;amp;rarr;&amp;quot;&amp;lt;ref&amp;gt;Note that such codes are not needed, because the symbol, in this case →, is allowed in the wikitext itself. For ways of entering it, see [[Help:Special characters#Editing]].&amp;lt;/ref&amp;gt;, use [[Template:Fd]]&lt;br /&gt;
*also, if the wikitext contains one or more newlines, and no &amp;quot;Expand templates&amp;quot; link is desired, use Template:Fd.&lt;br /&gt;
*otherwise, use [[Template:Xpdplain]]&lt;br /&gt;
&lt;br /&gt;
The way of entering the input, and the first part of the output, of Xpdplain is similar to that of [[Template:Cnw]]. Since the latter just displays wikitext it can also be used for wikitext with double and triple braces, there is no need for a separate template for each pattern. However, it does not support single and multiple newlines.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
xpdplain: {{xpdplain|1=[[w:foot (length)|&amp;lt;span title=&amp;quot;30.48 cm&amp;quot;&amp;gt;ft&amp;lt;/span&amp;gt;]]}}&lt;br /&gt;
&lt;br /&gt;
fd: {{fd|1=[[w:foot (length)|&amp;lt;span title=&amp;quot;30.48 cm&amp;quot;&amp;gt;ft&amp;lt;/span&amp;gt;]]}}&lt;br /&gt;
&lt;br /&gt;
cnw: {{cnw|1=[[w:foot (length)|&amp;lt;span title=&amp;quot;30.48 cm&amp;quot;&amp;gt;ft&amp;lt;/span&amp;gt;]]}}&lt;br /&gt;
----&lt;br /&gt;
xpdplain: {{xpdplain|a|&lt;br /&gt;
|b|&lt;br /&gt;
|&lt;br /&gt;
|c}}&lt;br /&gt;
&lt;br /&gt;
fd: {{fd|a&lt;br /&gt;
b&lt;br /&gt;
&lt;br /&gt;
c}}&lt;br /&gt;
&lt;br /&gt;
{{refs}}&lt;br /&gt;
&amp;lt;!-- template categories and interwiki links --XXX&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
[[Category:Expand demo templates]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
XXX---&amp;gt;&lt;/div&gt;</summary>
		<author><name>Fabartus</name></author>
	</entry>
</feed>