<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.holdfastgame.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AForeach%2Fdoc</id>
	<title>Module:Foreach/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.holdfastgame.com/index.php?action=history&amp;feed=atom&amp;title=Module%3AForeach%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.holdfastgame.com/index.php?title=Module:Foreach/doc&amp;action=history"/>
	<updated>2026-05-30T20:13:52Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>https://wiki.holdfastgame.com/index.php?title=Module:Foreach/doc&amp;diff=1171&amp;oldid=prev</id>
		<title>Falo: Created page with &quot;== Purpose == To repeatedly use a template for each argument in a pipe delimited list.  The template handles up to 30 list items.  Coming here to use this template in a new pa...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.holdfastgame.com/index.php?title=Module:Foreach/doc&amp;diff=1171&amp;oldid=prev"/>
		<updated>2019-08-22T15:25:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;== Purpose == To repeatedly use a template for each argument in a pipe delimited list.  The template handles up to 30 list items.  Coming here to use this template in a new pa...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== Purpose ==&lt;br /&gt;
To repeatedly use a template for each argument in a pipe delimited list.  The template handles up to 30 list items.&lt;br /&gt;
&lt;br /&gt;
Coming here to use this template in a new page, or put it somewhere it hasn't been used before? Consider using [[Template:Fe]] instead!&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
;Create comma delimited links to each hook in a list:&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{foreach|SeeHook|delim=, |ParserBeforeStrip|ParserAfterStrip}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;Foreach[|delim=''delim'']|''templatename''|''item1''[|''item2'']...}}&lt;br /&gt;
&lt;br /&gt;
* ''templatename'' - the name of a template that takes at least one parameter. Only the first parameter will be used, so the remaining parameters must be optional.&lt;br /&gt;
* ''item1'' - the first item to pass to the template, resulting in  &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;''templatename''|''item1''}}&lt;br /&gt;
* ''item2'',... - (optional) the second and following items to pass to the template, resulting in  &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;''templatename''|''item2''}}, etc.&lt;br /&gt;
* ''delim'' - (optional) a delimiter that should be inserted between the list items after the template ''templatename'' has been applied to each&lt;/div&gt;</summary>
		<author><name>Falo</name></author>
	</entry>
</feed>