<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://hrwikitwice.com/index.php?action=history&amp;feed=atom&amp;title=Help_Template</id>
	<title>Help Template - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://hrwikitwice.com/index.php?action=history&amp;feed=atom&amp;title=Help_Template"/>
	<link rel="alternate" type="text/html" href="https://hrwikitwice.com/index.php?title=Help_Template&amp;action=history"/>
	<updated>2026-07-15T18:58:28Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.0</generator>
	<entry>
		<id>https://hrwikitwice.com/index.php?title=Help_Template&amp;diff=9875&amp;oldid=prev</id>
		<title>imported&gt;HRWikiMirrorBot: Reimported from hrwiki.org Wayback HTML→wikitext (full reconvert)</title>
		<link rel="alternate" type="text/html" href="https://hrwikitwice.com/index.php?title=Help_Template&amp;diff=9875&amp;oldid=prev"/>
		<updated>2026-07-14T14:24:44Z</updated>

		<summary type="html">&lt;p&gt;Reimported from hrwiki.org Wayback HTML→wikitext (full reconvert)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;!-- Mirrored from Homestar Runner Wiki (hrwiki.org) via Wayback Machine --&amp;gt;&lt;br /&gt;
Wiki users can &amp;#039;&amp;#039;&amp;#039;create and use templates&amp;#039;&amp;#039;&amp;#039;. A template is a bit of code which any user can insert into any page of the wiki, to create a larger displayed piece of text which can be specialized for that inclusion. The template is created with both static text and variables such as &amp;quot;inputs&amp;quot; and &amp;quot;values&amp;quot;. Here&amp;#039;s the basics on how to create and use templates.&lt;br /&gt;
&lt;br /&gt;
== Creating a template ==&lt;br /&gt;
&lt;br /&gt;
[[HRWiki:Template messages|The template messages page]] contains a partial list of existing templates. Please check that page to be sure your idea for a template has not been done yet.&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
&lt;br /&gt;
First, consider what the template would be used for. What would its purpose be? Some common uses are:&lt;br /&gt;
&lt;br /&gt;
* A  template&lt;br /&gt;
* A  template&lt;br /&gt;
&lt;br /&gt;
=== Syntax ===&lt;br /&gt;
&lt;br /&gt;
Make sure you know the MediaWiki syntax for a template:&lt;br /&gt;
&lt;br /&gt;
* For an input, type &amp;#039;&amp;#039;&amp;#039;{{{1}}}&amp;#039;&amp;#039;&amp;#039; for the first input, &amp;#039;&amp;#039;&amp;#039;{{{2}}}&amp;#039;&amp;#039;&amp;#039; for the second, and so on. The user of the template will need to know which order the items should be listed when using the template.&lt;br /&gt;
** In a more complicated template, where one might not easily remember the order of which input is which, this can be substituted with &amp;#039;&amp;#039;&amp;#039;{{{value}}}&amp;#039;&amp;#039;&amp;#039; or another more meaningful name, like &amp;#039;&amp;#039;&amp;#039;{{{name}}}&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;{{{old page}}}&amp;#039;&amp;#039;&amp;#039;. These can be used in any order, unlike numeric values.&lt;br /&gt;
* For current page information, type &amp;#039;&amp;#039;&amp;#039;{{NAMESPACE}}&amp;#039;&amp;#039;&amp;#039; for the page’s namespace, and &amp;#039;&amp;#039;&amp;#039;{{PAGENAME}}&amp;#039;&amp;#039;&amp;#039; for the page’s name. If you want both, type &amp;#039;&amp;#039;&amp;#039;{{FULLPAGENAME}}&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
** These will be inserted and changed as the location of the template changes.&lt;br /&gt;
&lt;br /&gt;
=== Including text in a template ===&lt;br /&gt;
&lt;br /&gt;
To include text in the template that you don&amp;#039;t want to show up in pages that use it, such as:&lt;br /&gt;
&lt;br /&gt;
* Instructions on how to use the template&lt;br /&gt;
* A category to organize the template&lt;br /&gt;
&lt;br /&gt;
Place the text in a set of &amp;#039;&amp;#039;&amp;#039;&amp;lt;noinclude&amp;gt;&amp;#039;&amp;#039;&amp;#039; tags at the bottom of the template page.&lt;br /&gt;
&lt;br /&gt;
=== Text that will only be included in the target page ===&lt;br /&gt;
&lt;br /&gt;
To include text in the pages that use the template, but not the template page itself, such as:&lt;br /&gt;
&lt;br /&gt;
* A category relevant to the page in question, but not the template itself.&lt;br /&gt;
* Special Formatting text meant only for the page in question.&lt;br /&gt;
&lt;br /&gt;
Place the text in a set of &amp;#039;&amp;#039;&amp;#039;&amp;lt;includeonly&amp;gt;&amp;#039;&amp;#039;&amp;#039; tags around the text in question.&lt;br /&gt;
&lt;br /&gt;
== Using a template ==&lt;br /&gt;
&lt;br /&gt;
Make sure you know how to use the template once it’s been created:&lt;br /&gt;
&lt;br /&gt;
* If the template is in a &amp;#039;&amp;#039;&amp;#039;Template:&amp;#039;&amp;#039;&amp;#039; namespace, simply type &amp;#039;&amp;#039;&amp;#039;{{templatename}}&amp;#039;&amp;#039;&amp;#039; to use it.&lt;br /&gt;
* If the template is in any other namespace, simply type &amp;#039;&amp;#039;&amp;#039;{{Namespace:templatename}}&amp;#039;&amp;#039;&amp;#039; to use it.&lt;br /&gt;
&lt;br /&gt;
To add custom inputs to the rendering of the template, follow these simple instructions.&lt;br /&gt;
&lt;br /&gt;
* For an input &amp;#039;&amp;#039;&amp;#039;{{{1}}}&amp;#039;&amp;#039;&amp;#039; or &amp;#039;&amp;#039;&amp;#039;{{{2}}}&amp;#039;&amp;#039;&amp;#039; etc., type &amp;#039;&amp;#039;&amp;#039;{{templatename|input_1|input_2|etc...}}&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
* For an input &amp;#039;&amp;#039;&amp;#039;{{{value}}}&amp;#039;&amp;#039;&amp;#039;, type &amp;#039;&amp;#039;&amp;#039;{{templatename|value = input_for_value}}&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
=== Substituting text for template ===&lt;br /&gt;
&lt;br /&gt;
For some templates, it is a better idea to take load off the server and use &amp;#039;&amp;#039;&amp;#039;subst:&amp;#039;&amp;#039;&amp;#039; before the template name. This substitutes the dynamic code on the page with static text. For example, just typing &amp;#039;&amp;#039;&amp;#039;{{tick}}&amp;#039;&amp;#039;&amp;#039; will result in &amp;#039;&amp;#039;&amp;#039;{{tick}}&amp;#039;&amp;#039;&amp;#039; being added to the code, while typing &amp;#039;&amp;#039;&amp;#039;{{subst:tick}}&amp;#039;&amp;#039;&amp;#039; will result in, say, &amp;#039;&amp;#039;&amp;#039;[[Image:wiki tick.GIF]]&amp;#039;&amp;#039;&amp;#039; (or whatever the template&amp;#039;s results are) being added to the code. Both will appear the same to the reader, but the latter one does not call up the template every time.&lt;br /&gt;
&lt;br /&gt;
== Example ==&lt;br /&gt;
&lt;br /&gt;
Here is a simple example, creating a signature for any user typing &amp;#039;&amp;#039;&amp;#039;{{Sig|User}}&amp;#039;&amp;#039;&amp;#039;. (Note: This already exists as [[Template:user]]. There&amp;#039;s no need to recreate this template again, this is just an example.)&lt;br /&gt;
&lt;br /&gt;
First, let&amp;#039;s say we want to have the result take the form &amp;quot;User (talk · edits)&amp;quot; where we link each word to the user&amp;#039;s userpage, his talk page, and his contributions listing respectively.&lt;br /&gt;
&lt;br /&gt;
As the user is putting their user name in as input 1, we can create a link to their userpage this way:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;[[User:{{{1}}}|{{{1}}}]]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Similarly, a link to their talk page can be done like this:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;[[User talk:{{{1}}}|talk]]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The way to do a link to the user&amp;#039;s contributions is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;[[Special:Contributions/{{{1}}}|edits]]&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
So if the template contains the code:&lt;br /&gt;
&lt;br /&gt;
[[User:{{{1}}}|{{{1}}}]] ([[User talk:{{{1}}}|talk]] · [[Special:Contributions/{{{1}}}|edits]])&lt;br /&gt;
&lt;br /&gt;
then typing {{Sig|user}} inserts this code:&lt;br /&gt;
&lt;br /&gt;
[[User:User|User]] ([[User talk:User|talk]] · [[Special:Contributions/User|edits]])&lt;br /&gt;
&lt;br /&gt;
which shows on the page as:&lt;br /&gt;
&lt;br /&gt;
[[User:User|User]] ([[User talk:User|talk]] · [/wiki/Special:Contributions/User edits])&lt;br /&gt;
&lt;br /&gt;
== Shortcuts ==&lt;br /&gt;
&lt;br /&gt;
Many commonly-used templates have shortcut versions which you can use. Here is a partial list.&lt;br /&gt;
&lt;br /&gt;
* {{[[Template:delete|delete]]}} - {{[[Template:d|d]]}}&lt;br /&gt;
* {{[[Template:tobediscussed|tobediscussed]]}} - {{[[Template:tbd|tbd]]}}, {{[[Template:tobedeleted|tobedeleted]]}}, {{[[Template:talktobedeleted|talktobedeleted]]}}, {{[[Template:ttbd|ttbd]]}}, {{[[Template:merge|merge]]}}, {{[[Template:m|m]]}}, {{[[Template:move|move]]}}, {{[[Template:redirect|redirect]]}}, {{[[Template:r|r]]}} (these were formerly separate functions that have since been combined)&lt;br /&gt;
* {{[[Template:plainlinks|plainlinks]]}} - {{[[Template:p|p]]}} or {{[[Template:pl|pl]]}}&lt;br /&gt;
* {{[[Template:tl|tl]]}} - {{[[Template:t|t]]}} (for links to template pages)&lt;br /&gt;
&lt;br /&gt;
== See Also ==&lt;br /&gt;
&lt;br /&gt;
*  - A categorized listing of all templates available for use in this wiki.&lt;br /&gt;
&lt;br /&gt;
[[Category:Navigation Templates]]&lt;br /&gt;
[[Category:Notice Templates]]&lt;br /&gt;
[[Category:HRWiki Templates]]&lt;br /&gt;
[[Category:Help]]&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>imported&gt;HRWikiMirrorBot</name></author>
	</entry>
</feed>