<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AFor_nowiki%2Fdoc</id>
	<title>Module:For nowiki/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Module%3AFor_nowiki%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Module:For_nowiki/doc&amp;action=history"/>
	<updated>2026-10-31T15:04:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://elite.mistflux.co.uk/w/index.php?title=Module:For_nowiki/doc&amp;diff=111488&amp;oldid=prev</id>
		<title>Wikipedia&gt;Primefac: Wikipedia:Templates for discussion/Log/2026 September 29#Module:Multiformat closed as &amp;nbsp; (XFDcloser)</title>
		<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Module:For_nowiki/doc&amp;diff=111488&amp;oldid=prev"/>
		<updated>2026-10-10T23:00:25Z</updated>

		<summary type="html">&lt;p&gt;&lt;a href=&quot;https://en.wikipedia.org/wiki/Templates_for_discussion/Log/2026_September_29#Module:Multiformat&quot; class=&quot;extiw&quot; title=&quot;wikipedia:Templates for discussion/Log/2026 September 29&quot;&gt;Wikipedia:Templates for discussion/Log/2026 September 29#Module:Multiformat&lt;/a&gt; closed as   (&lt;a href=&quot;/w/index.php?title=WP:XFDC&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:XFDC (page does not exist)&quot;&gt;XFDcloser&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating|p}}&lt;br /&gt;
{{High-use}}&lt;br /&gt;
&lt;br /&gt;
This module implements a foreach loop that can be used from wikitext. It exports two functions:&lt;br /&gt;
* &amp;lt;code&amp;gt;main&amp;lt;/code&amp;gt; - Implements {{tl|For nowiki}}, which can be used with explicitly provided parameters. &amp;#039;&amp;#039;&amp;#039;Should not be called directly.&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
* &amp;lt;code&amp;gt;template&amp;lt;/code&amp;gt; - Designed to be used from within other templates. It takes explicit configuration parameters but it uses parameters passed to the parent frame (the template) for all others. Should be called directly.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
 {{ml|For nowiki|template|&amp;#039;&amp;#039;separator&amp;#039;&amp;#039;|&amp;lt;code&amp;gt;&amp;amp;lt;nowiki&amp;amp;gt;&amp;#039;&amp;#039;wikitext&amp;#039;&amp;#039;&amp;amp;lt;/nowiki&amp;amp;gt;&amp;lt;/code&amp;gt;|offset{{=}}&amp;#039;&amp;#039;offset&amp;#039;&amp;#039;|conjunction{{=}}&amp;#039;&amp;#039;conjunction&amp;#039;&amp;#039;}}&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;#039;&amp;#039;separator&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&amp;#039;&amp;#039;wikitext&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; function the same as described in [[Template:For nowiki/doc#Usage]].&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;#039;&amp;#039;offset&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; is the offset of the first argument to process. Defaults to 0, which means the {{para|1}} parameter passed to the template is the first parameter processed.&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;#039;&amp;#039;conjunction&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; (optional) replaces &amp;lt;code&amp;gt;&amp;#039;&amp;#039;separator&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; between the second-to-last and last iteration.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
If you have a template &amp;lt;code&amp;gt;_TEMPLATE_&amp;lt;/code&amp;gt;:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{#invoke:For nowiki|template|&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;* {{{i}}} is {{{1}}}. Next is {{#expr:{{{i}}} + 1}}.&amp;lt;/nowiki&amp;gt;}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then calling:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{_TEMPLATE_|A|B|Foo|Orange}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Would produce:&lt;br /&gt;
{{Call wikitext|sourceCode=&amp;lt;nowiki&amp;gt;{{#invoke:For nowiki|template|&lt;br /&gt;
|&amp;amp;lt;nowiki&amp;amp;gt;* {{{i}}} is {{{1}}}. Next is {{#expr:{{{i}}} + 1}}.&amp;amp;lt;/nowiki&amp;amp;gt;}}&amp;lt;/nowiki&amp;gt;|A|B|Foo|Orange}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
{{Infinite parameters modules}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{#ifeq:{{SUBPAGENAME}}|sandbox | |&lt;br /&gt;
&amp;lt;!-- Categories below this line, please; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
[[Category:Template metamodules]]&lt;br /&gt;
[[Category:Wikitext processing modules]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Module documentation pages]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Primefac</name></author>
	</entry>
</feed>