<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="hu">
	<id>https://wiki.trashforum.org/index.php?action=history&amp;feed=atom&amp;title=Sablon%3AFor_nowiki%2Fdoc</id>
	<title>Sablon:For nowiki/doc - Laptörténet</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.trashforum.org/index.php?action=history&amp;feed=atom&amp;title=Sablon%3AFor_nowiki%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.trashforum.org/index.php?title=Sablon:For_nowiki/doc&amp;action=history"/>
	<updated>2026-05-06T08:17:48Z</updated>
	<subtitle>Az oldal laptörténete a wikiben</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.trashforum.org/index.php?title=Sablon:For_nowiki/doc&amp;diff=4787&amp;oldid=prev</id>
		<title>BarathéGábor: 1 változat importálva</title>
		<link rel="alternate" type="text/html" href="https://wiki.trashforum.org/index.php?title=Sablon:For_nowiki/doc&amp;diff=4787&amp;oldid=prev"/>
		<updated>2025-01-21T19:52:09Z</updated>

		<summary type="html">&lt;p&gt;1 változat importálva&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;hu&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Régebbi változat&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;A lap 2025. január 21., 21:52-kori változata&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;hu&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(Nincs különbség)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>BarathéGábor</name></author>
	</entry>
	<entry>
		<id>https://wiki.trashforum.org/index.php?title=Sablon:For_nowiki/doc&amp;diff=4786&amp;oldid=prev</id>
		<title>w&gt;BrandonXLF: /* Usage */ Add start to usage</title>
		<link rel="alternate" type="text/html" href="https://wiki.trashforum.org/index.php?title=Sablon:For_nowiki/doc&amp;diff=4786&amp;oldid=prev"/>
		<updated>2024-09-02T21:16:59Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Usage: &lt;/span&gt; Add start to usage&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Új lap&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{High-use}}&lt;br /&gt;
{{Lua|Module:For nowiki}}&lt;br /&gt;
&lt;br /&gt;
This template implements a [[foreach loop]]. It interprets a given wikitext (unlike {{tl|For loop}}, which calls a specified template) once for each item in the list.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
 {{tlp|For nowiki|&amp;#039;&amp;#039;separator&amp;#039;&amp;#039;|{{tag|nowiki|content=&amp;#039;&amp;#039;wikitext&amp;#039;&amp;#039;}}|item1|item2|...}}&lt;br /&gt;
 {{tlp|For nowiki|&amp;#039;&amp;#039;separator&amp;#039;&amp;#039;|{{tag|nowiki|content=&amp;#039;&amp;#039;wikitext&amp;#039;&amp;#039;}}|count{{=}}&amp;#039;&amp;#039;count&amp;#039;&amp;#039;|start{{=}}&amp;#039;&amp;#039;start&amp;#039;&amp;#039;}}&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;#039;&amp;#039;separator&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; is inserted &amp;#039;&amp;#039;between&amp;#039;&amp;#039; the results of &amp;lt;code&amp;gt;&amp;#039;&amp;#039;wikitext&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; interpretation. Whitespace is preserved.&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;#039;&amp;#039;wikitext&amp;#039;&amp;#039;&amp;lt;/code&amp;gt; is interpreted once for each item in the list. It then may use {{code|{{{1}}}|wikitext}} to get the item value, and {{code|{{{i}}}|wikitext}} to get its position in the list (starting from 1), as well as any parameters that were passed to {{tlx|for nowiki}}. It may also contain template calls. To use a parameter passed to the calling template, surround it with {{xtag|nowiki|c}}...{{xtag|nowiki|o}} (the opening and closing tags are swapped) or pass the parameter directly to {{tlc|for nowiki}} if its name doesn&amp;#039;t conflict with any reserved parameters.&lt;br /&gt;
&lt;br /&gt;
=== Count form ===&lt;br /&gt;
The second form of this template using a {{para|count}} parameter interprets the given wikitext &amp;lt;code&amp;gt;count&amp;lt;/code&amp;gt; times, passing each integer between 1 and that &amp;lt;code&amp;gt;count&amp;lt;/code&amp;gt; as both {{para|1}} and {{para|i}} each time. By default, iteration starts from 1. Use parameter {{para|start|{{var|number}}}} to start from a different number. Then the iteration will go from {{code|start}} to {{code|start+count-1}}.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
{{Markup&lt;br /&gt;
|&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{For nowiki|&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;* Item {{{i}}}: {{3x|{{{1}}} }}&amp;lt;/nowiki&amp;gt;|dog|cat|bird}}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|{{For nowiki|&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;* Item {{{i}}}: {{3x|{{{1}}} }}&amp;lt;/nowiki&amp;gt;|dog|cat|bird}}&lt;br /&gt;
|&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{For nowiki|&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;# [[:Category:{{{1}}} in spaceflight]]&amp;lt;/nowiki&amp;gt;|count=9|start=1961}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
|{{For nowiki|&lt;br /&gt;
|&amp;lt;nowiki&amp;gt;# [[:Category:{{{1}}} in spaceflight]]&amp;lt;/nowiki&amp;gt;|count=9|start=1961}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{mlx|For nowiki|template}} - For processing template parameters&lt;br /&gt;
* {{tlx|For loop}}&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
[[Category:Wikitext processing templates]]&lt;br /&gt;
[[Category:Repetition templates]]&lt;br /&gt;
[[Category:Wikipedia metatemplates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>w&gt;BrandonXLF</name></author>
	</entry>
</feed>