<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.tf2sourcemods.info/index.php?action=history&amp;feed=atom&amp;title=Module%3AFormatExternalLinks</id>
	<title>Module:FormatExternalLinks - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.tf2sourcemods.info/index.php?action=history&amp;feed=atom&amp;title=Module%3AFormatExternalLinks"/>
	<link rel="alternate" type="text/html" href="https://wiki.tf2sourcemods.info/index.php?title=Module:FormatExternalLinks&amp;action=history"/>
	<updated>2026-04-25T02:07:00Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.tf2sourcemods.info/index.php?title=Module:FormatExternalLinks&amp;diff=187&amp;oldid=prev</id>
		<title>MIXERRULES: External link module</title>
		<link rel="alternate" type="text/html" href="https://wiki.tf2sourcemods.info/index.php?title=Module:FormatExternalLinks&amp;diff=187&amp;oldid=prev"/>
		<updated>2024-12-15T22:58:26Z</updated>

		<summary type="html">&lt;p&gt;External link module&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local FormatExternalLinks = {}&lt;br /&gt;
&lt;br /&gt;
function FormatExternalLinks.Format(frame)&lt;br /&gt;
    local Input = frame.args[1] or &amp;quot;&amp;quot;&lt;br /&gt;
    local Parts = {}&lt;br /&gt;
    for Word in string.gmatch(Input, &amp;#039;([^,]+)&amp;#039;) do&lt;br /&gt;
        table.insert(Parts, Word)&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    local Result = {}&lt;br /&gt;
    for i, Part in ipairs(Parts) do&lt;br /&gt;
        local DisplayLink, DisplayTitle = string.match(Part, &amp;quot;([^%s]+)%s+(.*)&amp;quot;)&lt;br /&gt;
        &lt;br /&gt;
        if DisplayLink and DisplayTitle then&lt;br /&gt;
            table.insert(Result, string.format(&amp;quot;[[%s %s]]&amp;quot;, DisplayLink, DisplayTitle))&lt;br /&gt;
        end&lt;br /&gt;
    end&lt;br /&gt;
    &lt;br /&gt;
    return table.concat(Result, &amp;quot;&amp;lt;br&amp;gt;&amp;quot;)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return FormatExternalLinks&lt;/div&gt;</summary>
		<author><name>MIXERRULES</name></author>
	</entry>
</feed>