<?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%2Fsandbox</id>
	<title>Module:Professional wrestling profiles/sandbox - 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%2Fsandbox"/>
	<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Professional_wrestling_profiles/sandbox&amp;action=history"/>
	<updated>2026-05-24T15:46:18Z</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/sandbox&amp;diff=144510&amp;oldid=prev</id>
		<title>imported&gt;Pppery: Pppery moved page Module:Professional wrestling/sandbox to Module:Professional wrestling profiles/sandbox without leaving a redirect</title>
		<link rel="alternate" type="text/html" href="https://stockhub.co/index.php?title=Module:Professional_wrestling_profiles/sandbox&amp;diff=144510&amp;oldid=prev"/>
		<updated>2020-10-05T17:43:30Z</updated>

		<summary type="html">&lt;p&gt;Pppery moved page &lt;a href=&quot;/index.php?title=Module:Professional_wrestling/sandbox&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Module:Professional wrestling/sandbox (page does not exist)&quot;&gt;Module:Professional wrestling/sandbox&lt;/a&gt; to &lt;a href=&quot;/research/Module:Professional_wrestling_profiles/sandbox&quot; title=&quot;Module:Professional wrestling profiles/sandbox&quot;&gt;Module:Professional wrestling profiles/sandbox&lt;/a&gt; without leaving a redirect&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;local data = {&lt;br /&gt;
	{&amp;quot;cagematch&amp;quot;, &amp;quot;http://www.cagematch.net/?id=2&amp;amp;nr=$1&amp;quot;, &amp;quot;Cagematch.net&amp;quot;, &amp;quot;P2728&amp;quot;},&lt;br /&gt;
	{&amp;quot;wrestlingdata&amp;quot;, &amp;quot;http://wrestlingdata.com/index.php?befehl=bios&amp;amp;wrestler=$1&amp;quot;, &amp;quot;Wrestlingdata.com&amp;quot;, &amp;quot;P2764&amp;quot;},&lt;br /&gt;
	{&amp;quot;iwd&amp;quot;, &amp;quot;http://www.profightdb.com/wrestlers/$1.html&amp;quot;, &amp;quot;Internet Wrestling Database&amp;quot;, &amp;quot;P2829&amp;quot;}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
local alone = {&lt;br /&gt;
	{&amp;quot;http://www.cagematch.net/?id=2&amp;amp;nr=$1&amp;quot;, &amp;quot;profile at Cagematch.net&amp;quot;, &amp;quot;P2728&amp;quot;, nil},&lt;br /&gt;
	{&amp;quot;http://www.wrestling-titles.com/personalities/$1/&amp;quot;, &amp;quot;profile at Wrestling-Titles.com&amp;quot;, nil, &amp;quot;Wrestling Titles template with no id set&amp;quot;},&lt;br /&gt;
	{&amp;quot;http://www.rohwrestling.com/wrestlers/roster/$1&amp;quot;, &amp;quot;[[Ring of Honor]] profile&amp;quot;, nil, nil},&lt;br /&gt;
	{&amp;quot;http://www.njpw.co.jp/english/data/detail_profile.php?f=$1&amp;quot;, &amp;quot;[[New Japan Pro Wrestling]] profile&amp;quot;, nil, nil}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
local p = {}&lt;br /&gt;
local categories = {}&lt;br /&gt;
local entity = mw.wikibase.getEntityObject()&lt;br /&gt;
local yesno = require(&amp;#039;Module:Yesno&amp;#039;)&lt;br /&gt;
local getArgs = require(&amp;#039;Module:Arguments&amp;#039;).getArgs&lt;br /&gt;
&lt;br /&gt;
function getValue(param,wd)&lt;br /&gt;
	local para,wd = param,wd&lt;br /&gt;
	&lt;br /&gt;
	if para then&lt;br /&gt;
		value = para&lt;br /&gt;
	elseif entity then&lt;br /&gt;
		if entity.claims[wd] then&lt;br /&gt;
			local mainsnak = entity.claims[wd][1].mainsnak&lt;br /&gt;
		&lt;br /&gt;
			if mainsnak.snaktype == &amp;#039;value&amp;#039; then&lt;br /&gt;
				value = mainsnak.datavalue.value&lt;br /&gt;
			end&lt;br /&gt;
		end&lt;br /&gt;
	end&lt;br /&gt;
&lt;br /&gt;
return value or &amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
end&lt;br /&gt;
&lt;br /&gt;
function p._profiles(args)&lt;br /&gt;
	local title = mw.title.getCurrentTitle()&lt;br /&gt;
	local name = args.name or string.gsub(title.text, &amp;quot; %b()&amp;quot;, &amp;quot;&amp;quot;)&lt;br /&gt;
	local prefix = &amp;#039;&amp;#039;&lt;br /&gt;
	local text&lt;br /&gt;
	local letter = string.sub(name,-1)&lt;br /&gt;
	local out = {}&lt;br /&gt;
	&lt;br /&gt;
	for _,v in ipairs(data) do&lt;br /&gt;
		local param, link, title, wdid = unpack(v)&lt;br /&gt;
		--local param = args[v[1]]&lt;br /&gt;
		--local link = v[2]&lt;br /&gt;
		--local wdid = v[3]&lt;br /&gt;
		param = args[param]&lt;br /&gt;
		value = getValue(param,wdid)&lt;br /&gt;
&lt;br /&gt;
		if value ~=&amp;#039;&amp;#039; then&lt;br /&gt;
			out[#out+1] = &amp;quot;[&amp;quot; .. string.gsub(link, &amp;quot;$1&amp;quot;,value) .. &amp;#039; &amp;#039; .. title .. &amp;quot;]&amp;quot;&lt;br /&gt;
		end&lt;br /&gt;
&lt;br /&gt;
		value = &amp;#039;&amp;#039;&lt;br /&gt;
			&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if letter==&amp;#039;s&amp;#039; then&lt;br /&gt;
		text = name .. &amp;quot;&amp;#039;&amp;quot;&lt;br /&gt;
	else&lt;br /&gt;
		text = name .. &amp;quot;&amp;#039;s&amp;quot;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	if out[1] then&lt;br /&gt;
		prefix = text .. &amp;#039; profile at &amp;#039;&lt;br /&gt;
	end&lt;br /&gt;
	&lt;br /&gt;
	return prefix .. mw.text.listToText(out, &amp;#039;, &amp;#039;, &amp;#039;, &amp;#039; )&lt;br /&gt;
end	&lt;br /&gt;
&lt;br /&gt;
function p.profiles(frame)&lt;br /&gt;
	local args = getArgs(frame)&lt;br /&gt;
	return p._profiles(args)&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>