<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://gw1wiki.ezgame.cc/index.php?action=history&amp;feed=atom&amp;title=Help%3ATemplates</id>
	<title>Help:Templates - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://gw1wiki.ezgame.cc/index.php?action=history&amp;feed=atom&amp;title=Help%3ATemplates"/>
	<link rel="alternate" type="text/html" href="https://gw1wiki.ezgame.cc/index.php?title=Help:Templates&amp;action=history"/>
	<updated>2026-10-17T22:03:55Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://gw1wiki.ezgame.cc/index.php?title=Help:Templates&amp;diff=7868&amp;oldid=prev</id>
		<title>gww&gt;42: typo</title>
		<link rel="alternate" type="text/html" href="https://gw1wiki.ezgame.cc/index.php?title=Help:Templates&amp;diff=7868&amp;oldid=prev"/>
		<updated>2009-11-16T00:49:35Z</updated>

		<summary type="html">&lt;p&gt;typo&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Help navbar header}}&lt;br /&gt;
{| cellspacing=&amp;quot;7&amp;quot; style=&amp;quot;width: 100%; background: #EFFBF5; border: 1px solid silver;&amp;quot;&lt;br /&gt;
| colspan=&amp;quot;2&amp;quot; style=&amp;quot;background: #A1C2CF; border: 1px solid silver; padding: 0.2em 0.4em; font-size: 120%; font-weight: bold;&amp;quot; | What is a template?&lt;br /&gt;
|- style=&amp;quot;vertical-align: top;&amp;quot;&lt;br /&gt;
|&lt;br /&gt;
|&lt;br /&gt;
A template is a page that is meant to automate parts of other pages, for example navigation bars or infoboxes. Including a template is formally called [[w:Transclusion|transclusion]]. The wiki code of the template is not inserted and saved in the page, just a call to the template. Thus, changes to a template will automatically reflect on pages that include that template. Templates help present information in a standard manner across multiple pages. The navigation box at the top of this page is an example of a template.&lt;br /&gt;
&lt;br /&gt;
Templates can be found at [[:Category:Templates]].&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;7&amp;quot; style=&amp;quot;width: 100%; background: #EFFBF5; border: 1px solid silver; margin-top: 10px;&amp;quot;&lt;br /&gt;
| style=&amp;quot;background: #A1C2CF; border: 1px solid silver; padding: 0.2em 0.4em;&amp;quot; | &amp;lt;h4 style=&amp;quot;margin: 0px; padding: 0px;&amp;quot;&amp;gt;How to use templates&amp;lt;/h4&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
The minimum syntax required to add a template to a page is:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Template name}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
Except for the first letter of the template name, the syntax is case-sensitive.&lt;br /&gt;
&lt;br /&gt;
'''Parameters'''&lt;br /&gt;
&lt;br /&gt;
Some templates may require parameters for them to display properly, or to alter the appeareance and functionality for different usages. Parameters act as a placeholder where a specified value can be substituted. Parameters can either be named or numbered starting at 1. For templates that have named parameters, the syntax is:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Template name|parameter1=value1|parameter2=value2}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
For templates that have numbered parameters, the parameter name is not necessary.&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Template name|value1|value2}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Templates can be written in multiple lines for readability.&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Template name&lt;br /&gt;
| parameter1 = value1&lt;br /&gt;
| paremeter2 = value2&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Substitution'''&lt;br /&gt;
&lt;br /&gt;
Templates can be substituted into a page. This is different from transclusion in that the actual wiki code of the template is inserted into the page and saved. Changes to the template will not reflect in pages that have the template substituted. The syntax to substitute a template is:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{subst:Template name}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{| cellspacing=&amp;quot;7&amp;quot; style=&amp;quot;width: 100%; background: #EFFBF5; border: 1px solid silver; margin-top: 10px;&amp;quot;&lt;br /&gt;
| style=&amp;quot;background: #A1C2CF; border: 1px solid silver; padding: 0.2em 0.4em;&amp;quot; |&lt;br /&gt;
&lt;br /&gt;
&amp;lt;h4 style=&amp;quot;margin: 0px; padding: 0px;&amp;quot;&amp;gt;How to create templates&amp;lt;/h4&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
Templates are created like any other page. Generally, a template is created in the Template namespace. Other namespaces can be used, but the namespace must be included in the template call.&lt;br /&gt;
&amp;lt;pre&amp;gt;{{Namespace:Template name}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Parameters'''&lt;br /&gt;
&lt;br /&gt;
The syntax to add a parameter is:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{{parameter}}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
A parameter can have a default value that will be used when no value is specified.&lt;br /&gt;
&amp;lt;pre&amp;gt;{{{parameter|default value}}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''&amp;amp;lt;noinclude&amp;amp;gt;'''&lt;br /&gt;
&lt;br /&gt;
A template may include information that should not be transcluded such as documentation. The parts of the template that is not meant to be included can be wrapped with a &amp;amp;lt;noinclude&amp;amp;gt; tag. It is preferable to not have any whitespace between the end of the wiki code and the &amp;amp;lt;noinclude&amp;amp;gt; tag.&lt;br /&gt;
&amp;lt;pre&amp;gt;Template wiki code&amp;lt;noinclude&amp;gt;Text that will not be included&amp;lt;/noinclude&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For formatting guidelines on templates, see [[Guild Wars Wiki:Formatting/Templates]].&lt;br /&gt;
|}&lt;/div&gt;</summary>
		<author><name>gww&gt;42</name></author>
	</entry>
</feed>