<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Module%3AForward_parameters_to_template_call%2Fdoc</id>
	<title>Module:Forward parameters to template call/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://70.231.62.181/index.php?action=history&amp;feed=atom&amp;title=Module%3AForward_parameters_to_template_call%2Fdoc"/>
	<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Module:Forward_parameters_to_template_call/doc&amp;action=history"/>
	<updated>2026-04-22T19:19:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>http://70.231.62.181/index.php?title=Module:Forward_parameters_to_template_call/doc&amp;diff=10039069&amp;oldid=prev</id>
		<title>imported&gt;Warudo: Added the page to :Category:Module documentation pages</title>
		<link rel="alternate" type="text/html" href="http://70.231.62.181/index.php?title=Module:Forward_parameters_to_template_call/doc&amp;diff=10039069&amp;oldid=prev"/>
		<updated>2024-08-29T21:30:19Z</updated>

		<summary type="html">&lt;p&gt;Added the page to &lt;a href=&quot;/index.php/Category:Module_documentation_pages&quot; title=&quot;Category:Module documentation pages&quot;&gt;Category:Module documentation pages&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;subst:#invoke:Forward parameters to template call|main|_template=&amp;#039;&amp;#039;template name&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This module is for a very particular set of circumstances: when a substituted template needs to dynamically generate the wikimarkup for a template call, forwarding all numbered parameters. It also allows for the option of designating a prefix for a series of named parameters which will be converted to numbered ones. Because it generates wikitext, &amp;#039;&amp;#039;&amp;#039;this module only works when substituted&amp;#039;&amp;#039;&amp;#039;, unless all you want is to show the template call&amp;#039;s markup without actually executing it.&lt;br /&gt;
&lt;br /&gt;
To specify a prefix to convert to numbered parameters, set {{param|_convert_prefix}} (or {{param|_convert_prefix1}}, {{param|_convert_prefix2}}, etc.) The order of items within that family of parameters will be retained, with those items being placed after any true numbered parameters. For instance, &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;subst:#invoke:Forward parameters to template call|main|_template=foo&amp;lt;nowiki&amp;gt;|_convert_prefix=bar|1|2|bar2=b|bar1=a}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; will become {{tlc|1=foo{{!}}1=1{{!}}2=2{{!}}3=a{{!}}4=b}}. If multiple prefixes are converted, order of items within each set is retained, but the ordering of the sets is unpredictable.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories below this line; interwikis at Wikidata --&amp;gt;&lt;br /&gt;
&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>imported&gt;Warudo</name></author>
	</entry>
</feed>