Jump to content

Template:For: Difference between revisions

From Philosophical Research
copy from mediawiki.org page "Template:For loop", time 2024-06-15T04:30Z
 
m use correct function
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#invoke:For|render}}
{{#invoke:For|main}}<noinclude>
{{Module:For/doc}}
<!--
== Source ==
<pre>
{{Module:for}}
</pre> -->
 
[[Category:Templates for functional programming]] {{ArticleTitle|h1=Template:for}}</noinclude>

Latest revision as of 09:53, 21 January 2026

Template parameters[edit]

  • 1 - separator to put between template calls
  • pv - parameter to iterate over
  • start - minimum value to start the loop at
  • stop - final value to end the loop at
  • by - number to increment by
  • call - Template to call on each run of the loop
  • pcXn,pcXv - parameters to supply to loop