<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3AInterPro_content</id>
	<title>Module:InterPro content - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3AInterPro_content"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:InterPro_content&amp;action=history"/>
	<updated>2026-06-07T08:38:29Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://stockhub.co/index.php?title=Module:InterPro_content&amp;diff=137019&amp;oldid=prev</id>
		<title>imported&gt;JJMC89: Changed protection level for &quot;Module:InterPro content&quot;: Highly visible module: match template ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:InterPro_content&amp;diff=137019&amp;oldid=prev"/>
		<updated>2019-02-25T04:11:51Z</updated>

		<summary type="html">&lt;p&gt;Changed protection level for &amp;quot;&lt;a href=&quot;/research/Module:InterPro_content&quot; title=&quot;Module:InterPro content&quot;&gt;Module:InterPro content&lt;/a&gt;&amp;quot;: &lt;a href=&quot;/index.php?title=WP:High-risk_templates&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;WP:High-risk templates (page does not exist)&quot;&gt;Highly visible module&lt;/a&gt;: match template ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite))&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local getArgs = require(&amp;#039;Module:Arguments&amp;#039;).getArgs&lt;br /&gt;
&lt;br /&gt;
local beginText = &amp;#039;This article incorporates text from the public domain [[Pfam]] and [[InterPro]]: &amp;#039;&lt;br /&gt;
local baseUrl = &amp;#039;https://www.ebi.ac.uk/interpro/entry/&amp;#039;&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
&lt;br /&gt;
local function interproLink(arg)&lt;br /&gt;
	-- text before first space, if any; otherwise, whole arg&lt;br /&gt;
	local accessionNumber = arg:match(&amp;#039;^([^ ]*) &amp;#039;) or arg&lt;br /&gt;
&lt;br /&gt;
	-- text after first space, if any; otherwise, accessionNumber&lt;br /&gt;
	local linkText = arg:match(&amp;#039; (.*)&amp;#039;) or accessionNumber&lt;br /&gt;
	&lt;br /&gt;
	return &amp;#039;[&amp;#039; .. baseUrl .. accessionNumber .. &amp;#039; &amp;#039; .. linkText .. &amp;#039;]&amp;#039;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local function renderList(args)&lt;br /&gt;
	local listRoot = mw.html.create(&amp;#039;ul&amp;#039;)&lt;br /&gt;
		:addClass(&amp;#039;hlist hlist-separated&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;display&amp;#039;, &amp;#039;inline&amp;#039;)&lt;br /&gt;
		:css(&amp;#039;margin&amp;#039;, 0)&lt;br /&gt;
&lt;br /&gt;
    for _, a in ipairs(args) do&lt;br /&gt;
		listRoot&lt;br /&gt;
			:tag(&amp;#039;li&amp;#039;)&lt;br /&gt;
				:wikitext(interproLink(a))&lt;br /&gt;
    end&lt;br /&gt;
&lt;br /&gt;
	return tostring(listRoot)&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.main(frame)&lt;br /&gt;
	local args = getArgs(frame)&lt;br /&gt;
&lt;br /&gt;
	if not args[1] then&lt;br /&gt;
		return &amp;#039;&amp;lt;div class=&amp;quot;error&amp;quot;&amp;gt;[[Module:InterPro content]]: required argument 1 is missing&amp;lt;/div&amp;gt;&amp;#039;&lt;br /&gt;
    elseif not args[2] then&lt;br /&gt;
		return &amp;#039;&amp;lt;div role=&amp;quot;note&amp;quot; style=&amp;quot;font-style: italic;&amp;quot;&amp;gt;&amp;#039; .. beginText .. interproLink(args[1]) .. &amp;#039;&amp;lt;/div&amp;gt;&amp;#039;&lt;br /&gt;
	else&lt;br /&gt;
		return &amp;#039;&amp;lt;div role=&amp;quot;note&amp;quot; style=&amp;quot;font-style: italic;&amp;quot;&amp;gt;&amp;#039; .. beginText .. renderList(args) .. &amp;#039;&amp;lt;/div&amp;gt;&amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;JJMC89</name></author>
	</entry>
</feed>