<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://feministwiki.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AAlways_substitute%2Fdoc</id>
	<title>Template:Always substitute/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://feministwiki.org/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AAlways_substitute%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://feministwiki.org/w/index.php?title=Template:Always_substitute/doc&amp;action=history"/>
	<updated>2026-09-27T21:10:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://feministwiki.org/w/index.php?title=Template:Always_substitute/doc&amp;diff=1783&amp;oldid=prev</id>
		<title>Minervaproject: Created page with &quot;{{doc sub}} &lt;!--- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE ---&gt; {{lua|Module:Unsubst}} {{Always substitute|yesnomaybe=never}} {{tsh|subst only|substed|substitute|substituted|substonly|clear=right}} {{high-use}} {{tlf|Always substitute|code=on}} produces the following notice: {{quote|{{Subst only|actualtemplate={{tlg|foo|subst=on}}|nocat=true}}}} (but the {{tlf|Always substitute}} template itself should {{em|{{strong|never}}}} be Help:Substitutio...&quot;</title>
		<link rel="alternate" type="text/html" href="https://feministwiki.org/w/index.php?title=Template:Always_substitute/doc&amp;diff=1783&amp;oldid=prev"/>
		<updated>2026-09-22T15:51:54Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;{{doc sub}} &amp;lt;!--- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE ---&amp;gt; {{lua|Module:Unsubst}} {{Always substitute|yesnomaybe=never}} {{tsh|subst only|substed|substitute|substituted|substonly|clear=right}} {{high-use}} {{tlf|Always substitute|code=on}} produces the following notice: {{quote|{{Subst only|actualtemplate={{tlg|foo|subst=on}}|nocat=true}}}} (but the {{tlf|Always substitute}} template itself should {{em|{{strong|never}}}} be Help:Substitutio...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{doc sub}}&lt;br /&gt;
&amp;lt;!--- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE ---&amp;gt;&lt;br /&gt;
{{lua|Module:Unsubst}}&lt;br /&gt;
{{Always substitute|yesnomaybe=never}}&lt;br /&gt;
{{tsh|subst only|substed|substitute|substituted|substonly|clear=right}}&lt;br /&gt;
{{high-use}}&lt;br /&gt;
{{tlf|Always substitute|code=on}} produces the following notice:&lt;br /&gt;
{{quote|{{Subst only|actualtemplate={{tlg|foo|subst=on}}|nocat=true}}}}&lt;br /&gt;
(but the {{tlf|Always substitute}} template itself should {{em|{{strong|never}}}} be [[Help:Substitution|substituted]].)&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Always substitute}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{tlf|Always substitute}} should be placed on the {{strong|[[Wikipedia:Template documentation|documentation]] [[Wikipedia:Subpage|subpage]]}} of any template that requires [[Help:Substitution|substitution]] rather than [[Wikipedia:Transclusion|transclusion]] &amp;#039;&amp;#039;(not on the template&amp;#039;s own page itself)&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
All of the parameters for this template are &amp;#039;&amp;#039;optional&amp;#039;&amp;#039;. If &amp;#039;&amp;#039;none&amp;#039;&amp;#039; of the parameters are used when transclusing this template onto the documentation subpage of a template, it will default to displaying a notice stating that the template &amp;quot;should &amp;#039;&amp;#039;always&amp;#039;&amp;#039; be substituted&amp;quot;, and include a statement with the template syntax that the reader should &amp;#039;&amp;#039;always&amp;#039;&amp;#039; use in order to substitute it onto a page. No additional statements are amended to the notice, and automatic categorization of the template that this notice refers to is allowed.&lt;br /&gt;
&lt;br /&gt;
;{{para|yesnomaybe}}&lt;br /&gt;
: Can be set to &amp;lt;code&amp;gt;never&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;not&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;can&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;may&amp;lt;/code&amp;gt;, or &amp;lt;code&amp;gt;always&amp;lt;/code&amp;gt;.&lt;br /&gt;
:* Setting it to &amp;lt;code&amp;gt;never&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;not&amp;lt;/code&amp;gt; will display a notice stating that the template &amp;quot;should &amp;#039;&amp;#039;never&amp;#039;&amp;#039; be substituted&amp;quot; or &amp;quot;should &amp;#039;&amp;#039;not&amp;#039;&amp;#039; be substituted&amp;quot;, respectively – and display the template syntax that the reader should &amp;#039;&amp;#039;always&amp;#039;&amp;#039; use in order to transclude it onto a page.&lt;br /&gt;
:* Setting it to &amp;lt;code&amp;gt;can&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;may&amp;lt;/code&amp;gt; will display a notice stating that the template &amp;quot;&amp;#039;&amp;#039;can&amp;#039;&amp;#039; be substituted&amp;quot; or &amp;quot;&amp;#039;&amp;#039;may&amp;#039;&amp;#039; be substituted&amp;quot;, respectively – and display the template syntax that the reader can use in order to substitute it onto a page if they so choose.&lt;br /&gt;
:* Setting it to &amp;lt;code&amp;gt;always&amp;lt;/code&amp;gt; will display a notice stating that the template &amp;quot;should &amp;#039;&amp;#039;always&amp;#039;&amp;#039; be substituted&amp;quot; – and display the template syntax that the reader should &amp;#039;&amp;#039;always&amp;#039;&amp;#039; use in order to substitute it onto a page.&lt;br /&gt;
&lt;br /&gt;
: &amp;#039;&amp;#039;If this parameter is not used, or if it is set to anything not listed above, the template defaults to using &amp;lt;code&amp;gt;always&amp;lt;/code&amp;gt;.&amp;#039;&amp;#039;&lt;br /&gt;
;{{para|auto|yes}}&lt;br /&gt;
: Set this parameter to &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt; if a Wikipedia [[WP:BOT|bot]] automatically searches for accidental transclusions of the template this notice refers to and fixes them to be substitutions, unless the {{para|demo|yes}} parameter is set.&lt;br /&gt;
:* When set to &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt;, the notice will include a statement with this information to the reader, as well as place the template that the notice refers to in {{cl|Wikipedia templates to be automatically substituted}}; see [[User:AnomieBOT/docs/TemplateSubster]] for more information.&lt;br /&gt;
:* This parameter is &amp;#039;&amp;#039;ignored&amp;#039;&amp;#039; by the template if {{para|yesnomaybe}} is set to an option other than &amp;lt;code&amp;gt;always&amp;lt;/code&amp;gt;, since this would cause the template to show conflicting information to the reader that makes no sense.&lt;br /&gt;
&lt;br /&gt;
: &amp;#039;&amp;#039;If this parameter is not used, or if it is set to anything other than &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt;,&amp;lt;ref name=autoref&amp;gt;This template uses {{tl|yesno-no}} to sanitize and parse the input so that the result is either &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;no&amp;lt;/code&amp;gt;. As a result, setting this parameter to any input that is construed to be affirmative will also return &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt;. See [[Template:Yesno/doc|template documentation]] for more information.&amp;lt;/ref&amp;gt; the template defaults to using &amp;lt;code&amp;gt;no&amp;lt;/code&amp;gt;.&amp;#039;&amp;#039;&lt;br /&gt;
;{{para|alt}}&lt;br /&gt;
: Set this parameter to the page title or location of an alternate template that the reader should use for transclusion instead of the template that the notice refers to (e.g. {{para|alt|Template:Example}} or {{para|alt|Example}}).&lt;br /&gt;
:* Enter the page title or location using &amp;#039;&amp;#039;plain text&amp;#039;&amp;#039;, and do not include quotations, square brackets, or braces.&lt;br /&gt;
:* When set to a page title or location, the notice will include a statement instructing the reader to use the alternate template for transclusions, and provide the appropriate template syntax for the reader to use.&lt;br /&gt;
:* If the location includes &amp;quot;Template:&amp;quot; or &amp;quot;TM:&amp;quot; at the beginning of the text, it is automatically dropped from being displayed in the template syntax.&lt;br /&gt;
:* This parameter is &amp;#039;&amp;#039;ignored&amp;#039;&amp;#039; by the template if {{para|yesnomaybe}} is set to an option other than &amp;lt;code&amp;gt;always&amp;lt;/code&amp;gt;, since this would cause the template to show conflicting information to the reader that makes no sense.&lt;br /&gt;
&lt;br /&gt;
: &amp;#039;&amp;#039;If this parameter is not used, or if it is set to no value or to only [[whitespace character]]s, the template will default to not displaying the additional information to the reader.&amp;#039;&amp;#039;&lt;br /&gt;
; {{para|nocat|true}}&lt;br /&gt;
: Set this parameter to &amp;lt;code&amp;gt;true&amp;lt;/code&amp;gt; in order to [[Wikipedia:Category suppression|suppress automatic categorization]] of the template that it applies to.&lt;br /&gt;
&lt;br /&gt;
: &amp;#039;&amp;#039;If this parameter is not used, or if it is set to anything other than &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt;,&amp;lt;ref name=autoref /&amp;gt; the template defaults to allowing automatic categorization.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Categorization ==&lt;br /&gt;
Pages that include {{tlf|Always substitute}} are added to [[:Category:Wikipedia substituted templates]].&lt;br /&gt;
&lt;br /&gt;
Templates that subst a template name string onto the target page in [[WP:HIDDEN|hidden text]] are added to [[:Category:Templates with matching hidden id]] &amp;#039;&amp;#039;if and &amp;#039;&amp;#039;&amp;#039;only if&amp;#039;&amp;#039;&amp;#039;&amp;#039;&amp;#039; the hidden template name string matches the name of the template. For example: [[Template:Uw-coi]] contains the token &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;!-- Template:Uw-coi --&amp;gt;&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;, and since the token matches the Template name, Template:Uw-coi is a member of the category.&lt;br /&gt;
&lt;br /&gt;
{{List of subst helper templates}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
&amp;lt;!--- CATEGORIES HERE, PLEASE: ---&amp;gt;&lt;br /&gt;
{{DEFAULTSORT:Substitute, Always}}&lt;br /&gt;
[[Category:Documentation header templates]]&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
{{reflist}}&lt;/div&gt;</summary>
		<author><name>Minervaproject</name></author>
	</entry>
</feed>