<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.tfcmud.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Help%3AA_quick_guide_to_templates</id>
	<title>Help:A quick guide to templates - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.tfcmud.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Help%3AA_quick_guide_to_templates"/>
	<link rel="alternate" type="text/html" href="https://www.tfcmud.com/wiki/index.php?title=Help:A_quick_guide_to_templates&amp;action=history"/>
	<updated>2026-04-30T15:18:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.36.1</generator>
	<entry>
		<id>https://www.tfcmud.com/wiki/index.php?title=Help:A_quick_guide_to_templates&amp;diff=274&amp;oldid=prev</id>
		<title>Tynian: 1 revision: Import helps</title>
		<link rel="alternate" type="text/html" href="https://www.tfcmud.com/wiki/index.php?title=Help:A_quick_guide_to_templates&amp;diff=274&amp;oldid=prev"/>
		<updated>2011-01-10T23:24:26Z</updated>

		<summary type="html">&lt;p&gt;1 revision: Import helps&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 23:24, 10 January 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Tynian</name></author>
	</entry>
	<entry>
		<id>https://www.tfcmud.com/wiki/index.php?title=Help:A_quick_guide_to_templates&amp;diff=273&amp;oldid=prev</id>
		<title>207.46.55.27: Removed reference to deleted template w:en:Template:Familia</title>
		<link rel="alternate" type="text/html" href="https://www.tfcmud.com/wiki/index.php?title=Help:A_quick_guide_to_templates&amp;diff=273&amp;oldid=prev"/>
		<updated>2010-01-08T04:47:46Z</updated>

		<summary type="html">&lt;p&gt;Removed reference to deleted template w:en:Template:Familia&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{H:h|editor toc}}&lt;br /&gt;
&lt;br /&gt;
This is a quick '''overview of templates'''. Full details can be found in '''[[Help:Template]]''' and '''[[Help:Advanced templates]]'''.&lt;br /&gt;
&lt;br /&gt;
Templates are pages in the template [[Help:Namespace|namespace]]. This means any page beginning with &amp;quot;Template:&amp;quot;, such as &amp;lt;nowiki&amp;gt;[[Template:Templatename]]&amp;lt;/nowiki&amp;gt; can be used as a template. The content of a template can be added to a page by typing &amp;lt;nowiki&amp;gt;{{templatename}}&amp;lt;/nowiki&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Templates are used to add recurring messages to pages in a consistent way, to add boilerplate messages, to create navigational boxes and to provide cross-language portability of texts.&lt;br /&gt;
&lt;br /&gt;
==Creating, editing and using templates==&lt;br /&gt;
You start a new template in the same way you would [[Help:Starting a new page|start a normal page]]. The only difference is that its title must start with &amp;lt;tt&amp;gt;Template:&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Once you have made the template, you can add &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;''templatename''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; to the pages you want to use it on. Every page using this template will get the same boilerplate text, each time a user visits it. When the template is updated, all pages containing the template tag will be automatically updated.&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can add &amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;subst:''templatename''&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt; to the pages you want to use the boilerplate text on. The system will fetch a one-time copy of the template text and '''substitute''' it into the page, in place of the template tag. If anyone edits the template afterwards, pages that used the &amp;lt;tt&amp;gt;subst:&amp;lt;/tt&amp;gt; keyword will '''not be updated'''. Sometimes that's what you want. &lt;br /&gt;
&lt;br /&gt;
If the template you want to edit looks like &amp;lt;nowiki&amp;gt;{{foo}}&amp;lt;/nowiki&amp;gt;, you would go to [[Template:foo]] to edit it. To get there, type in the URL to your address bar, [[Help:Searching|search]] for it, or make a link in the [[{{ns:4}}:sandbox|sandbox]] and click on it. &lt;br /&gt;
&lt;br /&gt;
Once you are there, just click &amp;quot;edit&amp;quot; or &amp;quot;edit this page&amp;quot; and edit it in the same way you would any other page. You can add anything you would add to a normal page, including text, images and other templates. Please be aware that your edit might affect many pages, so be cautious.&lt;br /&gt;
&lt;br /&gt;
==FAQ==&lt;br /&gt;
;Can I use a template in more than one project? : No, if you want to use it on two different language Wikipedias, for example, you would need to create it twice.&lt;br /&gt;
; Are templates case sensitive? : Yes, except usually the first letter.&lt;br /&gt;
; Can I add parameters? : Yes, see [[Help:Template]] for instructions.&lt;br /&gt;
; How many templates can I use in a page? : As many as you like (in older versions you could not use the ''same one'' more than 5 times).&lt;br /&gt;
; I edited the template, so why didn't the page it is used on change? : There are some caching bugs – solutions include:&lt;br /&gt;
:;[[Help:Dummy edit#Null edit|Null edit]]: One way to force refresh is to do a '''null edit''' – '''edit''' on the page in which the template appears, and to then click on '''Save page''' without having changed anything – there is no need to fill in the ''Summary'' field since there will not be any ''history'' of this as a change generated.&lt;br /&gt;
:;[[w:Wikipedia:Bypass your cache|Reload]]: Alternatively, '''refreshing''' by pressing Ctrl and F5 often helps.&lt;br /&gt;
:;[[w:Wikipedia:Purge|Purge]]:Another way is '''purge,''' by adding &amp;quot;&amp;amp;action=purge&amp;quot; to the address, like you would for &amp;quot;&amp;amp;action=edit&amp;quot; (e.g, :index.php?title=foo&amp;amp;action=purge).&lt;br /&gt;
; Can I move a template to a new name? : Yes, this works in exactly the same way as normal [[Help:Renaming (moving) a page|page moves]]. When a page called for inclusion is a redirect page, the redirect target is included instead.&lt;br /&gt;
; Can I use a template within a template? : You can use a template tag within template content, but not within a template tag: in the latter case the parser will prematurely end the original template tag when it reaches the first pair of curly closing braces....&lt;br /&gt;
;How do I add a new template?: You start a new template in the same way you would start a normal page. The only difference is that its title must start with Template:.&lt;br /&gt;
; Where is the manual for the programming language used to write templates?: The language inside templates is the same language as regular wiki markup, but template writers tend to use the more complex available functions such as #if: statements.  See [[m:help:ParserFunctions|ParserFunctions]] and see the other &amp;quot;advanced functioning&amp;quot; help pages listed below.&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
&lt;br /&gt;
*[[w:en:Template:stub]]: an often used message &lt;br /&gt;
*[[w:en:Template:europe]]: a navigational template&lt;br /&gt;
*[[w:cy:Template:Dosbarthiad_biolegol]]: a template with parameters&lt;br /&gt;
*[[fr:Modèle:Familia]]: cross-language templates&lt;br /&gt;
*[[eo:Ŝablono:El]]: a small, often used image&lt;br /&gt;
*[[b:en:Template:GeneralChemTOC]]: a horizontal menu bar&lt;br /&gt;
{{h:f|enname=A quick guide to templates}}&lt;/div&gt;</summary>
		<author><name>207.46.55.27</name></author>
	</entry>
</feed>