<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3APage-multi%2Fdoc</id>
	<title>Template:Page-multi/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://pool.calebcooper.ie/index.php?action=history&amp;feed=atom&amp;title=Template%3APage-multi%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Page-multi/doc&amp;action=history"/>
	<updated>2026-04-10T11:43:07Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://pool.calebcooper.ie/index.php?title=Template:Page-multi/doc&amp;diff=13363&amp;oldid=prev</id>
		<title>Caleb Cooper: Text replacement - &quot;[[Template talk&quot; to &quot;[[Wikipedia:Template talk&quot;</title>
		<link rel="alternate" type="text/html" href="https://pool.calebcooper.ie/index.php?title=Template:Page-multi/doc&amp;diff=13363&amp;oldid=prev"/>
		<updated>2020-10-21T15:50:56Z</updated>

		<summary type="html">&lt;p&gt;Text replacement - &amp;quot;[[Template talk&amp;quot; to &amp;quot;[[Wikipedia:Template talk&amp;quot;&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;!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
{{lua|Module:PageLinks}}&lt;br /&gt;
{{Commons Import}}&lt;br /&gt;
&lt;br /&gt;
This is a very flexible page link template, which allows you to specify which links are shown beside the pagename. It can be used as a meta-template to support other page link templates, or it can be used alone.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
;Standalone usage&lt;br /&gt;
{{pre|1=&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;page-multi&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;code 1&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;code 2&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;code 3&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;...&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;page=&amp;#039;&amp;#039;pagename&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;1&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;2&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;3&amp;#039;&amp;#039;&amp;#039;, ... &amp;#039;&amp;#039;&amp;#039;n&amp;#039;&amp;#039;&amp;#039;: these parameters specify what links to display in the template. See the [[#Codes|code table]] below for valid input codes.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;page&amp;#039;&amp;#039;&amp;#039;: the pagename. An error is returned if this is omitted.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;separator&amp;#039;&amp;#039;&amp;#039;: the separator to use in between links. Valid values are &amp;lt;code&amp;gt;dot&amp;lt;/code&amp;gt;({{int:dot-separator}}), &amp;lt;code&amp;gt;comma&amp;lt;/code&amp;gt;({{int:comma-separator}}), &amp;lt;code&amp;gt;pipe&amp;lt;/code&amp;gt;({{int:pipe-separator}}), and &amp;lt;code&amp;gt;tpt-languages&amp;lt;/code&amp;gt;({{int:tpt-languages-separator}}). If not specified, then &amp;lt;code&amp;gt;dot&amp;lt;/code&amp;gt; is the default.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;small&amp;#039;&amp;#039;&amp;#039;: if this parameter exists, fonts will be displayed at 90% of the normal size.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;sup&amp;#039;&amp;#039;&amp;#039;: if this parameter exists, links will be displayed in superscript.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;doc&amp;#039;&amp;#039;&amp;#039;: this parameter is only available on template pages, using the [[Template:Page-multi/template|/template]] sub-template. If set to &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt;, it will automatically generate documentation for that template.&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;date&amp;#039;&amp;#039;&amp;#039;: if specified, the page view statistics will display for the 30 days prior to the given date (otherwise it&amp;#039;s 60 days prior to the current date). The date string should either start with the format YYYY-MM-DD or YYYYMMDD (you can use &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{subst:CURRENTTIMESTAMP}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; to insert the current date).&lt;br /&gt;
*&amp;#039;&amp;#039;&amp;#039;demo&amp;#039;&amp;#039;&amp;#039;: if this parameter is set to &amp;lt;code&amp;gt;yes&amp;lt;/code&amp;gt;, the template will not output any categories.&lt;br /&gt;
&lt;br /&gt;
== Codes ==&lt;br /&gt;
Here is a list of currently supported link codes:&lt;br /&gt;
{{#invoke:PageLinks|linktable|page=example}}&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Code !! Output&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{page-multi|page=Example|t|wlh}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; || {{page-multi|demo=yes|page=Example|t|wlh}}&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{page-multi|page=Example|wlh|vlm-sgs}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; || {{page-multi|demo=yes|page=Example|wlh|vlm-sgs}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Errors ==&lt;br /&gt;
In certain circumstances, the template will generate errors. This is a list of all the error messages that the template might generate, and how users can resolve them.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
Not copied&lt;br /&gt;
=== Not a valid language code ===&lt;br /&gt;
*&amp;lt;span class=&amp;quot;error&amp;quot;&amp;gt;[[Template:Page-multi|Page-multi]] error: &amp;quot;xyz&amp;quot; is not a valid language code.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This error is generated if an invalid language code is specified. The language code must be a [[ISO 639-1]] code; for example, English is &amp;lt;code&amp;gt;en&amp;lt;/code&amp;gt; and German is &amp;lt;code&amp;gt;de&amp;lt;/code&amp;gt;. For a complete list of valid language codes, see the [[:m:List of Wikipedias|List of Wikipedias]].&lt;br /&gt;
&lt;br /&gt;
=== Not a valid interwiki prefix ===&lt;br /&gt;
*&amp;lt;span class=&amp;quot;error&amp;quot;&amp;gt;[[Template:Page-multi|Page-multi]] error: &amp;quot;xyz&amp;quot; is not a valid interwiki prefix.&amp;lt;/span&amp;gt;&lt;br /&gt;
*&amp;lt;span class=&amp;quot;error&amp;quot;&amp;gt;[[Template:Page-multi|Page-multi]] error: &amp;quot;ab:cd&amp;quot; is not a valid interwiki prefix.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This error is produced if the template is not able to process the project parameter. The project parameter must either be a valid interwiki prefix, or a valid language code, or in the format &amp;quot;xx:yy&amp;quot; where xx and yy are either valid interwiki prefixes or valid language codes. See [[Help:Interwiki linking]] for a list of valid interwiki prefixes, and the [[#Not a valid language code|section on language code errors]] directly above for more details on valid language codes.&lt;br /&gt;
&lt;br /&gt;
If you are sure that the interwiki prefix is valid, but you still get this error, it might be a bug in the software. This template uses [[Module:InterwikiTable]] for interwiki prefix data, so you can check to see if your site and your prefix exist in the table and fix it if they don&amp;#039;t. If that fails to resolve the problem, please start a new thread at [[Wikipedia:Template talk:Page-multi]].&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
=== Not a valid link code ===&lt;br /&gt;
*&amp;lt;span class=&amp;quot;error&amp;quot;&amp;gt;[[Template:Page-multi|Page-multi]] error: &amp;quot;xyz&amp;quot; is not a valid link code.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This error is generated if an invalid link code is specified. For a list of valid link codes, see the [[#Codes|code list]] above.&lt;br /&gt;
&lt;br /&gt;
=== No link type specified ===&lt;br /&gt;
*&amp;lt;span class=&amp;quot;error&amp;quot;&amp;gt;[[Template:Page-multi|Page-multi]] error: no link type specified.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This error is only generated when using [[Module:PageLinks]] directly to create a single link. The link code must be in the first positional parameter, like this: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{#invoke:PageLinks|single|&amp;lt;!-- link code --&amp;gt;|&amp;lt;!-- other parameters --&amp;gt;}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
=== Function did not return a string value ===&lt;br /&gt;
*&amp;lt;span class=&amp;quot;error&amp;quot;&amp;gt;[[Template:Page-multi|Page-multi]] error: the function for code &amp;quot;xyz&amp;quot; did not return a string value.&amp;lt;/span&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This is an error in the software generating the links, and requires attention from the developers. Please start a new thread at [[Wikipedia:Template talk:Page-multi]].&lt;br /&gt;
&lt;br /&gt;
== Tracking categories ==&lt;br /&gt;
The template uses the following tracking categories:&lt;br /&gt;
&lt;br /&gt;
;Error category&lt;br /&gt;
*[[:Category:PageLinks transclusions with errors]] - this is used to track all the errors listed above&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!--&lt;br /&gt;
This functionality was not copied&lt;br /&gt;
;Other tracking categories&lt;br /&gt;
*[[:Category:PageLinks transclusions with unresolvable interwiki links]]&lt;br /&gt;
*[[:Category:PageLinks transclusions with language parameters]]&lt;br /&gt;
*[[:Category:PageLinks transclusions with project parameters]]&lt;br /&gt;
*[[:Category:PageLinks transclusions with project parameters containing language codes]]&lt;br /&gt;
--&amp;gt;&lt;br /&gt;
== Adding new links ==&lt;br /&gt;
To add a new link, you need to edit the [[Wikipedia:WP:Lua|Lua]] module that this template is based on, [[Module:PageLinks]]. Instructions are in the source code, if you feel capable programming in Lua. If you&amp;#039;re not familiar with Lua, feel free to make a request on [[Wikipedia:Template talk:Page-multi]], and someone might add the link for you.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tl|User-multi}}&lt;br /&gt;
* {{Lm|UserLinks}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- CATEGORIES AND INTERWIKIS HERE, THANKS --&amp;gt;&lt;br /&gt;
[[Category:Internal link templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Caleb Cooper</name></author>
	</entry>
</feed>