<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lore.gnoblin.cc/history/Template:FormatAlias?feed=atom</id>
	<title>Template:FormatAlias - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lore.gnoblin.cc/history/Template:FormatAlias?feed=atom"/>
	<link rel="alternate" type="text/html" href="https://lore.gnoblin.cc/history/Template:FormatAlias"/>
	<updated>2026-05-09T12:21:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://lore.gnoblin.cc/index.php?title=Template:FormatAlias&amp;diff=842&amp;oldid=prev</id>
		<title>Elias: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://lore.gnoblin.cc/index.php?title=Template:FormatAlias&amp;diff=842&amp;oldid=prev"/>
		<updated>2024-08-07T08:14:17Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&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 08:14, 7 August 2024&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>Elias</name></author>
	</entry>
	<entry>
		<id>https://lore.gnoblin.cc/index.php?title=Template:FormatAlias&amp;diff=841&amp;oldid=prev</id>
		<title>fr&gt;Moviesign: Documentation update</title>
		<link rel="alternate" type="text/html" href="https://lore.gnoblin.cc/index.php?title=Template:FormatAlias&amp;diff=841&amp;oldid=prev"/>
		<updated>2021-04-05T20:24:05Z</updated>

		<summary type="html">&lt;p&gt;Documentation update&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#if:{{#pos:{{{1|}}}|/}}|{{#rreplace:{{{1}}}|([\w\.[:blank:]\[\]]+)\/([\w\.[:blank:]\[\]]+)|$1 (as $2)}}|{{{1|}}}}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;This template takes a comma-separated string of names and looks for aliases that are set off by a forward slash (&amp;lt;code&amp;gt;&amp;quot;/&amp;quot;&amp;lt;/code&amp;gt;), such as &amp;lt;code&amp;gt;Dale Henson/slade&amp;lt;/code&amp;gt;. If found, the names are formatted like so: &amp;lt;code&amp;gt;Dale Henson (as slade)&amp;lt;/code&amp;gt;. Either name (or both) may be wikilinked. If no slash is found, the argument is returned unaltered.&lt;br /&gt;
&lt;br /&gt;
The regular expression &amp;lt;code&amp;gt;([\w\.[:blank:]\[\]]+)\/([\w\.[:blank:]\[\]]+)&amp;lt;/code&amp;gt; is essentially two identical capture groups separated by a forward slash. The symbols used are as follows:&lt;br /&gt;
* &amp;lt;code&amp;gt;(&amp;amp;hellip;)&amp;lt;/code&amp;gt; - defines a capture group inside the parentheses.&lt;br /&gt;
* &amp;lt;code&amp;gt;\w&amp;lt;/code&amp;gt; - matches any word character, A through Z, 0 through 9, and the underscore, case insensitive.&lt;br /&gt;
* &amp;lt;code&amp;gt;\.&amp;lt;/code&amp;gt; - matches the period punctuation symbol.&lt;br /&gt;
* &amp;lt;code&amp;gt;[:blank:]&amp;lt;/code&amp;gt; - matches the space or the tab character.&lt;br /&gt;
* &amp;lt;code&amp;gt;\[&amp;lt;/code&amp;gt; - matches the left square bracket.&lt;br /&gt;
* &amp;lt;code&amp;gt;\]&amp;lt;/code&amp;gt; - matches the right square bracket.&lt;br /&gt;
* &amp;lt;code&amp;gt;[&amp;amp;hellip;]+&amp;lt;/code&amp;gt; - matches one or more of any characters in the bracketed list.&lt;br /&gt;
The regex find/replace is performed by the [https://www.mediawiki.org/wiki/Extension:RegexFunctions regex parser function]:&lt;br /&gt;
&amp;lt;pre&amp;gt;{{#rreplace:{{{1}}}|([\w\.[:blank:]\[\]]+)\/([\w\.[:blank:]\[\]]+)|$1 (as $2)}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
Where&lt;br /&gt;
* &amp;lt;code&amp;gt;$1&amp;lt;/code&amp;gt; - gets replaced with the first capture group.&lt;br /&gt;
* &amp;lt;code&amp;gt;$2&amp;lt;/code&amp;gt; - gets replaced with the second capture group.&lt;br /&gt;
[[Category:Inline templates]]&lt;br /&gt;
[[Category:Utility templates]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>fr&gt;Moviesign</name></author>
	</entry>
</feed>