<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.limswiki.org/index.php?action=history&amp;feed=atom&amp;title=LIMSWiki%3ASubstitution</id>
	<title>LIMSWiki:Substitution - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.limswiki.org/index.php?action=history&amp;feed=atom&amp;title=LIMSWiki%3ASubstitution"/>
	<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=LIMSWiki:Substitution&amp;action=history"/>
	<updated>2026-04-05T17:57:06Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://www.limswiki.org/index.php?title=LIMSWiki:Substitution&amp;diff=11019&amp;oldid=prev</id>
		<title>Shawndouglas: Added cat.</title>
		<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=LIMSWiki:Substitution&amp;diff=11019&amp;oldid=prev"/>
		<updated>2013-05-29T19:44:15Z</updated>

		<summary type="html">&lt;p&gt;Added cat.&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 19:44, 29 May 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l15&quot;&gt;Line 15:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 15:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Additionally, when creating or editing templates that are commonly substituted, adding an HTML comment to the template page helps article editors to see how templates are being used (e.g. &amp;lt;code&amp;gt;&amp;amp;lt;!-- Substituted from [[Template:Documentation]] --&amp;gt;&amp;lt;/code&amp;gt;).&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Additionally, when creating or editing templates that are commonly substituted, adding an HTML comment to the template page helps article editors to see how templates are being used (e.g. &amp;lt;code&amp;gt;&amp;amp;lt;!-- Substituted from [[Template:Documentation]] --&amp;gt;&amp;lt;/code&amp;gt;).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[Category:LIMSwiki help documentation]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key limswiki:diff::1.12:old-11018:rev-11019 --&gt;
&lt;/table&gt;</summary>
		<author><name>Shawndouglas</name></author>
	</entry>
	<entry>
		<id>https://www.limswiki.org/index.php?title=LIMSWiki:Substitution&amp;diff=11018&amp;oldid=prev</id>
		<title>Shawndouglas: Created as needed.</title>
		<link rel="alternate" type="text/html" href="https://www.limswiki.org/index.php?title=LIMSWiki:Substitution&amp;diff=11018&amp;oldid=prev"/>
		<updated>2013-05-29T19:43:18Z</updated>

		<summary type="html">&lt;p&gt;Created as needed.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Substitution''' is the one-time, permanent copying of any content on LIMSwiki. It differs from [[LIMSWiki:Transclusion|transclusion]], which continually updates as the linked-to content changes.  &lt;br /&gt;
&lt;br /&gt;
To substitute, add &amp;lt;code&amp;gt;subst:&amp;lt;/code&amp;gt; after the opening braces, as in &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{subst:page name}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. For example:  ''substitution'' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{subst:Medicine}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; in contrast to ''transclusion'' &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Medicine}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;. The contents of page &amp;quot;Medicine&amp;quot; will be expanded (for any templates) and stored at each point where &amp;quot;&amp;lt;nowiki&amp;gt;{{subst:Medicine}}&amp;lt;/nowiki&amp;gt;&amp;quot; is placed in a page. Note how ref-tags refuse to run &amp;quot;subst:&amp;quot; unless temporarily renamed as &amp;quot;&amp;amp;lt;xref name=xx&amp;gt;&amp;quot; or similar.&lt;br /&gt;
&lt;br /&gt;
This page also lists templates that should either always or never be substituted except in the '''LIMSWiki''' namespace. Automated tools (like bots) that do such replacements will ''never'' be used on the original template. If you are going to use a bot to substitute templates, please read through the talk page first, as many are under dispute or change status over time, and substitution is permanent.&lt;br /&gt;
&lt;br /&gt;
== About subst ==&lt;br /&gt;
=== Definition ===&lt;br /&gt;
The '''subst:''' keyword (short for &amp;quot;substitution&amp;quot;) is used as a prefix inside template code. It changes the way the software expands the template. Ordinarily, a template will be expanded &amp;quot;on the fly&amp;quot;; that is, the template code on a page calls a separate page every time it is rendered. Although most page views are served from the cache, pages need to be rendered for previews, and rendered again when the page changes. When someone is editing a page with a normal template call, they see the template call. Placing &amp;quot;subst:&amp;quot; inside the curly brackets tells the software to ''permanently'' replace the template with the text of the template (i.e., the text that is on the template's article page ''when the template is added to the page''). Therefore &amp;lt;nowiki&amp;gt;{{template}}&amp;lt;/nowiki&amp;gt; becomes &amp;lt;nowiki&amp;gt;{{subst:template}}&amp;lt;/nowiki&amp;gt;, until you save the page. The next editor sees not the template call, but the text of the template when you saved; it does not change even if the template is edited.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
You can subst a template tag by adding &amp;quot;subst:&amp;quot; to a template tag. For example, use &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;subst:test5}} instead of &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;test5}}. &lt;br /&gt;
&lt;br /&gt;
When this is a major component of an edit, it is strongly suggested that the template be mentioned in the edit summary (for instance, put &amp;quot;&amp;lt;nowiki&amp;gt;{{subst:test}}&amp;lt;/nowiki&amp;gt;&amp;quot;, &amp;quot;subst:test&amp;quot;  or &amp;quot;test1 applied&amp;quot; in your edit summary) so other editors can easily see what you have done.&lt;br /&gt;
&lt;br /&gt;
Additionally, when creating or editing templates that are commonly substituted, adding an HTML comment to the template page helps article editors to see how templates are being used (e.g. &amp;lt;code&amp;gt;&amp;amp;lt;!-- Substituted from [[Template:Documentation]] --&amp;gt;&amp;lt;/code&amp;gt;).&lt;/div&gt;</summary>
		<author><name>Shawndouglas</name></author>
	</entry>
</feed>