<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://consumerrights.wiki/index.php?action=history&amp;feed=atom&amp;title=Help%3ATransclusion</id>
	<title>Help:Transclusion - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://consumerrights.wiki/index.php?action=history&amp;feed=atom&amp;title=Help%3ATransclusion"/>
	<link rel="alternate" type="text/html" href="https://consumerrights.wiki/index.php?title=Help:Transclusion&amp;action=history"/>
	<updated>2026-04-29T00:36:56Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://consumerrights.wiki/index.php?title=Help:Transclusion&amp;diff=17659&amp;oldid=prev</id>
		<title>Fen: remove em dashes</title>
		<link rel="alternate" type="text/html" href="https://consumerrights.wiki/index.php?title=Help:Transclusion&amp;diff=17659&amp;oldid=prev"/>
		<updated>2025-07-23T20:25:22Z</updated>

		<summary type="html">&lt;p&gt;remove em dashes&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 20:25, 23 July 2025&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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&#039;&#039;&#039;Transclusion&#039;&#039;&#039; is the core concept that powers &#039;&#039;&#039;templates&#039;&#039;&#039; in MediaWiki. It allows content from one page (usually a template) to appear dynamically on another &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;page—without &lt;/del&gt;having to copy and paste it. Isn’t that cool?  &lt;/div&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;&#039;&#039;&#039;Transclusion&#039;&#039;&#039; is the core concept that powers &#039;&#039;&#039;templates&#039;&#039;&#039; in MediaWiki. It allows content from one page (usually a template) to appear dynamically on another &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;page, without &lt;/ins&gt;having to copy and paste it. Isn’t that cool?  &lt;/div&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;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;== What is Transclusion? ==&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;== What is Transclusion? ==&lt;/div&gt;&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-l43&quot;&gt;Line 43:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 43:&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;&amp;lt;/pre&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;&amp;lt;/pre&amp;gt;&lt;/div&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;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; 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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;But be &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;careful—this &lt;/del&gt;can create unexpected side effects if used outside of documentation or meta pages.&lt;/div&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;But be &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;careful, this &lt;/ins&gt;can create unexpected side effects if used outside of documentation or meta pages.&lt;/div&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;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;== Nesting Templates (Templates Using Other Templates) ==&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;== Nesting Templates (Templates Using Other Templates) ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki:diff:1.41:old-17655:rev-17659:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Fen</name></author>
	</entry>
	<entry>
		<id>https://consumerrights.wiki/index.php?title=Help:Transclusion&amp;diff=17655&amp;oldid=prev</id>
		<title>Fen at 20:17, 23 July 2025</title>
		<link rel="alternate" type="text/html" href="https://consumerrights.wiki/index.php?title=Help:Transclusion&amp;diff=17655&amp;oldid=prev"/>
		<updated>2025-07-23T20:17:48Z</updated>

		<summary type="html">&lt;p&gt;&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 20:17, 23 July 2025&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-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;= Help:Transclusion =&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&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: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&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;&amp;#039;&amp;#039;&amp;#039;Transclusion&amp;#039;&amp;#039;&amp;#039; is the core concept that powers &amp;#039;&amp;#039;&amp;#039;templates&amp;#039;&amp;#039;&amp;#039; in MediaWiki. It allows content from one page (usually a template) to appear dynamically on another page—without having to copy and paste it. Isn’t that cool?  &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;&amp;#039;&amp;#039;&amp;#039;Transclusion&amp;#039;&amp;#039;&amp;#039; is the core concept that powers &amp;#039;&amp;#039;&amp;#039;templates&amp;#039;&amp;#039;&amp;#039; in MediaWiki. It allows content from one page (usually a template) to appear dynamically on another page—without having to copy and paste it. Isn’t that cool?  &lt;/div&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;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;!-- diff cache key wiki:diff:1.41:old-17653:rev-17655:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Fen</name></author>
	</entry>
	<entry>
		<id>https://consumerrights.wiki/index.php?title=Help:Transclusion&amp;diff=17653&amp;oldid=prev</id>
		<title>Fen: some built in mediawiki stuff hyperlinks to this like {{documentation}}, so adding</title>
		<link rel="alternate" type="text/html" href="https://consumerrights.wiki/index.php?title=Help:Transclusion&amp;diff=17653&amp;oldid=prev"/>
		<updated>2025-07-23T20:17:33Z</updated>

		<summary type="html">&lt;p&gt;some built in mediawiki stuff hyperlinks to this like {{documentation}}, so adding&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Help:Transclusion =&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Transclusion&amp;#039;&amp;#039;&amp;#039; is the core concept that powers &amp;#039;&amp;#039;&amp;#039;templates&amp;#039;&amp;#039;&amp;#039; in MediaWiki. It allows content from one page (usually a template) to appear dynamically on another page—without having to copy and paste it. Isn’t that cool? &lt;br /&gt;
&lt;br /&gt;
== What is Transclusion? ==&lt;br /&gt;
Templates are like &amp;#039;&amp;#039;&amp;#039;reusable building blocks&amp;#039;&amp;#039;&amp;#039;. Instead of repeating the same information across multiple pages, you define it once in a template and insert it wherever it&amp;#039;s needed.&lt;br /&gt;
&lt;br /&gt;
Think of it like a &amp;#039;&amp;#039;&amp;#039;function in code&amp;#039;&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{TemplateName}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This one simple line pulls in the entire content of the &amp;lt;code&amp;gt;Template:TemplateName&amp;lt;/code&amp;gt; page.&lt;br /&gt;
&lt;br /&gt;
Need to update a banner or a layout on 100 pages? Just update the template—it’ll reflect everywhere instantly. Efficient, consistent, and easy to maintain.&lt;br /&gt;
&lt;br /&gt;
== Basic Usage ==&lt;br /&gt;
&lt;br /&gt;
To transclude a template onto a page, just type:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{ExampleTemplate}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To pass parameters:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{ExampleTemplate|name=Fen|type=Admin}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
In the template code itself, you would use:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;User:&amp;#039;&amp;#039;&amp;#039; {{{name}}}&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Role:&amp;#039;&amp;#039;&amp;#039; {{{type}}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Transcluding Other Pages (Not Just Templates!) ==&lt;br /&gt;
&lt;br /&gt;
You can even transclude the content of any regular page:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Help:Editing}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
But be careful—this can create unexpected side effects if used outside of documentation or meta pages.&lt;br /&gt;
&lt;br /&gt;
== Nesting Templates (Templates Using Other Templates) ==&lt;br /&gt;
&lt;br /&gt;
Templates can also &amp;#039;&amp;#039;&amp;#039;transclude other templates&amp;#039;&amp;#039;&amp;#039;. This is known as &amp;#039;&amp;#039;&amp;#039;nesting&amp;#039;&amp;#039;&amp;#039;, and it allows complex templates to be broken down into smaller, reusable components.&lt;br /&gt;
&lt;br /&gt;
For example, a template like &amp;lt;code&amp;gt;Template:Userbox&amp;lt;/code&amp;gt; might call another template like &amp;lt;code&amp;gt;Template:Userbox/core&amp;lt;/code&amp;gt; to handle its layout:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{Userbox/core&lt;br /&gt;
 | border-c = #aaa&lt;br /&gt;
 | id       = Example&lt;br /&gt;
 | info     = This is a nested template&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This keeps logic separated and easier to maintain. It also enables shared styling or behavior across many templates without repeating code.&lt;br /&gt;
&lt;br /&gt;
== Why Use Transclusion? ==&lt;br /&gt;
&lt;br /&gt;
* ✅ Centralized maintenance&lt;br /&gt;
* ✅ Uniform formatting&lt;br /&gt;
* ✅ Clean, readable wikitext&lt;br /&gt;
* ✅ Dynamic content reuse&lt;br /&gt;
&lt;br /&gt;
== What It’s Not ==&lt;br /&gt;
&lt;br /&gt;
* It’s &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; copying and pasting content.&lt;br /&gt;
* It’s &amp;#039;&amp;#039;&amp;#039;not&amp;#039;&amp;#039;&amp;#039; permanent—changes in the source reflect everywhere.&lt;/div&gt;</summary>
		<author><name>Fen</name></author>
	</entry>
</feed>