<?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%3AProfessional_wrestling_profiles</id>
	<title>Module:Professional wrestling profiles - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://stockhub.co/index.php?action=history&amp;feed=atom&amp;title=Module%3AProfessional_wrestling_profiles"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Professional_wrestling_profiles&amp;action=history"/>
	<updated>2026-05-24T11:57:12Z</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:Professional_wrestling_profiles&amp;diff=144508&amp;oldid=prev</id>
		<title>imported&gt;Pppery: Bypass redirect</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Professional_wrestling_profiles&amp;diff=144508&amp;oldid=prev"/>
		<updated>2020-10-05T19:00:33Z</updated>

		<summary type="html">&lt;p&gt;Bypass redirect&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;
function getpropertyvalue(ent, prop)&lt;br /&gt;
	local id = nil;&lt;br /&gt;
	if (ent and prop) then value = ent:getBestStatements(prop)[1] else return nil end&lt;br /&gt;
	if value then return value[&amp;quot;mainsnak&amp;quot;][&amp;quot;datavalue&amp;quot;][&amp;quot;value&amp;quot;] end;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function getpropertyvaluewithdefaultvalues(ent, prop, value1, value2)&lt;br /&gt;
	return value1 or value2 or getpropertyvalue(ent, prop);&lt;br /&gt;
end	&lt;br /&gt;
&lt;br /&gt;
function getname(frame, name1, name2)&lt;br /&gt;
	return name1 or name2 or frame:expandTemplate{title = &amp;#039;PAGENAMEBASE&amp;#039;}; &lt;br /&gt;
end	&lt;br /&gt;
&lt;br /&gt;
function getexternallink(frame, linkformat, urlformat, prop, cat)&lt;br /&gt;
		local args = getArgs(frame); &lt;br /&gt;
		local id = args[1] or args[&amp;quot;id&amp;quot;];&lt;br /&gt;
		if (not id and prop) then id = getpropertyvalue(mw.wikibase.getEntityObject(), prop); end;&lt;br /&gt;
		if not id then return cat end	&lt;br /&gt;
	    local name = getname(frame, args[2], args[&amp;quot;name&amp;quot;]);&lt;br /&gt;
	    local url = string.format(urlformat, id);&lt;br /&gt;
	    local code = string.format(linkformat, url, name);&lt;br /&gt;
	    return code;&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
function p.getpropertyvalue(frame)&lt;br /&gt;
local ent = mw.wikibase.getEntityObject();&lt;br /&gt;
local prop = frame.args[1];&lt;br /&gt;
return getpropertyvalue(ent, prop);&lt;br /&gt;
end	&lt;br /&gt;
&lt;br /&gt;
function p.cagematch(frame)&lt;br /&gt;
	return getexternallink(frame, &amp;quot;[%s %s]&amp;#039;s profile at Cagematch.net&amp;quot;, &amp;quot;https://www.cagematch.net/?id=2&amp;amp;nr=%s&amp;quot;, &amp;#039;P2728&amp;#039;, &amp;quot;&amp;quot;);&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p.wrestlingtitlespersonalities(frame)&lt;br /&gt;
	return getexternallink(frame, &amp;quot;[%s %s]&amp;#039;s profile at Wrestling-Titles.com&amp;quot;, &amp;quot;http://www.wrestling-titles.com/personalities/%s/&amp;quot;, nil, &amp;quot;[[Category:Wrestling Titles template with no id set]]&amp;quot;);&lt;br /&gt;
end	&lt;br /&gt;
&lt;br /&gt;
function p.rohroster(frame)&lt;br /&gt;
	return getexternallink(frame, &amp;quot;[%s %s]&amp;#039;s [[Ring of Honor]] profile&amp;quot;, &amp;quot;http://www.rohwrestling.com/wrestlers/%s&amp;quot;, nil, &amp;quot;&amp;quot;);	&lt;br /&gt;
end	&lt;br /&gt;
&lt;br /&gt;
function p.njpw(frame)&lt;br /&gt;
	local args = getArgs(frame);&lt;br /&gt;
	if args[&amp;quot;newlink&amp;quot;] then return getexternallink(frame, &amp;quot;[%s %s]&amp;#039;s [[New Japan Pro-Wrestling]] profile&amp;quot;, &amp;quot;http://www.njpw1972.com/profile/%s&amp;quot;, nil, &amp;quot;&amp;quot;);&lt;br /&gt;
		else return getexternallink(frame, &amp;quot;[%s %s]&amp;#039;s [[New Japan Pro-Wrestling]] profile&amp;quot;, &amp;quot;http://www.njpw.co.jp/english/data/detail_profile.php?f=%s&amp;quot;, nil, &amp;quot;&amp;quot;);	&lt;br /&gt;
		end&lt;br /&gt;
end	&lt;br /&gt;
&lt;br /&gt;
function p.gfw(frame)&lt;br /&gt;
	return getexternallink(frame, &amp;quot;[%s %s]&amp;#039;s [[Global Force Wrestling]] profile&amp;quot;, &amp;quot;http://globalforcewrestling.com/roster/%s/&amp;quot;, nil, &amp;quot;&amp;quot;);	&lt;br /&gt;
end &lt;br /&gt;
&lt;br /&gt;
function p.dragongateusa(frame)&lt;br /&gt;
	return getexternallink(frame, &amp;quot;[%s %s] at the official [[Dragon Gate USA]] website&amp;quot;, &amp;quot;http://dgusa.tv/bio/%s&amp;quot;, nil, &amp;quot;&amp;quot;);&lt;br /&gt;
end	&lt;br /&gt;
&lt;br /&gt;
function p.chikara(frame)&lt;br /&gt;
	return getexternallink(frame, &amp;quot;[%s %s] at the official [[Chikara_(professional_wrestling)|Chikara]] website&amp;quot;, &amp;quot;http://chikarapro.com/chikara-roster/%s&amp;quot;, nil, &amp;quot;&amp;quot;);&lt;br /&gt;
end	&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
function p.profiles(frame)&lt;br /&gt;
	local args = getArgs(frame);&lt;br /&gt;
	local ent = mw.wikibase.getEntityObject();&lt;br /&gt;
	local cagematchid = getpropertyvaluewithdefaultvalues(ent, &amp;#039;P2728&amp;#039;, args[&amp;quot;cagematch&amp;quot;], nil);		&lt;br /&gt;
	local wrestlingdataid = getpropertyvaluewithdefaultvalues(ent, &amp;#039;P2764&amp;#039;, args[&amp;quot;wrestlingdata&amp;quot;], nil);&lt;br /&gt;
	local iwdid = getpropertyvaluewithdefaultvalues(ent, &amp;#039;P2829&amp;#039;, args[&amp;quot;iwd&amp;quot;], nil);&lt;br /&gt;
	if (not cagematchid) and (not wrestlingdataid) and (not iwdid) then return &amp;quot;[[Category:Professional wrestling profiles template without any identifiers]]&amp;quot; end&lt;br /&gt;
	local name = getname(frame, args[&amp;quot;name&amp;quot;], nil);&lt;br /&gt;
	local text = name .. &amp;quot;&amp;#039;s profile at &amp;quot;; &lt;br /&gt;
	if cagematchid then text = text .. &amp;quot;[https://www.cagematch.net/?id=2&amp;amp;nr=&amp;quot; .. cagematchid .. &amp;quot; Cagematch.net], &amp;quot; end&lt;br /&gt;
	if wrestlingdataid then text = text .. &amp;quot;[http://wrestlingdata.com/index.php?befehl=bios&amp;amp;wrestler=&amp;quot; .. wrestlingdataid .. &amp;quot; Wrestlingdata.com], &amp;quot; end&lt;br /&gt;
	if iwdid then text = text .. &amp;quot;[http://www.profightdb.com/wrestlers/&amp;quot; .. iwdid .. &amp;quot;.html Internet Wrestling Database], &amp;quot; end&lt;br /&gt;
	return string.sub(text, 1, -3);&lt;br /&gt;
end	&lt;br /&gt;
&lt;br /&gt;
return p&lt;/div&gt;</summary>
		<author><name>imported&gt;Pppery</name></author>
	</entry>
</feed>