<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AExpand_wikitext%2Fdoc</id>
	<title>Template:Expand wikitext/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://safernicotine.wiki/mediawiki/index.php?action=history&amp;feed=atom&amp;title=Template%3AExpand_wikitext%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Expand_wikitext/doc&amp;action=history"/>
	<updated>2026-04-15T07:06:17Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://safernicotine.wiki/mediawiki/index.php?title=Template:Expand_wikitext/doc&amp;diff=36565&amp;oldid=prev</id>
		<title>imported&gt;Pppery: Nowiki hack now works</title>
		<link rel="alternate" type="text/html" href="https://safernicotine.wiki/mediawiki/index.php?title=Template:Expand_wikitext/doc&amp;diff=36565&amp;oldid=prev"/>
		<updated>2023-01-30T03:20:44Z</updated>

		<summary type="html">&lt;p&gt;Nowiki hack now works&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{confused|Template:Eval}}&lt;br /&gt;
{{Documentation subpage}}&lt;br /&gt;
{{#ifeq:{{NAMESPACENUMBER}}|10|{{lua|Module:Expand wikitext}}}}&lt;br /&gt;
Interprets the input as wikitext using the &amp;lt;code&amp;gt;[[mw:Extension:Scribunto/Lua reference manual#frame:preprocess|frame:preprocess]]&amp;lt;/code&amp;gt; function.  Any arguments passed to {{tl|Expand wikitext}} are available in the preprocessed code, letting this be used as a rudimentary way of using variables.  &lt;br /&gt;
&lt;br /&gt;
If the entire input is in a nowiki tag, or if the optional parameter {{para|unstrip|yes}} is specified, first extracts the contents of nowiki tags before preprocessing.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
* &amp;lt;code&amp;gt;{{((}}{{#ifeq:{{NAMESPACENUMBER}}|10|Expand wikitext|&amp;amp;#35;invoke:expand wikitext{{!}}main}}|{{tlp|Make code|&amp;lt;&amp;lt;As of!2015!02&amp;gt;&amp;gt;}}{{))}}&amp;lt;/code&amp;gt; → {{Expand wikitext|{{Make code|&amp;lt;&amp;lt;As of!2015!02&amp;gt;&amp;gt;}}}}&lt;br /&gt;
* &amp;lt;code&amp;gt;{{((}}{{#ifeq:{{NAMESPACENUMBER}}|10|Expand wikitext|&amp;amp;#35;invoke:expand wikitext{{!}}main}}|&amp;lt;nowiki&amp;gt;&amp;amp;lt;nowiki&amp;gt;{{Episode list/sublist | 1               = One Piece (season 15) | EpisodeNumber   = {{{ep}}} | Title           = An Explosive Situation! Luffy vs. Fake Luffy! | OriginalAirDate = {{Date|2011-10-02 +{{#expr:({{{ep}}})-517}} weeks }} }} &amp;amp;lt;/nowiki&amp;gt;|ep=518}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{Expand wikitext|&amp;lt;nowiki&amp;gt;{{Episode list/sublist&lt;br /&gt;
| 1               = One Piece (season 15)&lt;br /&gt;
| EpisodeNumber   = {{{ep}}}&lt;br /&gt;
| Title           = An Explosive Situation! Luffy vs. Fake Luffy!&lt;br /&gt;
| OriginalAirDate = {{Date|2011-10-02 +{{#expr:({{{ep}}})-517}} weeks }}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;|ep=518}}&lt;br /&gt;
* &amp;lt;code&amp;gt;{{((}}{{#ifeq:{{NAMESPACENUMBER}}|10|Expand wikitext|&amp;amp;#35;invoke:expand wikitext{{!}}main}}&amp;lt;nowiki&amp;gt;|&amp;amp;lt;nowiki&amp;gt;{{2x|x}}-&amp;amp;lt;/nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{Expand wikitext|&amp;lt;nowiki&amp;gt;{{2x|x}}-&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
* &amp;lt;code&amp;gt;{{((}}{{#ifeq:{{NAMESPACENUMBER}}|10|Expand wikitext|&amp;amp;#35;invoke:expand wikitext{{!}}main}}&amp;lt;nowiki&amp;gt;|&amp;amp;lt;nowiki&amp;gt;{{2x|x}} -&amp;amp;lt;/nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{Expand wikitext|&amp;lt;nowiki&amp;gt;{{2x|x}} -&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
* &amp;lt;code&amp;gt;{{((}}{{#ifeq:{{NAMESPACENUMBER}}|10|Expand wikitext|&amp;amp;#35;invoke:expand wikitext{{!}}main}}&amp;lt;nowiki&amp;gt;|&amp;amp;lt;nowiki&amp;gt;&amp;lt;u&amp;gt;u&amp;lt;/u&amp;gt;&amp;lt;ref&amp;gt;text&amp;lt;/ref&amp;gt;&amp;amp;lt;/nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; → {{Expand wikitext|&amp;lt;nowiki&amp;gt;&amp;lt;u&amp;gt;u&amp;lt;/u&amp;gt;&amp;lt;ref&amp;gt;text&amp;lt;/ref&amp;gt;&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
[[Category:Documentation assistance templates]]&lt;br /&gt;
[[Category:Wikitext processing templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Pppery</name></author>
	</entry>
</feed>