<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://battleint.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AYearly_archive_list%2Fdoc</id>
	<title>Template:Yearly archive list/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://battleint.net/index.php?action=history&amp;feed=atom&amp;title=Template%3AYearly_archive_list%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://battleint.net/index.php?title=Template:Yearly_archive_list/doc&amp;action=history"/>
	<updated>2026-10-23T10:24:36Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.0</generator>
	<entry>
		<id>https://battleint.net/index.php?title=Template:Yearly_archive_list/doc&amp;diff=171696&amp;oldid=prev</id>
		<title>imported&gt;Deadfire: creation</title>
		<link rel="alternate" type="text/html" href="https://battleint.net/index.php?title=Template:Yearly_archive_list/doc&amp;diff=171696&amp;oldid=prev"/>
		<updated>2024-10-24T19:58:46Z</updated>

		<summary type="html">&lt;p&gt;creation&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Categories and interwikis go at the bottom of this page. --&amp;gt;&lt;br /&gt;
This template returns a list of existing [[Help:Archiving a talk page|archive]] sub-pages with names that end in a four-digit year (starting at &amp;#039;&amp;#039;&amp;#039;2006&amp;#039;&amp;#039;&amp;#039;). The list is in short format, i.e. just the four-digit years, separated by commas or {{{para|sep}}}. Each year is linked to the matching archive. All entries are on a single line with no line breaks, in a format suitable to pass to parameter &amp;#039;&amp;#039;&amp;#039;list&amp;#039;&amp;#039;&amp;#039; of [[Template:archives]]. Makes use of [[Template:Yearly archive list/display]], [[Template:For loop]] and [[Module:string]].&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{ Yearly archive list &lt;br /&gt;
| root   = &lt;br /&gt;
| prefix = &lt;br /&gt;
| sep = &lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
{{para|root}}&lt;br /&gt;
:&amp;#039;&amp;#039;Default&amp;#039;&amp;#039; = &amp;lt;code&amp;gt;{{((}}FULLPAGENAME}}/.&amp;lt;/code&amp;gt;&lt;br /&gt;
:Can be used to specify which page is searched. The default is the page where the template is placed. Use &amp;#039;&amp;#039;&amp;#039;prefix&amp;#039;&amp;#039;&amp;#039; for anything that belongs between the trailing slash and the year number.&lt;br /&gt;
{{para|prefix}}&lt;br /&gt;
:&amp;#039;&amp;#039;Default&amp;#039;&amp;#039; = &amp;quot;Archive &amp;quot; (No quotes, but note trailing space.)&lt;br /&gt;
:Specify a base that will be inserted between &amp;#039;&amp;#039;&amp;#039;root&amp;#039;&amp;#039;&amp;#039; and the four-digit year. Use &amp;lt;code&amp;gt;&amp;amp;amp;#32;&amp;lt;/code&amp;gt; to represent a whitespace between the prefix and the year, since leading trailing spaces are stripped from named parameters before being passed. Quotes don&amp;#039;t help.&lt;br /&gt;
{{para|sep}}&lt;br /&gt;
:&amp;#039;&amp;#039;Default&amp;#039;&amp;#039; = &amp;quot;, &amp;quot; (No quotes, but note trailing space.)&lt;br /&gt;
:Specify the separator between each year. Use &amp;lt;code&amp;gt;&amp;amp;amp;#32;&amp;lt;/code&amp;gt; to represent a whitespace between each year/&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
If the archives are named by year only, immediately preceded by a &amp;#039;/&amp;#039; (slash), then the default prefix must be overwritten. For example, if an archive is of the form [[User talk:Deadfire/Archives/2020]] then this:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{ Yearly archive list&lt;br /&gt;
| root   = User talk:Deadfire/Archives&lt;br /&gt;
| prefix = &lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
or if placed directly on [[User talk:Deadfire]] this:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{ Yearly archive list&lt;br /&gt;
| prefix = /Archives/&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
will return {{Yearly archive list&lt;br /&gt;
| root   = User talk:Deadfire/Archives&lt;br /&gt;
| prefix = &lt;br /&gt;
}}.&lt;br /&gt;
&lt;br /&gt;
==Limitations==&lt;br /&gt;
&amp;lt;big&amp;gt;The first year must be &amp;#039;&amp;#039;&amp;#039;2006&amp;#039;&amp;#039;&amp;#039;, the final year can not be more than one year in the future. These limitations are to limit the number of expensive parser function calls.&amp;lt;/big&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
*[[Template:Yearly archive list/display]] called by this template&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- Categories and interwikis go here: --&amp;gt;&lt;br /&gt;
[[Category:Archival templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>imported&gt;Deadfire</name></author>
	</entry>
</feed>