<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/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="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3AForward_parameters_to_template_call%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Forward_parameters_to_template_call/doc&amp;action=history"/>
	<updated>2026-04-09T21:05:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:Forward_parameters_to_template_call/doc&amp;diff=136327&amp;oldid=prev</id>
		<title>imported&gt;Tamzin: /* Usage */ tweaks</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Forward_parameters_to_template_call/doc&amp;diff=136327&amp;oldid=prev"/>
		<updated>2022-02-05T05:22:40Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Usage: &lt;/span&gt; tweaks&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Module rating|alpha}}&lt;br /&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;&lt;/div&gt;</summary>
		<author><name>imported&gt;Tamzin</name></author>
	</entry>
</feed>